#5c8f1f ≈ Olive Drab
#5c8f1f 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, 56.08% green and 12.16% blue; printed in CMYK it uses 35.66% cyan, 0% magenta, 78.32% yellow and 43.92% black. Its hue angle is 87.32°, with 64.37% saturation and 34.12% 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.4: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.2202 |
Shades
#5c8f1f mixed progressively with black.
Tints
#5c8f1f mixed progressively with white.
Tones
#5c8f1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5c8f1f {
color: #5c8f1f;
}
.bg-5c8f1f {
background-color: #5c8f1f;
color: #000000;
}
.border-5c8f1f {
border: 2px solid #5c8f1f;
}
:root {
--color-primary: #5c8f1f;
--color-primary-rgb: 92 143 31;
--color-primary-hsl: 87 64% 34%;
}
.gradient-5c8f1f {
background: linear-gradient(135deg, #5c8f1f, #248f1f);
}
.shadow-5c8f1f {
box-shadow: 0 8px 24px rgb(92 143 31 / 0.35);
}
Olive Drab
#5c8f1f rgb(92, 143, 31) hsl(87, 64%, 34%) Olive Drab
#521f8f rgb(82, 31, 143) hsl(267, 64%, 34%) Indigo
#1f5c8f rgb(31, 92, 143) hsl(207, 64%, 34%) Lapis Lazuli
#8f1f5c rgb(143, 31, 92) hsl(327, 64%, 34%) Boysenberry