Olive Drab color — #6B8E23
Olive Drab is a CSS named color with the HEX code #6B8E23, RGB value rgb(107, 142, 35) and HSL value hsl(80, 60%, 35%).
Green
Olive Drab
#6B8E23
Color codes
- HEX
- #6B8E23
- RGB
- rgb(107, 142, 35)
- HSL
- hsl(80, 60%, 35%)
- HSV
- hsv(80, 75%, 56%)
- CMYK
- cmyk(25%, 0%, 75%, 44%)
- OKLCH
- oklch(59.95% 0.1374 126.32)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: olivedrab;
background-color: #6b8e23;
border-color: rgb(107, 142, 35);
outline-color: hsl(80, 60%, 35%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Olive Drab — On white3.80:1 · AA Large
Olive Drab — On black5.51:1 · AA