#978a31 ≈ Olive
#978a31 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 59.22% red, 54.12% green and 19.22% blue; printed in CMYK it uses 0% cyan, 8.61% magenta, 67.55% yellow and 40.78% black. Its hue angle is 52.35°, with 51% saturation and 39.22% 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:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.67.
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.2498 |
Shades
#978a31 mixed progressively with black.
Tints
#978a31 mixed progressively with white.
Tones
#978a31 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-978a31 {
color: #978a31;
}
.bg-978a31 {
background-color: #978a31;
color: #000000;
}
.border-978a31 {
border: 2px solid #978a31;
}
:root {
--color-primary: #978a31;
--color-primary-rgb: 151 138 49;
--color-primary-hsl: 52 51% 39%;
}
.gradient-978a31 {
background: linear-gradient(135deg, #978a31, #719731);
}
.shadow-978a31 {
box-shadow: 0 8px 24px rgb(151 138 49 / 0.35);
}
Olive
#978a31 rgb(151, 138, 49) hsl(52, 51%, 39%) Olive
#313e97 rgb(49, 62, 151) hsl(232, 51%, 39%) Egyptian Blue
#31978a rgb(49, 151, 138) hsl(172, 51%, 39%) Persian Green
#8a3197 rgb(138, 49, 151) hsl(292, 51%, 39%) Dark Magenta