#8f8a2c ≈ Olive
#8f8a2c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 56.08% red, 54.12% green and 17.25% blue; printed in CMYK it uses 0% cyan, 3.5% magenta, 69.23% yellow and 43.92% black. Its hue angle is 56.97°, with 52.94% saturation and 36.67% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 5.84:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 4.96.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.242 |
Shades
#8f8a2c mixed progressively with black.
Tints
#8f8a2c mixed progressively with white.
Tones
#8f8a2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8f8a2c {
color: #8f8a2c;
}
.bg-8f8a2c {
background-color: #8f8a2c;
color: #000000;
}
.border-8f8a2c {
border: 2px solid #8f8a2c;
}
:root {
--color-primary: #8f8a2c;
--color-primary-rgb: 143 138 44;
--color-primary-hsl: 57 53% 37%;
}
.gradient-8f8a2c {
background: linear-gradient(135deg, #8f8a2c, #638f2c);
}
.shadow-8f8a2c {
box-shadow: 0 8px 24px rgb(143 138 44 / 0.35);
}
Olive
#8f8a2c rgb(143, 138, 44) hsl(57, 53%, 37%) Olive
#2c318f rgb(44, 49, 143) hsl(237, 53%, 37%) Smalt
#2c8f8a rgb(44, 143, 138) hsl(177, 53%, 37%) Dark Cyan
#8a2c8f rgb(138, 44, 143) hsl(297, 53%, 37%) Dark Magenta