#9e8a2f ≈ Olive
#9e8a2f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 61.96% red, 54.12% green and 18.43% blue; printed in CMYK it uses 0% cyan, 12.66% magenta, 70.25% yellow and 38.04% black. Its hue angle is 49.19°, with 54.15% saturation and 40.2% 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.13:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.3.
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.2565 |
Shades
#9e8a2f mixed progressively with black.
Tints
#9e8a2f mixed progressively with white.
Tones
#9e8a2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9e8a2f {
color: #9e8a2f;
}
.bg-9e8a2f {
background-color: #9e8a2f;
color: #000000;
}
.border-9e8a2f {
border: 2px solid #9e8a2f;
}
:root {
--color-primary: #9e8a2f;
--color-primary-rgb: 158 138 47;
--color-primary-hsl: 49 54% 40%;
}
.gradient-9e8a2f {
background: linear-gradient(135deg, #9e8a2f, #7b9e2f);
}
.shadow-9e8a2f {
box-shadow: 0 8px 24px rgb(158 138 47 / 0.35);
}
Olive
#9e8a2f rgb(158, 138, 47) hsl(49, 54%, 40%) Olive
#2f439e rgb(47, 67, 158) hsl(229, 54%, 40%) Cobalt Blue
#2f9e8a rgb(47, 158, 138) hsl(169, 54%, 40%) Persian Green
#8a2f9e rgb(138, 47, 158) hsl(289, 54%, 40%) Dark Magenta