Swatchproof

Olive #808000

Olive is one of the named colours in CSS, written olive. Black text reaches 5.01:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordolive
HEX#808000
RGBrgb(128 128 0)
HSLhsl(60 100% 25%)
OKLCHoklch(58.1% 0.127 109.8)
White text4.20:1 · body text AA Fail
Black text5.01:1 · body text AA Pass

Colours that go with Olive

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Olive (#837E31), close. These are the colours Wada paired it with, ranked by their contrast with Olive itself.

ColourHEXContrast with OliveBody text AA
Dull Violet Black#1E0E3F4.21:1Fail
Sulpher Yellow#F5ECC23.53:1Fail
Deep Slate Olive#2531223.25:1Fail
Seashell Pink#FDD4BD3.06:1Fail
Yellow Green#AFD4722.49:1Fail
Corinthian Pink#F8B6BA2.48:1Fail
Cobalt Green#96D1AA2.40:1Fail
Pinkish Cinnamon#EEB4802.29:1Fail
Pale Burnt Lake#8026262.25:1Fail
Yellow Ocher#E2B5402.18:1Fail
Laelia Pink#CA92A81.64:1Fail
Grenadine Pink#F480671.62:1Fail
Spinel Red#F272911.52:1Fail
Antwarp Blue#0071901.33:1Fail
Rosolanc Purple#B73F741.26:1Fail

Palettes with Olive

Shades and tints of Olive

Nine lightness steps in OKLCH that keep the hue of Olive. Chroma is reduced only where sRGB cannot show it.

:root {
  --olive-100: #FAFD95;
  --olive-200: #EAEC85;
  --olive-300: #D3D56E;
  --olive-400: #B6B850;
  --olive-500: #98982D;
  --olive-600: #777700;
  --olive-700: #595900;
  --olive-800: #3D3D00;
  --olive-900: #242400;
}

Text that keeps Olive on screen

Text #000000 on #808000 reaches 5.01:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours