#5a9012 ≈ Olive Drab
#5a9012 is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 35.29% red, 56.47% green and 7.06% blue; printed in CMYK it uses 37.5% cyan, 0% magenta, 87.5% yellow and 43.53% black. Its hue angle is 85.71°, with 77.78% saturation and 31.76% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and corporate identities. Black text on this color reaches a contrast ratio of 5.43:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 3.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #669900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2216 |
Shades
#5a9012 mixed progressively with black.
Tints
#5a9012 mixed progressively with white.
Tones
#5a9012 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a9012 {
color: #5a9012;
}
.bg-5a9012 {
background-color: #5a9012;
color: #000000;
}
.border-5a9012 {
border: 2px solid #5a9012;
}
:root {
--color-primary: #5a9012;
--color-primary-rgb: 90 144 18;
--color-primary-hsl: 86 78% 32%;
}
.gradient-5a9012 {
background: linear-gradient(135deg, #5a9012, #1b9012);
}
.shadow-5a9012 {
box-shadow: 0 8px 24px rgb(90 144 18 / 0.35);
}
Olive Drab
#5a9012 rgb(90, 144, 18) hsl(86, 78%, 32%) Olive Drab
#481290 rgb(72, 18, 144) hsl(266, 78%, 32%) Indigo
#125a90 rgb(18, 90, 144) hsl(206, 78%, 32%) Lapis Lazuli
#90125a rgb(144, 18, 90) hsl(326, 78%, 32%) Jazzberry Jam