#8a8d2f ≈ Olive
#8a8d2f is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 55.29% green and 18.43% blue; printed in CMYK it uses 2.13% cyan, 0% magenta, 66.67% yellow and 44.71% black. Its hue angle is 61.91°, with 50% saturation and 36.86% 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.93:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.55.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2466 |
Shades
#8a8d2f mixed progressively with black.
Tints
#8a8d2f mixed progressively with white.
Tones
#8a8d2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a8d2f {
color: #8a8d2f;
}
.bg-8a8d2f {
background-color: #8a8d2f;
color: #000000;
}
.border-8a8d2f {
border: 2px solid #8a8d2f;
}
:root {
--color-primary: #8a8d2f;
--color-primary-rgb: 138 141 47;
--color-primary-hsl: 62 50% 37%;
}
.gradient-8a8d2f {
background: linear-gradient(135deg, #8a8d2f, #5b8d2f);
}
.shadow-8a8d2f {
box-shadow: 0 8px 24px rgb(138 141 47 / 0.35);
}
Olive
#8a8d2f rgb(138, 141, 47) hsl(62, 50%, 37%) Olive
#322f8d rgb(50, 47, 141) hsl(242, 50%, 37%) Imperial Blue
#2f8a8d rgb(47, 138, 141) hsl(182, 50%, 37%) Dark Cyan
#8d2f8a rgb(141, 47, 138) hsl(302, 50%, 37%) Dark Magenta