Olive Drab Color
HEX #6B8E23 · rgb(107, 142, 35) · hsl(80, 60%, 35%)
Olive Drab color codes
Olive Drab is one of the named colors every browser understands. In CSS you can write it as olivedrab or #6B8E23.
| Format | Value | |
|---|---|---|
| HEX | #6B8E23 | |
| RGB | rgb(107, 142, 35) | |
| HSL | hsl(80, 60%, 35%) | |
| CMYK | 25%, 0%, 75%, 44% | |
| CSS name | olivedrab |
.example {
color: olivedrab;
background-color: #6B8E23;
border-color: rgb(107, 142, 35);
}
Colors that go with olive drab
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of olive drab
Tints mix the color with white; shades mix it with black.
Olive Drab
Contrast and readability
5.52:1
passes AA
3.81:1
large text only
Use black text on olive drab. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for olive drab?
The hex code for olive drab is #6B8E23.
What is the RGB value of olive drab?
Olive Drab is rgb(107, 142, 35): 107 red, 142 green and 35 blue on a 0 to 255 scale.
What color goes with olive drab?
Its complementary color is #46238E, which is closest to the named color dark slate blue. Analogous and triadic matches are listed on this page.
Should text on olive drab be black or white?
Use black text. The contrast ratio is 5.52:1 with black and 3.81:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.