#8a7a12 ≈ Olive
#8a7a12 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 47.84% green and 7.06% blue; printed in CMYK it uses 0% cyan, 11.59% magenta, 86.96% yellow and 45.88% black. Its hue angle is 52°, with 76.92% saturation and 30.59% 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 corporate identities. Black text on this color reaches a contrast ratio of 4.87:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.1.
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.1937 |
Shades
#8a7a12 mixed progressively with black.
Tints
#8a7a12 mixed progressively with white.
Tones
#8a7a12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a7a12 {
color: #8a7a12;
}
.bg-8a7a12 {
background-color: #8a7a12;
color: #000000;
}
.border-8a7a12 {
border: 2px solid #8a7a12;
}
:root {
--color-primary: #8a7a12;
--color-primary-rgb: 138 122 18;
--color-primary-hsl: 52 77% 31%;
}
.gradient-8a7a12 {
background: linear-gradient(135deg, #8a7a12, #5e8a12);
}
.shadow-8a7a12 {
box-shadow: 0 8px 24px rgb(138 122 18 / 0.35);
}
Olive
#8a7a12 rgb(138, 122, 18) hsl(52, 77%, 31%) Olive
#12228a rgb(18, 34, 138) hsl(232, 77%, 31%) Imperial Blue
#128a7a rgb(18, 138, 122) hsl(172, 77%, 31%) Viridian
#7a128a rgb(122, 18, 138) hsl(292, 77%, 31%) Purple