#8a8a0c ≈ Olive
#8a8a0c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 54.12% green and 4.71% blue; printed in CMYK it uses 0% cyan, 0% magenta, 91.3% yellow and 45.88% black. Its hue angle is 60°, with 84% saturation and 29.41% 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. Black text on this color reaches a contrast ratio of 5.72:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 3.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2361 |
Shades
#8a8a0c mixed progressively with black.
Tints
#8a8a0c mixed progressively with white.
Tones
#8a8a0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a8a0c {
color: #8a8a0c;
}
.bg-8a8a0c {
background-color: #8a8a0c;
color: #000000;
}
.border-8a8a0c {
border: 2px solid #8a8a0c;
}
:root {
--color-primary: #8a8a0c;
--color-primary-rgb: 138 138 12;
--color-primary-hsl: 60 84% 29%;
}
.gradient-8a8a0c {
background: linear-gradient(135deg, #8a8a0c, #4b8a0c);
}
.shadow-8a8a0c {
box-shadow: 0 8px 24px rgb(138 138 12 / 0.35);
}
Olive
#8a8a0c rgb(138, 138, 12) hsl(60, 84%, 29%) Olive
#0c0c8a rgb(12, 12, 138) hsl(240, 84%, 29%) Phthalo Blue
#0c8a8a rgb(12, 138, 138) hsl(180, 84%, 29%) Dark Cyan
#8a0c8a rgb(138, 12, 138) hsl(300, 84%, 29%) Dark Magenta