Olive — #808000

Olive is #808000 — rgb(128, 128, 0), hsl(60, 100%, 25.1%). Copy the HEX, RGB, HSL and OKLCH values, with shades and contrast ratios.

Contrast vs white
4.2:1
Contrast vs black
5.01:1

About olive

A dark yellow-green the colour of unripe olives. In the sRGB gamut it is simply red and green at half strength with no blue, which is why it looks muddy on screen.

The values above are computed from the sRGB hex #808000. The OKLCH form (oklch(58.1% 0.1266 109.77)) is worth noting: unlike HSL, its lightness matches how bright the colour actually looks, which makes building consistent shade scales far easier. To tweak this colour or convert one of your own, open the full colour converter, and check readable text pairings with the contrast figures shown above.

Accessibility note: text needs a contrast ratio of at least 4.5:1 for normal body copy under WCAG AA. Against white this colour scores 4.2:1 and against black 5.01:1 — use whichever clears the bar for the text you place on it.