#6a970c ≈ Olive Drab
#6a970c is a color from the yellow-green family, with low lightness and strong saturation. In the RGB model it is made of 41.57% red, 59.22% green and 4.71% blue; printed in CMYK it uses 29.8% cyan, 0% magenta, 92.05% yellow and 40.78% black. Its hue angle is 79.42°, with 85.28% saturation and 31.96% 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 6.04:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 3.64.
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.2522 |
Shades
#6a970c mixed progressively with black.
Tints
#6a970c mixed progressively with white.
Tones
#6a970c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6a970c {
color: #6a970c;
}
.bg-6a970c {
background-color: #6a970c;
color: #000000;
}
.border-6a970c {
border: 2px solid #6a970c;
}
:root {
--color-primary: #6a970c;
--color-primary-rgb: 106 151 12;
--color-primary-hsl: 79 85% 32%;
}
.gradient-6a970c {
background: linear-gradient(135deg, #6a970c, #25970c);
}
.shadow-6a970c {
box-shadow: 0 8px 24px rgb(106 151 12 / 0.35);
}
Olive Drab
#6a970c rgb(106, 151, 12) hsl(79, 85%, 32%) Olive Drab
#390c97 rgb(57, 12, 151) hsl(259, 85%, 32%) Zaffre
#0c6a97 rgb(12, 106, 151) hsl(199, 85%, 32%) Sea Blue
#970c6a rgb(151, 12, 106) hsl(319, 85%, 32%) Jazzberry Jam