TintShelf
Interface

Olive Color Code: Hex #808000

The hex code for Olive is #808000 (the CSS keyword olive). Olive RGB code: rgb(128, 128, 0). The xkcd color survey gives #6E750E instead, which looks slightly different; both codes are below with their source.

CSS Color 4#808000Top: the code browsers use
xkcd color survey#6E750EBelow: compare edge to edge

Olive color codes: each Olive hex code in every format

HEX#808000
RGBrgb(128, 128, 0)
HSLhsl(60, 100%, 25%)
OKLCHoklch(58.1% 0.127 109.8)
LABlab(52.1 -9.4 56.0)
CMYKcmyk(0%, 0%, 100%, 50%)

Sources

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

Properties

Hex codes
3 different ones in 3 color lists; they look slightly different
Family
green
Contrast
4.20:1 with white, 5.01:1 with black
CSS keyword
olive
Character
mid-tone, moderately saturated
Readable text on it
black (AA)

It is a yellowish green like that of unripe, green olives.

A mid-tone, moderately saturated yellow with a warm cast. In code, olive gives exactly this web value. If you mean the color as people usually picture the name, the survey value #6E750E 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 Drab, its closest named neighbour, it looks about as light, more muted and warmer; beside Bronze it looks darker, about as saturated and cooler. It is one of the 16 original HTML 4 color names.

Colors that go with Olive

Complementary: the opposite of Olive

Open in generator

  • #808000Black text 5.01:1
  • #7A6CC0Black text 4.73:1
  • #B6B885Black text 10.18:1
  • #494076White text 9.22:1

Analogous

Open in generator

  • #A07100Black text 4.86:1
  • #808000Black text 5.01:1
  • #4F8C40Black text 5.16:1
  • #CACBA6Black text 12.60:1

Triadic

Open in generator

  • #808000Black text 5.01:1
  • #0086B1Black text 5.04:1
  • #B05885White text 4.58:1
  • #DDDFC7Black text 15.45:1

Monochrome

Open in generator

  • #1F1F00White text 16.74:1
  • #4D4D00White text 8.83:1
  • #808000Black text 5.01:1
  • #A4A563Black text 8.14:1
  • #CACBA6Black text 12.60:1

With neutrals

Open in generator

  • #808000Black text 5.01:1
  • #DDDFC7Black text 15.45:1
  • #0B0B00White text 19.77:1
  • #808167Black text 5.25:1

How tints, shades and harmonies are calculated

Preview

Heading on Olive

Body text on this color, 5.01:1.

Button

Heading in Olive

Text in this color on white, 4.20:1.

Button

Tints and shades

  1. #DDDFC7
  2. #CACBA6
  3. #B6B885
  4. #A4A563
  5. #92933E
  6. #808000
  7. #666600
  8. #4D4D00
  9. #353500
  10. #1F1F00
  11. #0B0B00

WhiteOliveBlack

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.