#8a7204 ≈ Olive
#8a7204 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 54.12% red, 44.71% green and 1.57% blue; printed in CMYK it uses 0% cyan, 17.39% magenta, 97.1% yellow and 45.88% black. Its hue angle is 49.25°, with 94.37% saturation and 27.84% 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 luxury branding. White text on this color reaches a contrast ratio of 4.68:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.42.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #996600 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1745 |
Shades
#8a7204 mixed progressively with black.
Tints
#8a7204 mixed progressively with white.
Tones
#8a7204 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a7204 {
color: #8a7204;
}
.bg-8a7204 {
background-color: #8a7204;
color: #ffffff;
}
.border-8a7204 {
border: 2px solid #8a7204;
}
:root {
--color-primary: #8a7204;
--color-primary-rgb: 138 114 4;
--color-primary-hsl: 49 94% 28%;
}
.gradient-8a7204 {
background: linear-gradient(135deg, #8a7204, #5f8a04);
}
.shadow-8a7204 {
box-shadow: 0 8px 24px rgb(138 114 4 / 0.35);
}
Olive
#8a7204 rgb(138, 114, 4) hsl(49, 94%, 28%) Olive
#041c8a rgb(4, 28, 138) hsl(229, 94%, 28%) Imperial Blue
#048a72 rgb(4, 138, 114) hsl(169, 94%, 28%) Viridian
#72048a rgb(114, 4, 138) hsl(289, 94%, 28%) Purple