#7c8a2a ≈ Olive Drab
#7c8a2a is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 48.63% red, 54.12% green and 16.47% blue; printed in CMYK it uses 10.14% cyan, 0% magenta, 69.57% yellow and 45.88% black. Its hue angle is 68.75°, with 53.33% saturation and 35.29% lightness in HSL. It is a warm color, 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.53:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 4.67.
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.2263 |
Shades
#7c8a2a mixed progressively with black.
Tints
#7c8a2a mixed progressively with white.
Tones
#7c8a2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7c8a2a {
color: #7c8a2a;
}
.bg-7c8a2a {
background-color: #7c8a2a;
color: #000000;
}
.border-7c8a2a {
border: 2px solid #7c8a2a;
}
:root {
--color-primary: #7c8a2a;
--color-primary-rgb: 124 138 42;
--color-primary-hsl: 69 53% 35%;
}
.gradient-7c8a2a {
background: linear-gradient(135deg, #7c8a2a, #4c8a2a);
}
.shadow-7c8a2a {
box-shadow: 0 8px 24px rgb(124 138 42 / 0.35);
}
Olive Drab
#7c8a2a rgb(124, 138, 42) hsl(69, 53%, 35%) Olive Drab
#382a8a rgb(56, 42, 138) hsl(249, 53%, 35%) Imperial Blue
#2a7c8a rgb(42, 124, 138) hsl(189, 53%, 35%) Teal Blue
#8a2a7c rgb(138, 42, 124) hsl(309, 53%, 35%) Mardi Gras