Free tool · Color palettes · Runs in your browser

Color palette for olive green

No uploadRuns in your browserReviewed October 10, 2026

Short answer

Olive green is #808000: the CSS color named olive, defined by the W3C, written rgb(128, 128, 0) or hsl(60, 100%, 25%). Its complement is #000080; analogous colors are #804000 and #408000; a triad adds #008080 and #800080.

#808000 · rgb(128, 128, 0) · hsl(60, 100%, 25%) · contrast 4.20:1 on white, 5.01:1 on black

Complementary

Analogous

Triadic

Split complementary

Tetradic (rectangle)

Square

Tints (toward white)

Shades (toward black)

CSS variables for the analogous palette
:root {
  --color-1: #804000;
  --color-2: #808000;
  --color-3: #408000;
}

Nothing is uploaded. Click a color to copy its hex code.

Key takeaways

  • Olive green is #808000, rgb(128, 128, 0), hsl(60, 100%, 25%), CIELAB 51.9, -12.9, 56.7.
  • Contrast: 4.2:1 on white and 5.0:1 on black. Black text on olive green passes the WCAG AA minimum of 4.5:1.
  • Its complement is #000080; the analogous colors are #804000 and #408000; the triad is #808000, #008080, #800080.
  • 0 of the 9 tints and 9 of the 9 shades have at least 4.5:1 on a white background; the first shade that does is #737300.
  • Photographs rich in olive green gave #75602A, #5A4C20, #927925, #937C44, #BC9631, #433719; the nearest of their colors to #808000 was 6.6 CIEDE2000 units away.
  • For people with deuteranopia the closest pair in the triad is 16.1 apart, against 33.5 for typical vision.

Measured: a palette for olive green, from photographs

On white it has a contrast ratio of 4.2:1 (fails the WCAG AA minimum of 4.5:1 for normal text) and on black 5.0:1. A palette extracted from three photographs rich in olive green (66%, 38% and 34% of their pixels near the hue) came out as #75602A, #5A4C20, #927925, #937C44, #BC9631, #433719.

We searched Wikimedia Commons for olive green subjects and kept photographs under Creative Commons or public domain licenses. Of 12 candidates we kept the three with the largest share of pixels within 25 degrees of the hue of the color, with saturation of at least 30% and lightness between 12% and 55%. The tool's own palette code (k-means in CIELAB, no random numbers) found five colors in each photograph. The six colors in the table below come from only the pixels inside the color window, from the three photographs, so they are six shades and neighbors of olive green rather than the whole picture.

Six shades of olive green found in the three photographs, most common first.
ColorShareNearest CSS nameContrast on whiteContrast on black
#75602A22.7%near darkolivegreen6.06:13.46:1
#5A4C2020.7%near darkolivegreen8.44:12.49:1
#92792516.0%near olive4.21:14.98:1
#937C4414.8%near olive4.03:15.21:1
#BC963114.4%near darkgoldenrod2.78:17.55:1
#43371911.4%near saddlebrown11.67:11.80:1

Olive green appears here as near darkolivegreen, near darkolivegreen, near olive, near olive, near darkgoldenrod, near saddlebrown. The photo palette is a starting point: colors from a photograph are rarely pure, and the table shows how each performs as text on white and black.

Measured: the photographs

The photographs and the five colors found in each (percent of pixels).
PhotographPhotographer, licensePixels near the hueFive colors
Olive OrchardVincent van Gogh, Public domain66%#8E6C20 25%, #C79C34 24%, #594818 22%, #DCC16D 21%, #282213 8%
Francesco Lojacono Olive Grove, PalermoFrancesco Lojacono, Public domain38%#36372D 33%, #5D5230 30%, #897845 25%, #AF8E36 9%, #BFBEB5 3%
Olive Grove (c.1860), by Giovanni FattoriGiovanni Fattori, Public domain34%#78623A 31%, #9F7342 26%, #534028 18%, #DCBD8E 17%, #918336 8%

The photographs are credited with their Wikimedia Commons license. The extracted lists are the exact tool output.

Colors that go with olive green

Color harmonies built on #808000, with how well each can be told apart (CIEDE2000, higher is easier; about 1 is a just noticeable difference).
HarmonyColorsClosest pair, typical visionProtanopiaDeuteranopiaTritanopia
Complementary#808000, #00008076.665.368.536.1
Analogous#804000, #808000, #40800014.52.35.924.2
Triadic#808000, #008080, #80008033.528.016.129.1
Split complementary#808000, #004080, #40008019.98.26.023.9
Tetradic (rectangle)#808000, #008000, #000080, #80008018.63.17.929.1
Square#808000, #008040, #000080, #80004022.78.213.329.4

The complement, #000080, sits opposite #808000 on the color wheel (hue + 180 degrees); Wikipedia's color scheme article describes analogous schemes as neighbors on the wheel and a triadic scheme as colors 120 and 240 degrees apart. Under protanopia, deuteranopia and tritanopia the colors are simulated with the Machado model at full severity; a closest pair below about 10 is hard to tell apart.

Olive green in numbers

Olive green in the common color notations.
NotationValue
Hex#808000
RGBrgb(128, 128, 0)
HSLhsl(60.0, 100.0%, 25.1%)
CMYK (simple conversion)0%, 0%, 100%, 50%
CIELAB (D65)51.9, -12.9, 56.7
Nearest CSS color nameolive #808000 (exact)
Contrast on white4.20:1
Contrast on black5.01:1

Tints, shades and accessible text

Tints and shades of #808000 in 10% steps, with contrast on a white background.
StepTint (toward white)Contrast on whiteShade (toward black)Contrast on white
10%#8D8D1A3.53:1#7373005.02:1
20%#9999333.02:1#6666006.06:1
30%#A6A64D2.57:1#5A5A007.25:1
40%#B3B3662.20:1#4D4D008.83:1
50%#C0C0801.89:1#40400010.76:1
60%#CCCC991.66:1#33330013.01:1
70%#D9D9B31.45:1#26260015.45:1
80%#E6E6CC1.27:1#1A1A0017.62:1
90%#F2F2E61.13:1#0D0D0019.54:1

0 tints and 9 shades reach 4.5:1 against white. The WCAG success criterion 1.4.3 asks for at least 4.5:1 for normal text and 3:1 for large text; criterion 1.4.6 asks for 7:1 for the enhanced level.

Use it in CSS

:root { --olive-1: #75602a; --olive-2: #5a4c20; --olive-3: #927925; --olive-4: #937c44; --olive-5: #bc9631; --olive-6: #433719; }

The complement and analogous colors of #808000: #000080, #804000, #408000.

Free tools:Color palette generatorPalette from an imageImage to textCompress an image

Check the contrast before you use it for text

  • Olive green #808000 on white: 4.20:1; on black: 5.01:1.
  • The darkest shade in the table, #0D0D00, reaches 19.54:1 on white.
  • Large text (at least 18 point, or 14 point bold) needs 3:1; normal text needs 4.5:1; the enhanced level needs 7:1.
  • Do not use color as the only way to tell things apart: about 1 in 12 men have a color vision deficiency.

How the numbers were made

The hex value of olive green is the W3C CSS named color. Harmonies rotate the hue in HSL and keep saturation and lightness. Contrast follows the WCAG 2 definition with relative luminance. Color differences use CIEDE2000, which Wikipedia notes is designed so that a difference of 1.0 stands for a just noticeable difference. Color blindness is simulated with the matrices of Machado, Oliveira and Fernandes (2009) at severity 1.0. Palette extraction: pixels are grouped into 32 levels per channel and clustered with k-means in CIELAB; the same picture always gives the same palette. The accuracy test on pictures of known colors is on the palette generator page.

Questions people ask

What is the hex code for olive green?

Olive green is #808000 (the W3C CSS named color), rgb(128, 128, 0).

What color goes with olive green?

The complement of #808000 is #000080. Analogous colors are #804000 and #408000; a triad is #808000, #008080, #800080.

Is #808000 accessible for text?

On white it has 4.20:1 and on black 5.01:1. The WCAG AA minimum for normal text is 4.5:1, so black text on #808000 passes.

Can people with color blindness tell the olive green palette apart?

For the six colors of the photo palette, the closest pair is 5.1 apart for typical vision and 4.6 for deuteranopia (CIEDE2000; below about 10 is hard).

How was the palette made?

The tool found the dominant colors of the photographs with k-means clustering in CIELAB. It runs in your browser; you can do the same with your own picture on the palette from image page.

Can I use these colors commercially?

Colors themselves are not licensed. The photographs used to find them keep their Creative Commons licenses, shown in the table.

Can I get a palette from my own photo?

Yes. Use the palette from an image tool; nothing is uploaded.

How many colors should a palette have?

Many designs use five: one dominant, one or two supporting, one accent and a neutral. The tool lets you choose 3 to 10 when you extract from a picture.

What is the difference between tints and shades?

A tint mixes the color with white and a shade mixes it with black. The table shows nine of each in steps of 10%.

Related

Sources and how we checked

  1. W3C: CSS Color Module Level 4 (named colors) (read 2026-10-10)
  2. W3C: Understanding Success Criterion 1.4.3, Contrast (Minimum) (read 2026-10-10)
  3. W3C: Understanding Success Criterion 1.4.6, Contrast (Enhanced) (read 2026-10-10)
  4. Wikipedia: Color scheme (read 2026-10-10)
  5. Wikipedia: Color difference (CIEDE2000) (read 2026-10-10)
  6. Machado, Oliveira and Fernandes: A physiologically-based model for simulation of color vision deficiency (2009) (read 2026-10-10)
  7. Wikimedia Commons (the photographs, under the licenses shown) (read 2026-10-10)

Reviewed October 10, 2026. The palettes were found with the tool's own code from Creative Commons photographs; contrast, harmonies and color differences are computed. The files and results are in data/seo/hub/evidence/2026-10-10/palette.