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 family | Yellows |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.127) |
| Temperature | warm |
| Nearest name | Olive |
| Black text | 5.00:1 |
| White text | 4.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.
Complementary
The opposite hue (180°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
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.
- Swamp Green #748500 ΔE 0.022
- Khaki Green #728639 ΔE 0.033
- Murky Green #6C7A0E ΔE 0.036
- Hazel #8E7618 ΔE 0.038
- Swamp #698339 ΔE 0.039
- Olive Green #677A04 ΔE 0.043
- Drab #828344 ΔE 0.044
- Olive Drab #6B8E23 ΔE 0.044
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.
Codes for Olive in every format
| HEX | #808000 |
| RGB | rgb(128, 128, 0) |
| HSL | hsl(60, 100%, 25%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F6F6F0
oklch(97.1% 0.008 106.5)
-
Step 100
100
#EAEBDF
oklch(93.6% 0.016 110.6)
-
Step 200
200
#DADBC4
oklch(88.4% 0.031 109)
-
Step 300
300
#C2C49A
oklch(80.8% 0.057 109.9)
-
Step 400
400
#A4A661
oklch(70.8% 0.091 110)
-
Step 500
500
#8E8F30
oklch(63.1% 0.116 109.9)
-
Step 600
600 (this color)
#808000
oklch(58.1% 0.127 109.8)
-
Step 700
700
#656500
oklch(49.1% 0.107 109.8)
-
Step 800
800
#535300
oklch(42.8% 0.093 109.8)
-
Step 900
900
#44450A
oklch(37.8% 0.076 110.6)
-
Step 950
950
#282809
oklch(26.9% 0.048 109.2)
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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #8B7A00 | 0.023 |
| Deuteranopia (no green cones) | #8D7D13 | 0.024 |
| Tritanopia (no blue cones) | #8A776C | 0.114 |
| Achromatopsia (no color) | #7C7C7C | 0.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.