#5c8a1a ≈ Olive Drab
#5c8a1a is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 36.08% red, 54.12% green and 10.2% blue; printed in CMYK it uses 33.33% cyan, 0% magenta, 81.16% yellow and 45.88% black. Its hue angle is 84.64°, with 68.29% saturation and 32.16% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and corporate identities. Black text on this color reaches a contrast ratio of 5.11:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 2.94.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #669933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2053 |
Shades
#5c8a1a mixed progressively with black.
Tints
#5c8a1a mixed progressively with white.
Tones
#5c8a1a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5c8a1a {
color: #5c8a1a;
}
.bg-5c8a1a {
background-color: #5c8a1a;
color: #000000;
}
.border-5c8a1a {
border: 2px solid #5c8a1a;
}
:root {
--color-primary: #5c8a1a;
--color-primary-rgb: 92 138 26;
--color-primary-hsl: 85 68% 32%;
}
.gradient-5c8a1a {
background: linear-gradient(135deg, #5c8a1a, #248a1a);
}
.shadow-5c8a1a {
box-shadow: 0 8px 24px rgb(92 138 26 / 0.35);
}
Olive Drab
#5c8a1a rgb(92, 138, 26) hsl(85, 68%, 32%) Olive Drab
#481a8a rgb(72, 26, 138) hsl(265, 68%, 32%) Indigo
#1a5c8a rgb(26, 92, 138) hsl(205, 68%, 32%) Lapis Lazuli
#8a1a5c rgb(138, 26, 92) hsl(325, 68%, 32%) Boysenberry