#7C8E12

#7c8e12 ≈ Olive Drab

  • yellow-green
  • Lightness: low
  • Saturation: moderate
  • Warm

#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.

Conversions of #7c8e12 into other color spaces
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 luminance0.2367

Readable text 3.66:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #82896a ≈ 0.001% of males
Protanopia #988500 ≈ 1.01% of males
Deuteranopia #968621 ≈ 1.27% of males
Tritanopia #848679 ≈ 0.0001% of males
Protanomaly #8e8900 ≈ 1.08% of males
Deuteranomaly #8c891c ≈ 4.63% of males
Tritanomaly #818960 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7c8e12 {
  color: #7c8e12;
}
Background
.bg-7c8e12 {
  background-color: #7c8e12;
  color: #000000;
}
Border
.border-7c8e12 {
  border: 2px solid #7c8e12;
}
CSS variables
:root {
  --color-primary: #7c8e12;
  --color-primary-rgb: 124 142 18;
  --color-primary-hsl: 69 78% 31%;
}
Gradient
.gradient-7c8e12 {
  background: linear-gradient(135deg, #7c8e12, #3e8e12);
}
Colored shadow
.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