#8a7f38 ≈ Olive
#8a7f38 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.8% green and 21.96% blue; printed in CMYK it uses 0% cyan, 7.97% magenta, 59.42% yellow and 45.88% black. Its hue angle is 51.95°, with 42.27% saturation and 38.04% 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.17:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.47.
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.2087 |
Shades
#8a7f38 mixed progressively with black.
Tints
#8a7f38 mixed progressively with white.
Tones
#8a7f38 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a7f38 {
color: #8a7f38;
}
.bg-8a7f38 {
background-color: #8a7f38;
color: #000000;
}
.border-8a7f38 {
border: 2px solid #8a7f38;
}
:root {
--color-primary: #8a7f38;
--color-primary-rgb: 138 127 56;
--color-primary-hsl: 52 42% 38%;
}
.gradient-8a7f38 {
background: linear-gradient(135deg, #8a7f38, #6c8a38);
}
.shadow-8a7f38 {
box-shadow: 0 8px 24px rgb(138 127 56 / 0.35);
}
Olive
#8a7f38 rgb(138, 127, 56) hsl(52, 42%, 38%) Olive
#38438a rgb(56, 67, 138) hsl(232, 42%, 38%) Dark Slate Blue
#388a7f rgb(56, 138, 127) hsl(172, 42%, 38%) Dark Cyan
#7f388a rgb(127, 56, 138) hsl(292, 42%, 38%) Eminence