#5a970d ≈ Olive Drab
#5a970d is a color from the yellow-green family, with low lightness and strong saturation. In the RGB model it is made of 35.29% red, 59.22% green and 5.1% blue; printed in CMYK it uses 40.4% cyan, 0% magenta, 91.39% yellow and 40.78% black. Its hue angle is 86.52°, with 84.15% saturation and 32.16% 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.87:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 4.6.
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.2434 |
Shades
#5a970d mixed progressively with black.
Tints
#5a970d mixed progressively with white.
Tones
#5a970d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a970d {
color: #5a970d;
}
.bg-5a970d {
background-color: #5a970d;
color: #000000;
}
.border-5a970d {
border: 2px solid #5a970d;
}
:root {
--color-primary: #5a970d;
--color-primary-rgb: 90 151 13;
--color-primary-hsl: 87 84% 32%;
}
.gradient-5a970d {
background: linear-gradient(135deg, #5a970d, #15970d);
}
.shadow-5a970d {
box-shadow: 0 8px 24px rgb(90 151 13 / 0.35);
}
Olive Drab
#5a970d rgb(90, 151, 13) hsl(87, 84%, 32%) Olive Drab
#4a0d97 rgb(74, 13, 151) hsl(267, 84%, 32%) Indigo
#0d5a97 rgb(13, 90, 151) hsl(207, 84%, 32%) Lapis Lazuli
#970d5a rgb(151, 13, 90) hsl(327, 84%, 32%) Jazzberry Jam