#8a8f2c ≈ Olive
#8a8f2c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 56.08% green and 17.25% blue; printed in CMYK it uses 3.5% cyan, 0% magenta, 69.23% yellow and 43.92% black. Its hue angle is 63.03°, 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 6.05:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.91.
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.2523 |
Shades
#8a8f2c mixed progressively with black.
Tints
#8a8f2c mixed progressively with white.
Tones
#8a8f2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a8f2c {
color: #8a8f2c;
}
.bg-8a8f2c {
background-color: #8a8f2c;
color: #000000;
}
.border-8a8f2c {
border: 2px solid #8a8f2c;
}
:root {
--color-primary: #8a8f2c;
--color-primary-rgb: 138 143 44;
--color-primary-hsl: 63 53% 37%;
}
.gradient-8a8f2c {
background: linear-gradient(135deg, #8a8f2c, #598f2c);
}
.shadow-8a8f2c {
box-shadow: 0 8px 24px rgb(138 143 44 / 0.35);
}
Olive
#8a8f2c rgb(138, 143, 44) hsl(63, 53%, 37%) Olive
#312c8f rgb(49, 44, 143) hsl(243, 53%, 37%) Imperial Blue
#2c8a8f rgb(44, 138, 143) hsl(183, 53%, 37%) Dark Cyan
#8f2c8a rgb(143, 44, 138) hsl(303, 53%, 37%) Dark Magenta