TintShelf
Interface

Olive Drab Color Code: Hex #6B8E23

The hex code for Olive Drab is #6B8E23 (the CSS keyword olivedrab). Olive Drab RGB code: rgb(107, 142, 35). The xkcd color survey gives #6F7632 instead, which looks clearly different; both codes are below with their source.

CSS Color 4#6B8E23Top: the code browsers use
xkcd color survey, meodai color-name-list#6F7632Below: compare edge to edge

Olive Drab color codes: each Olive Drab hex code in every format

HEX#6B8E23
RGBrgb(107, 142, 35)
HSLhsl(80, 60%, 35%)
OKLCHoklch(59.9% 0.137 126.3)
LABlab(54.8 -24.6 49.0)
CMYKcmyk(25%, 0%, 75%, 44%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
2 different ones in 3 color lists; they look clearly different
Family
green
Contrast
3.81:1 with white, 5.52:1 with black
CSS keyword
olivedrab
Character
mid-tone, moderately saturated
Readable text on it
black (AA)

It shares hue and saturation with yellow green in the X11 set and is the darker of the two, 35% lightness against 50%. Olive drab is recorded as a color name from 1892, while drab itself is a much older name from the middle of the 16th century; shades of it were used on United States Army uniforms in the Second World War.

A mid-tone, moderately saturated yellow-green with a warm cast. In code, olivedrab gives exactly this web value. If you mean the color as people usually picture the name, the survey value #6F7632 is closer: it is darker and more muted.

Black text reads best on it; white text works only for large headings. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Olive, its closest named neighbour, it looks about as light, more vivid and cooler; beside Forest Green it looks lighter, more muted and warmer.

Colors that go with Olive Drab

Complementary: the opposite of Olive Drab

Open in generator

  • #6B8E23Black text 5.52:1
  • #9568C0Black text 5.02:1
  • #ABC18CBlack text 10.74:1
  • #5A3D76White text 8.88:1

Analogous

Open in generator

  • #967F00Black text 5.33:1
  • #6B8E23Black text 5.52:1
  • #1A985DBlack text 5.69:1
  • #C1D2ABBlack text 13.07:1

Triadic

Open in generator

  • #6B8E23Black text 5.52:1
  • #2886CDBlack text 5.38:1
  • #C25873Black text 4.94:1
  • #D8E3CABlack text 15.76:1

Monochrome

Open in generator

  • #182404White text 16.24:1
  • #3F5611White text 8.23:1
  • #6B8E23Black text 5.52:1
  • #95B06CBlack text 8.70:1
  • #C1D2ABBlack text 13.07:1

With neutrals

Open in generator

  • #6B8E23Black text 5.52:1
  • #D8E3CABlack text 15.76:1
  • #080E01White text 19.56:1
  • #7A856ABlack text 5.39:1

How tints, shades and harmonies are calculated

Preview

Heading on Olive Drab

Body text on this color, 5.52:1.

Button

Heading in Olive Drab

Text in this color on white, 3.81:1.

Button

Tints and shades

  1. #D8E3CA
  2. #C1D2AB
  3. #ABC18C
  4. #95B06C
  5. #809F4B
  6. #6B8E23
  7. #55711A
  8. #3F5611
  9. #2B3C09
  10. #182404
  11. #080E01

WhiteOlive DrabBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.