#6D8A02

#6d8a02 ≈ Olive Drab

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

#6d8a02 is a color from the yellow-green family, with low lightness and strong saturation. In the RGB model it is made of 42.75% red, 54.12% green and 0.78% blue; printed in CMYK it uses 21.01% cyan, 0% magenta, 98.55% yellow and 45.88% black. Its hue angle is 72.79°, with 97.14% saturation and 27.45% 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 luxury branding. Black text on this color reaches a contrast ratio of 5.29:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 3.1.

Description generated from the measured properties of this color.

Conversions of #6d8a02 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.2143

Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #798465 ≈ 0.001% of males
Protanopia #938000 ≈ 1.01% of males
Deuteranopia #8f7f19 ≈ 1.27% of males
Tritanopia #738275 ≈ 0.0001% of males
Protanomaly #858400 ≈ 1.08% of males
Deuteranomaly #838412 ≈ 4.63% of males
Tritanomaly #71855c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6d8a02 {
  color: #6d8a02;
}
Background
.bg-6d8a02 {
  background-color: #6d8a02;
  color: #000000;
}
Border
.border-6d8a02 {
  border: 2px solid #6d8a02;
}
CSS variables
:root {
  --color-primary: #6d8a02;
  --color-primary-rgb: 109 138 2;
  --color-primary-hsl: 73 97% 27%;
}
Gradient
.gradient-6d8a02 {
  background: linear-gradient(135deg, #6d8a02, #298a02);
}
Colored shadow
.shadow-6d8a02 {
  box-shadow: 0 8px 24px rgb(109 138 2 / 0.35);
}

Olive Drab
#6d8a02  rgb(109, 138, 2)  hsl(73, 97%, 27%)  Olive Drab
#1f028a  rgb(31, 2, 138)  hsl(253, 97%, 27%)  Dark Blue
#026d8a  rgb(2, 109, 138)  hsl(193, 97%, 27%)  Teal Blue
#8a026d  rgb(138, 2, 109)  hsl(313, 97%, 27%)  Mardi Gras