#7c8e12 ≈ Olive Drab
#7c8e12 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, 55.69% green and 7.06% blue; printed in CMYK it uses 12.68% cyan, 0% magenta, 87.32% yellow and 44.31% black. Its hue angle is 68.71°, with 77.5% saturation and 31.37% 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 corporate identities. Black text on this color reaches a contrast ratio of 5.73:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 4.83.
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.2367 |
Shades
#7c8e12 mixed progressively with black.
Tints
#7c8e12 mixed progressively with white.
Tones
#7c8e12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7c8e12 {
color: #7c8e12;
}
.bg-7c8e12 {
background-color: #7c8e12;
color: #000000;
}
.border-7c8e12 {
border: 2px solid #7c8e12;
}
:root {
--color-primary: #7c8e12;
--color-primary-rgb: 124 142 18;
--color-primary-hsl: 69 78% 31%;
}
.gradient-7c8e12 {
background: linear-gradient(135deg, #7c8e12, #3e8e12);
}
.shadow-7c8e12 {
box-shadow: 0 8px 24px rgb(124 142 18 / 0.35);
}
Olive Drab
#7c8e12 rgb(124, 142, 18) hsl(69, 78%, 31%) Olive Drab
#24128e rgb(36, 18, 142) hsl(249, 78%, 31%) Phthalo Blue
#127c8e rgb(18, 124, 142) hsl(189, 78%, 31%) Teal Blue
#8e127c rgb(142, 18, 124) hsl(309, 78%, 31%) Mardi Gras