Olive Drab Color Code (#6b8e23)

Olive Drab is #6b8e23 in hex and rgb(107, 142, 35) — a dark green. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Olive Drab
#6b8e23
CSS nameolivedrab
Hex#6b8e23
RGBrgb(107, 142, 35)
HSLhsl(80 60% 35%)
HWBhwb(80 14% 44%)
CMYK25%, 0%, 75%, 44%

Tints and shades

Color harmonies

About Olive Drab

Olive Drab (olivedrab) is a dark, vivid green with the hex code #6b8e23, or rgb(107, 142, 35). In HSL it sits at a hue of 80°, 60% saturation and 35% lightness. It is one of the 148 named colors every browser understands, so you can write color: olivedrab; instead of the hex value.

Using Olive Drab for text and backgrounds

PairingContrast ratioWCAG
Olive Drab text on white3.81 : 1AA large text only
Olive Drab text on black5.52 : 1AA

On a olive drab background, use black text (5.52 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: olivedrab;               /* or #6b8e23 */
  background-color: #6b8e23;
  border: 1px solid rgb(107 142 35 / 50%);
}

Similar named colors

Dark Olive Green (#556b2f), Olive (#808000), Forest Green (#228b22), Dim Gray (#696969), Yellow Green (#9acd32), Sea Green (#2e8b57).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for olive drab?
#6b8e23 — that is rgb(107, 142, 35) and hsl(80, 60%, 35%). In CSS you can also just write olivedrab.
Is olive drab text readable on white?
Its contrast ratio on white is 3.81 : 1, which passes only for large text (WCAG AA large).
What colors go well with olive drab?
Its complementary color is #47248f; analogous colors #8f7d24 and #368f24 sit next to it on the color wheel.