#998f04 ≈ Olive
#998f04 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 60% red, 56.08% green and 1.57% blue; printed in CMYK it uses 0% cyan, 6.54% magenta, 97.39% yellow and 40% black. Its hue angle is 55.97°, with 94.9% saturation and 30.78% 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.29:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.87.
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.2643 |
Shades
#998f04 mixed progressively with black.
Tints
#998f04 mixed progressively with white.
Tones
#998f04 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-998f04 {
color: #998f04;
}
.bg-998f04 {
background-color: #998f04;
color: #000000;
}
.border-998f04 {
border: 2px solid #998f04;
}
:root {
--color-primary: #998f04;
--color-primary-rgb: 153 143 4;
--color-primary-hsl: 56 95% 31%;
}
.gradient-998f04 {
background: linear-gradient(135deg, #998f04, #589904);
}
.shadow-998f04 {
box-shadow: 0 8px 24px rgb(153 143 4 / 0.35);
}
Olive
#998f04 rgb(153, 143, 4) hsl(56, 95%, 31%) Olive
#040e99 rgb(4, 14, 153) hsl(236, 95%, 31%) Zaffre
#04998f rgb(4, 153, 143) hsl(176, 95%, 31%) Persian Green
#8f0499 rgb(143, 4, 153) hsl(296, 95%, 31%) Dark Magenta