Free tool · Color palettes · Runs in your browser
Color palette for olive green
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.
| Color | Share | Nearest CSS name | Contrast on white | Contrast on black |
|---|---|---|---|---|
| #75602A | 22.7% | near darkolivegreen | 6.06:1 | 3.46:1 |
| #5A4C20 | 20.7% | near darkolivegreen | 8.44:1 | 2.49:1 |
| #927925 | 16.0% | near olive | 4.21:1 | 4.98:1 |
| #937C44 | 14.8% | near olive | 4.03:1 | 5.21:1 |
| #BC9631 | 14.4% | near darkgoldenrod | 2.78:1 | 7.55:1 |
| #433719 | 11.4% | near saddlebrown | 11.67:1 | 1.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
| Photograph | Photographer, license | Pixels near the hue | Five colors |
|---|---|---|---|
| Olive Orchard | Vincent van Gogh, Public domain | 66% | #8E6C20 25%, #C79C34 24%, #594818 22%, #DCC16D 21%, #282213 8% |
| Francesco Lojacono Olive Grove, Palermo | Francesco Lojacono, Public domain | 38% | #36372D 33%, #5D5230 30%, #897845 25%, #AF8E36 9%, #BFBEB5 3% |
| Olive Grove (c.1860), by Giovanni Fattori | Giovanni Fattori, Public domain | 34% | #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
| Harmony | Colors | Closest pair, typical vision | Protanopia | Deuteranopia | Tritanopia |
|---|---|---|---|---|---|
| Complementary | #808000, #000080 | 76.6 | 65.3 | 68.5 | 36.1 |
| Analogous | #804000, #808000, #408000 | 14.5 | 2.3 | 5.9 | 24.2 |
| Triadic | #808000, #008080, #800080 | 33.5 | 28.0 | 16.1 | 29.1 |
| Split complementary | #808000, #004080, #400080 | 19.9 | 8.2 | 6.0 | 23.9 |
| Tetradic (rectangle) | #808000, #008000, #000080, #800080 | 18.6 | 3.1 | 7.9 | 29.1 |
| Square | #808000, #008040, #000080, #800040 | 22.7 | 8.2 | 13.3 | 29.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
| Notation | Value |
|---|---|
| Hex | #808000 |
| RGB | rgb(128, 128, 0) |
| HSL | hsl(60.0, 100.0%, 25.1%) |
| CMYK (simple conversion) | 0%, 0%, 100%, 50% |
| CIELAB (D65) | 51.9, -12.9, 56.7 |
| Nearest CSS color name | olive #808000 (exact) |
| Contrast on white | 4.20:1 |
| Contrast on black | 5.01:1 |
Tints, shades and accessible text
| Step | Tint (toward white) | Contrast on white | Shade (toward black) | Contrast on white |
|---|---|---|---|---|
| 10% | #8D8D1A | 3.53:1 | #737300 | 5.02:1 |
| 20% | #999933 | 3.02:1 | #666600 | 6.06:1 |
| 30% | #A6A64D | 2.57:1 | #5A5A00 | 7.25:1 |
| 40% | #B3B366 | 2.20:1 | #4D4D00 | 8.83:1 |
| 50% | #C0C080 | 1.89:1 | #404000 | 10.76:1 |
| 60% | #CCCC99 | 1.66:1 | #333300 | 13.01:1 |
| 70% | #D9D9B3 | 1.45:1 | #262600 | 15.45:1 |
| 80% | #E6E6CC | 1.27:1 | #1A1A00 | 17.62:1 |
| 90% | #F2F2E6 | 1.13:1 | #0D0D00 | 19.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
- W3C: CSS Color Module Level 4 (named colors) (read 2026-10-10)
- W3C: Understanding Success Criterion 1.4.3, Contrast (Minimum) (read 2026-10-10)
- W3C: Understanding Success Criterion 1.4.6, Contrast (Enhanced) (read 2026-10-10)
- Wikipedia: Color scheme (read 2026-10-10)
- Wikipedia: Color difference (CIEDE2000) (read 2026-10-10)
- Machado, Oliveira and Fernandes: A physiologically-based model for simulation of color vision deficiency (2009) (read 2026-10-10)
- 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.