Olive — #808000
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Olive values in every format
| CSS name | olive |
|---|---|
| HEX | #808000 |
| RGB | rgb(128, 128, 0) |
| RGB % | 50%, 50%, 0% |
| HSL | hsl(60, 100%, 25%) |
| HSV / HSB | 60°, 100%, 50% |
| CMYK (print) | 0%, 0%, 100%, 50% |
| Relative luminance | 0.200 |
| Contrast on black | 5.01 : 1 |
| Contrast on white | 4.20 : 1 |
| Best text colour on it | Black (5.01 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Olive (50–950)
50 #FFFFF0100 #FFFFDB200 #FFFFAD300 #FFFF70400 #FFFF29500 #EBEB00600 #BDBD00700 #949400800 #707000900 #4C4C00950 #2E2E00
The scale keeps Olive's hue (60°) and saturation (100%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Olive
Complementary: #808000#000080
Analogous: #804000#808000#408000
Triadic: #808000#008080#800080
Split-complementary: #808000#004080#400080
Square: #808000#008040#000080#800040
Computed by rotating the hue wheel from 60°. Try them live in the Colour Harmony Generator.
Closest named colours
olivedrab (#6B8E23) · darkgoldenrod (#B8860B) · saddlebrown (#8B4513)
Using Olive well
Olive sits in the yellow family at 25% lightness — a dark, vivid, warm colour. As a background it pairs best with black text (5.01:1 contrast). Its complement (#000080) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#804000, #408000) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Olive is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Olive?
#808000 — the CSS named colour “olive”. Its RGB is (128, 128, 0).
Is Olive good for text or backgrounds?
As a background, black text reads best on it (5.01:1). As text itself on white it reaches 4.20:1 — not enough for body text at AA; use it for headings, large text or accents.
What colours go with Olive?
Its complement #000080 for contrast, analogous #804000 and #408000 for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Olive in CMYK for printing?
C0 M0 Y100 K50. CMYK conversions of screen colours are a starting point — always proof before a print run.