#6C8A4A

#6c8a4a ≈ Olive Drab

  • yellow-green
  • Lightness: medium
  • Saturation: moderate
  • Balanced

#6c8a4a is a color from the yellow-green family, with medium lightness and moderate saturation. In the RGB model it is made of 42.35% red, 54.12% green and 29.02% blue; printed in CMYK it uses 21.74% cyan, 0% magenta, 46.38% yellow and 45.88% black. Its hue angle is 88.13°, with 30.19% saturation and 41.57% 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.37:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 6.76.

Description generated from the measured properties of this color.

Conversions of #6c8a4a 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.2186

Readable text 3.91:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.37:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #79856f ≈ 0.001% of males
Protanopia #8f8245 ≈ 1.01% of males
Deuteranopia #8b804e ≈ 1.27% of males
Tritanopia #6e857b ≈ 0.0001% of males
Protanomaly #838547 ≈ 1.08% of males
Deuteranomaly #80844c ≈ 4.63% of males
Tritanomaly #6d876b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6c8a4a {
  color: #6c8a4a;
}
Background
.bg-6c8a4a {
  background-color: #6c8a4a;
  color: #000000;
}
Border
.border-6c8a4a {
  border: 2px solid #6c8a4a;
}
CSS variables
:root {
  --color-primary: #6c8a4a;
  --color-primary-rgb: 108 138 74;
  --color-primary-hsl: 88 30% 42%;
}
Gradient
.gradient-6c8a4a {
  background: linear-gradient(135deg, #6c8a4a, #4c8a4a);
}
Colored shadow
.shadow-6c8a4a {
  box-shadow: 0 8px 24px rgb(108 138 74 / 0.35);
}

Olive Drab
#6c8a4a  rgb(108, 138, 74)  hsl(88, 30%, 42%)  Olive Drab
#684a8a  rgb(104, 74, 138)  hsl(268, 30%, 42%)  Royal Purple
#4a6c8a  rgb(74, 108, 138)  hsl(208, 30%, 42%)  Queen Blue
#8a4a6c  rgb(138, 74, 108)  hsl(328, 30%, 42%)  Twilight Lavender