Swatchproof

Olive drab #6B8E23

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

Try on walls Preview on a website

Colour codes

CSS keywordolivedrab
HEX#6B8E23
RGBrgb(107 142 35)
HSLhsl(80 60% 35%)
OKLCHoklch(59.9% 0.137 126.3)
White text3.81:1 · body text AA Fail
Black text5.52:1 · body text AA Pass

Colours that go with Olive drab

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

ColourHEXContrast with Olive drabBody text AA
Dark Tyrian Blue#12354E3.35:1Fail
Sulpher Yellow#F5ECC23.20:1Fail
Slate Color#34454C2.63:1Fail
Light Glaucous Blue#A5C8D12.13:1Fail
Vinaceous Cinnamon#EEA78C1.91:1Fail
Carmine Red#A62C371.82:1Fail
Coral Red#F58E841.65:1Fail
Antwarp Blue#0071901.47:1Fail
Indian Lake#C53C691.31:1Fail

Palettes with Oil Green

Shades and tints of Olive drab

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

:root {
  --olivedrab-100: #E8FFC9;
  --olivedrab-200: #CDF58E;
  --olivedrab-300: #B7DE77;
  --olivedrab-400: #9BC15A;
  --olivedrab-500: #7DA139;
  --olivedrab-600: #5D7F09;
  --olivedrab-700: #456000;
  --olivedrab-800: #2E4200;
  --olivedrab-900: #1A2700;
}

Text that keeps Olive drab on screen

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

Similar CSS colours