#978a3e ≈ Olive
#978a3e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 59.22% red, 54.12% green and 24.31% blue; printed in CMYK it uses 0% cyan, 8.61% magenta, 58.94% yellow and 40.78% black. Its hue angle is 51.24°, with 41.78% saturation and 41.76% 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.02:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.81.
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.251 |
Shades
#978a3e mixed progressively with black.
Tints
#978a3e mixed progressively with white.
Tones
#978a3e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-978a3e {
color: #978a3e;
}
.bg-978a3e {
background-color: #978a3e;
color: #000000;
}
.border-978a3e {
border: 2px solid #978a3e;
}
:root {
--color-primary: #978a3e;
--color-primary-rgb: 151 138 62;
--color-primary-hsl: 51 42% 42%;
}
.gradient-978a3e {
background: linear-gradient(135deg, #978a3e, #77973e);
}
.shadow-978a3e {
box-shadow: 0 8px 24px rgb(151 138 62 / 0.35);
}
Olive
#978a3e rgb(151, 138, 62) hsl(51, 42%, 42%) Olive
#3e4b97 rgb(62, 75, 151) hsl(231, 42%, 42%) Cobalt Blue
#3e978a rgb(62, 151, 138) hsl(171, 42%, 42%) Persian Green
#8a3e97 rgb(138, 62, 151) hsl(291, 42%, 42%) Deep Plum