#978d2f ≈ Olive
#978d2f is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 59.22% red, 55.29% green and 18.43% blue; printed in CMYK it uses 0% cyan, 6.62% magenta, 68.87% yellow and 40.78% black. Its hue angle is 54.23°, with 52.53% saturation and 38.82% 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.17:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.6.
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.2583 |
Shades
#978d2f mixed progressively with black.
Tints
#978d2f mixed progressively with white.
Tones
#978d2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-978d2f {
color: #978d2f;
}
.bg-978d2f {
background-color: #978d2f;
color: #000000;
}
.border-978d2f {
border: 2px solid #978d2f;
}
:root {
--color-primary: #978d2f;
--color-primary-rgb: 151 141 47;
--color-primary-hsl: 54 53% 39%;
}
.gradient-978d2f {
background: linear-gradient(135deg, #978d2f, #6d972f);
}
.shadow-978d2f {
box-shadow: 0 8px 24px rgb(151 141 47 / 0.35);
}
Olive
#978d2f rgb(151, 141, 47) hsl(54, 53%, 39%) Olive
#2f3997 rgb(47, 57, 151) hsl(234, 53%, 39%) Egyptian Blue
#2f978d rgb(47, 151, 141) hsl(174, 53%, 39%) Persian Green
#8d2f97 rgb(141, 47, 151) hsl(294, 53%, 39%) Dark Magenta