#6c8a2a ≈ Olive Drab
#6c8a2a is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 42.35% red, 54.12% green and 16.47% blue; printed in CMYK it uses 21.74% cyan, 0% magenta, 69.57% yellow and 45.88% black. Its hue angle is 78.75°, with 53.33% saturation and 35.29% 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 brand accents. Black text on this color reaches a contrast ratio of 5.31:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 1.77.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #669933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2153 |
Shades
#6c8a2a mixed progressively with black.
Tints
#6c8a2a mixed progressively with white.
Tones
#6c8a2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6c8a2a {
color: #6c8a2a;
}
.bg-6c8a2a {
background-color: #6c8a2a;
color: #000000;
}
.border-6c8a2a {
border: 2px solid #6c8a2a;
}
:root {
--color-primary: #6c8a2a;
--color-primary-rgb: 108 138 42;
--color-primary-hsl: 79 53% 35%;
}
.gradient-6c8a2a {
background: linear-gradient(135deg, #6c8a2a, #3c8a2a);
}
.shadow-6c8a2a {
box-shadow: 0 8px 24px rgb(108 138 42 / 0.35);
}
Olive Drab
#6c8a2a rgb(108, 138, 42) hsl(79, 53%, 35%) Olive Drab
#482a8a rgb(72, 42, 138) hsl(259, 53%, 35%) Dark Slate Blue
#2a6c8a rgb(42, 108, 138) hsl(199, 53%, 35%) Sea Blue
#8a2a6c rgb(138, 42, 108) hsl(319, 53%, 35%) Boysenberry