#9f8d1a ≈ Olive
#9f8d1a is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 62.35% red, 55.29% green and 10.2% blue; printed in CMYK it uses 0% cyan, 11.32% magenta, 83.65% yellow and 37.65% black. Its hue angle is 51.88°, with 71.89% saturation and 36.27% 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.3:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.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.265 |
Shades
#9f8d1a mixed progressively with black.
Tints
#9f8d1a mixed progressively with white.
Tones
#9f8d1a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9f8d1a {
color: #9f8d1a;
}
.bg-9f8d1a {
background-color: #9f8d1a;
color: #000000;
}
.border-9f8d1a {
border: 2px solid #9f8d1a;
}
:root {
--color-primary: #9f8d1a;
--color-primary-rgb: 159 141 26;
--color-primary-hsl: 52 72% 36%;
}
.gradient-9f8d1a {
background: linear-gradient(135deg, #9f8d1a, #6e9f1a);
}
.shadow-9f8d1a {
box-shadow: 0 8px 24px rgb(159 141 26 / 0.35);
}
Olive
#9f8d1a rgb(159, 141, 26) hsl(52, 72%, 36%) Olive
#1a2c9f rgb(26, 44, 159) hsl(232, 72%, 36%) Egyptian Blue
#1a9f8d rgb(26, 159, 141) hsl(172, 72%, 36%) Persian Green
#8d1a9f rgb(141, 26, 159) hsl(292, 72%, 36%) Dark Magenta