#6C8A2B

#6c8a2b ≈ Olive Drab

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

#6c8a2b is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 42.35% red, 54.12% green and 16.86% blue; printed in CMYK it uses 21.74% cyan, 0% magenta, 68.84% yellow and 45.88% black. Its hue angle is 78.95°, with 52.49% saturation and 35.49% 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.31:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 1.84.

Description generated from the measured properties of this color.

Conversions of #6c8a2b 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.2154

Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.31:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #788468 ≈ 0.001% of males
Protanopia #92811d ≈ 1.01% of males
Deuteranopia #8d8033 ≈ 1.27% of males
Tritanopia #718377 ≈ 0.0001% of males
Protanomaly #848524 ≈ 1.08% of males
Deuteranomaly #818430 ≈ 4.63% of males
Tritanomaly #6f8661 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6c8a2b {
  color: #6c8a2b;
}
Background
.bg-6c8a2b {
  background-color: #6c8a2b;
  color: #000000;
}
Border
.border-6c8a2b {
  border: 2px solid #6c8a2b;
}
CSS variables
:root {
  --color-primary: #6c8a2b;
  --color-primary-rgb: 108 138 43;
  --color-primary-hsl: 79 52% 35%;
}
Gradient
.gradient-6c8a2b {
  background: linear-gradient(135deg, #6c8a2b, #3c8a2b);
}
Colored shadow
.shadow-6c8a2b {
  box-shadow: 0 8px 24px rgb(108 138 43 / 0.35);
}

Olive Drab
#6c8a2b  rgb(108, 138, 43)  hsl(79, 52%, 35%)  Olive Drab
#492b8a  rgb(73, 43, 138)  hsl(259, 52%, 35%)  Dark Slate Blue
#2b6c8a  rgb(43, 108, 138)  hsl(199, 52%, 35%)  Sea Blue
#8a2b6c  rgb(138, 43, 108)  hsl(319, 52%, 35%)  Boysenberry