Olive #808000

Olive is a medium-dark, moderately saturated yellow with hex code #808000 and RGB rgb(128, 128, 0).

Aa

Black text reads best on this color (5.00:1).

About this color

#808000 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.127 and its hue 110°. Its hue sits on the warm side of the wheel. It is the named color Olive. Black text reads best on it, at 5.00:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.127)
Temperaturewarm
Nearest nameOlive
Black text5.00:1
White text4.19:1

Colors that go with Olive

Matches found by rotating Olive around the OKLCH hue wheel, each labelled with the closest name in our list.

Analogous

Neighbouring hues, 30° either side.

Open the analogous palette in the generator

Color palettes with Olive

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Olive, closest first.

Similar named colors

The eight named colors closest to Olive, with their ΔE distance.

More about Olive

How to make Olive

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 3 parts orange
  • 2 parts green
  • 1 part gray

Recipe result: #7B832F, a difference of ΔE 0.022 from Olive. That is very close: most people will not see the difference.

What colors make brown? | Color mixing chart

Codes for Olive in every format

HEX#808000
RGBrgb(128, 128, 0)
HSLhsl(60, 100%, 25%)
OKLCHoklch(58.1% 0.127 109.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #808000 4.19:1 AA large text Lc -74.2 Content text, not long reading
Black text on #808000 5.00:1 AA Lc 35.3 Non-text elements, placeholder text
#808000 text on white 4.19:1 AA large text Lc 68.8 Content text, not long reading
#808000 text on black 5.00:1 AA Lc -32.9 Non-text elements, placeholder text

Shades and tints of Olive

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EAEBDF

    oklch(93.6% 0.016 110.6)

  3. Step 200

    200

    #DADBC4

    oklch(88.4% 0.031 109)

  4. Step 300

    300

    #C2C49A

    oklch(80.8% 0.057 109.9)

  5. Step 400

    400

    #A4A661

    oklch(70.8% 0.091 110)

  6. Step 500

    500

    #8E8F30

    oklch(63.1% 0.116 109.9)

  7. Step 600

    600 (this color)

    #808000

    oklch(58.1% 0.127 109.8)

  8. Step 700

    700

    #656500

    oklch(49.1% 0.107 109.8)

  9. Step 800

    800

    #535300

    oklch(42.8% 0.093 109.8)

  10. Step 900

    900

    #44450A

    oklch(37.8% 0.076 110.6)

  11. Step 950

    950

    #282809

    oklch(26.9% 0.048 109.2)

Export this scale for Tailwind in the Tailwind colors tool

Olive with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#8B7A000.023
Deuteranopia (no green cones)#8D7D130.024
Tritanopia (no blue cones)#8A776C0.114
Achromatopsia (no color)#7C7C7C0.127

Use Olive in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.