#9c8a0f ≈ Olive
#9c8a0f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 61.18% red, 54.12% green and 5.88% blue; printed in CMYK it uses 0% cyan, 11.54% magenta, 90.38% yellow and 38.82% black. Its hue angle is 52.34°, with 82.46% saturation and 33.53% 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 corporate identities. Black text on this color reaches a contrast ratio of 6.06:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2528 |
Shades
#9c8a0f mixed progressively with black.
Tints
#9c8a0f mixed progressively with white.
Tones
#9c8a0f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9c8a0f {
color: #9c8a0f;
}
.bg-9c8a0f {
background-color: #9c8a0f;
color: #000000;
}
.border-9c8a0f {
border: 2px solid #9c8a0f;
}
:root {
--color-primary: #9c8a0f;
--color-primary-rgb: 156 138 15;
--color-primary-hsl: 52 82% 34%;
}
.gradient-9c8a0f {
background: linear-gradient(135deg, #9c8a0f, #689c0f);
}
.shadow-9c8a0f {
box-shadow: 0 8px 24px rgb(156 138 15 / 0.35);
}
Olive
#9c8a0f rgb(156, 138, 15) hsl(52, 82%, 34%) Olive
#0f219c rgb(15, 33, 156) hsl(232, 82%, 34%) Imperial Blue
#0f9c8a rgb(15, 156, 138) hsl(172, 82%, 34%) Persian Green
#8a0f9c rgb(138, 15, 156) hsl(292, 82%, 34%) Dark Magenta