#877e2f ≈ Olive
#877e2f is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 52.94% red, 49.41% green and 18.43% blue; printed in CMYK it uses 0% cyan, 6.67% magenta, 65.19% yellow and 47.06% black. Its hue angle is 53.86°, with 48.35% saturation and 35.69% 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.06:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 4.98.
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.2028 |
Shades
#877e2f mixed progressively with black.
Tints
#877e2f mixed progressively with white.
Tones
#877e2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-877e2f {
color: #877e2f;
}
.bg-877e2f {
background-color: #877e2f;
color: #000000;
}
.border-877e2f {
border: 2px solid #877e2f;
}
:root {
--color-primary: #877e2f;
--color-primary-rgb: 135 126 47;
--color-primary-hsl: 54 48% 36%;
}
.gradient-877e2f {
background: linear-gradient(135deg, #877e2f, #64872f);
}
.shadow-877e2f {
box-shadow: 0 8px 24px rgb(135 126 47 / 0.35);
}
Olive
#877e2f rgb(135, 126, 47) hsl(54, 48%, 36%) Olive
#2f3887 rgb(47, 56, 135) hsl(234, 48%, 36%) Smalt
#2f877e rgb(47, 135, 126) hsl(174, 48%, 36%) Dark Cyan
#7e2f87 rgb(126, 47, 135) hsl(294, 48%, 36%) Eminence