#668a31 ≈ Olive Drab
#668a31 is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 40% red, 54.12% green and 19.22% blue; printed in CMYK it uses 26.09% cyan, 0% magenta, 64.49% yellow and 45.88% black. Its hue angle is 84.27°, with 47.59% saturation and 36.67% 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.24:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 2.9.
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.2122 |
Shades
#668a31 mixed progressively with black.
Tints
#668a31 mixed progressively with white.
Tones
#668a31 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-668a31 {
color: #668a31;
}
.bg-668a31 {
background-color: #668a31;
color: #000000;
}
.border-668a31 {
border: 2px solid #668a31;
}
:root {
--color-primary: #668a31;
--color-primary-rgb: 102 138 49;
--color-primary-hsl: 84 48% 37%;
}
.gradient-668a31 {
background: linear-gradient(135deg, #668a31, #3a8a31);
}
.shadow-668a31 {
box-shadow: 0 8px 24px rgb(102 138 49 / 0.35);
}
Olive Drab
#668a31 rgb(102, 138, 49) hsl(84, 48%, 37%) Olive Drab
#55318a rgb(85, 49, 138) hsl(264, 48%, 37%) Rebecca Purple
#31668a rgb(49, 102, 138) hsl(204, 48%, 37%) Sea Blue
#8a3166 rgb(138, 49, 102) hsl(324, 48%, 37%) Boysenberry