#8a7e2b ≈ Olive
#8a7e2b is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 49.41% green and 16.86% blue; printed in CMYK it uses 0% cyan, 8.7% magenta, 68.84% yellow and 45.88% black. Its hue angle is 52.42°, with 52.49% saturation and 35.49% 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.1:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.05.
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.205 |
Shades
#8a7e2b mixed progressively with black.
Tints
#8a7e2b mixed progressively with white.
Tones
#8a7e2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a7e2b {
color: #8a7e2b;
}
.bg-8a7e2b {
background-color: #8a7e2b;
color: #000000;
}
.border-8a7e2b {
border: 2px solid #8a7e2b;
}
:root {
--color-primary: #8a7e2b;
--color-primary-rgb: 138 126 43;
--color-primary-hsl: 52 52% 35%;
}
.gradient-8a7e2b {
background: linear-gradient(135deg, #8a7e2b, #678a2b);
}
.shadow-8a7e2b {
box-shadow: 0 8px 24px rgb(138 126 43 / 0.35);
}
Olive
#8a7e2b rgb(138, 126, 43) hsl(52, 52%, 35%) Olive
#2b378a rgb(43, 55, 138) hsl(232, 52%, 35%) Smalt
#2b8a7e rgb(43, 138, 126) hsl(172, 52%, 35%) Dark Cyan
#7e2b8a rgb(126, 43, 138) hsl(292, 52%, 35%) Eminence