#7C8A2A

#7c8a2a ≈ Olive Drab

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

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

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

Readable text 3.8:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #80866a ≈ 0.001% of males
Protanopia #93831c ≈ 1.01% of males
Deuteranopia #928331 ≈ 1.27% of males
Tritanopia #848277 ≈ 0.0001% of males
Protanomaly #8b8622 ≈ 1.08% of males
Deuteranomaly #8a862e ≈ 4.63% of males
Tritanomaly #818561 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7c8a2a {
  color: #7c8a2a;
}
Background
.bg-7c8a2a {
  background-color: #7c8a2a;
  color: #000000;
}
Border
.border-7c8a2a {
  border: 2px solid #7c8a2a;
}
CSS variables
:root {
  --color-primary: #7c8a2a;
  --color-primary-rgb: 124 138 42;
  --color-primary-hsl: 69 53% 35%;
}
Gradient
.gradient-7c8a2a {
  background: linear-gradient(135deg, #7c8a2a, #4c8a2a);
}
Colored shadow
.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