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.

FormatValue
HEX#6B8E23
RGBrgb(107, 142, 35)
HSLhsl(80, 60%, 35%)
CMYK25%, 0%, 75%, 44%
CSS nameolivedrab
.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.

#46238EComplementary
#8E7C23Analogous
#358E23Analogous
#236B8ETriadic
#8E236BTriadic

Tints and shades of olive drab

Tints mix the color with white; shades mix it with black.

#F0F4E990% white
#DAE3C875% white
#C4D2A760% white
#AEC18645% white
#97B06530% white
#819F4415% white
#6B8E23Base
Olive Drab
#5B791E15% black
#4B631930% black
#3B4E1345% black
#2B390E60% black
#1B240975% black
#0B0E0490% black

Contrast and readability

Black text
5.52:1
passes AA
White text
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.