Olive

Olive is #808000. As text it scores 4.19:1 on white and 5.00:1 on black, so it is usable for body copy on black.

808000

Conversion

The same colour in each notation. OKLCH is the one to reach for when you intend to modify it, because its lightness axis is perceptually uniform and its three components are genuinely independent.

HEX
#808000
RGB
rgb(128 128 0)
OKLCH
oklch(58.1% 0.127 109.8)

Contrast and accessibility

What this colour passes as text, and — where it fails — the nearest colour that would pass while holding the same hue.

Body text at 16px

On white4.19:1

Large text and UI only

Use #7a7a00 instead

Body text at 16px

On black5.00:1

AA for body text

APCA scores it Lc 69 as 16px regular text on white. That is below the threshold for body copy at that size, even where the WCAG ratio passes.

Using Olive

In OKLCH terms this is a green at 58% lightness and 0.13 chroma. Lightness is what decides every verdict below, which is why a colour can be perfect as a fill and unusable as the text on top of it.

  • Body text on white4.19:1 is under the 4.5:1 minimum.no
  • Body text on black5.00:1 clears the 4.5:1 minimum.yes
  • Large text or headingsLarge text needs only 3:1, and this reaches 5.00:1 against black.yes
  • Borders, icons and controlsClears the 3:1 that WCAG 1.4.11 asks of anything needed to identify a control.yes
  • A background for white textWhite on this colour is 4.19:1.no

None of this makes a design accessible on its own. Contrast is one success criterion among many, and WCAG 1.4.1 separately requires that colour is never the only way information is conveyed — so if Olive is carrying meaning here, give it a label or an icon as well.

Closest named colours

Ranked by CIEDE2000 perceptual distance, not by hex proximity. Two hex codes can look almost identical and sit far apart numerically, and the reverse.

Tints and shades

The same hue at eleven lightness steps, spaced evenly in OKLCH so they look evenly spaced. This is the family you would build a design system from.

Colour harmonies

Hue rotations around Olive, computed in OKLCH so every colour in a set holds the same perceived lightness — which is what a harmony is supposed to mean and what the same rotation in HSL fails to deliver.

Analogous

Complementary

Triadic

Split complementary

Colour vision

How Olive appears under each simulated deficiency, using the Machado model applied to linear RGB.

Typical vision
Deuteranomaly
Deuteranopia
Protanomaly
Protanopia
Tritanomaly
Tritanopia
Achromatomaly
Achromatopsia

Open Olive in the contrast checker, the ramp generator, or the palette generator.