Olive

olive is a CSS color keyword. The closest Tailwind step is lime-700 (#4d7c0f).

#808000rgb(128, 128, 0)
Hex
#808000
RGB
128, 128, 0
HSL
60°, 100%, 25%
OKLCH
58.1% 0.127 109.8
LAB
51.9 -12.9 56.7

Open #808000 in the explorer

Text contrast

Black or white text on #808000. AA needs 4.5:1 and AAA needs 7:1. APCA Lc is a separate readability score.

Black text5.0:1 AAAPCA Lc 38
White text4.2:1 FailAPCA Lc -71

Color vision

How #808000 looks in simulations of color blindness, at full severity.

Full color
#808000
Protanopia
#8b7a00
Deuteranopia
#8d7d13
Tritanopia
#8a776c

Tonal scale

An OKLCH ramp that keeps this hue. The marked step is the closest lightness to olive.

Copy into CSS

color: olive;
background: #808000;
@theme {
  --color-olive-50: #fafd95;
  --color-olive-100: #edef88;
  --color-olive-200: #d6d871;
  --color-olive-300: #babb54;
  --color-olive-400: #9e9e34;
  --color-olive-500: #808000;
  --color-olive-600: #656500;
  --color-olive-700: #4e4e00;
  --color-olive-800: #383800;
  --color-olive-900: #242400;
  --color-olive-950: #0e0e00;
}