#987e1c ≈ Olive
#987e1c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 59.61% red, 49.41% green and 10.98% blue; printed in CMYK it uses 0% cyan, 17.11% magenta, 81.58% yellow and 40.39% black. Its hue angle is 47.42°, with 68.89% saturation and 35.29% 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 5.34:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.33.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #996633 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2168 |
Shades
#987e1c mixed progressively with black.
Tints
#987e1c mixed progressively with white.
Tones
#987e1c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-987e1c {
color: #987e1c;
}
.bg-987e1c {
background-color: #987e1c;
color: #000000;
}
.border-987e1c {
border: 2px solid #987e1c;
}
:root {
--color-primary: #987e1c;
--color-primary-rgb: 152 126 28;
--color-primary-hsl: 47 69% 35%;
}
.gradient-987e1c {
background: linear-gradient(135deg, #987e1c, #74981c);
}
.shadow-987e1c {
box-shadow: 0 8px 24px rgb(152 126 28 / 0.35);
}
Olive
#987e1c rgb(152, 126, 28) hsl(47, 69%, 35%) Olive
#1c3698 rgb(28, 54, 152) hsl(227, 69%, 35%) Smalt
#1c987e rgb(28, 152, 126) hsl(167, 69%, 35%) Persian Green
#7e1c98 rgb(126, 28, 152) hsl(287, 69%, 35%) Dark Magenta