olive olive #808000
olive is #808000 in hexadecimal, rgb(128, 128, 0) in decimal and hsl(60, 100, 25) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.
HEX · RGB · HSL
| HEX | #808000 |
| RGB | rgb(128, 128, 0) |
| HSL | hsl(60, 100%, 25%) |
Harmonies
Complementary
Analogous
#804000#408000Split complementary
#004080#400080Tints & shades
Accessibility
| vs #ffffff | 4.2:1 |
| vs #000000 | 5.01:1 |
| Suggested text color | #000000 · 5.01:1 · WCAG AA |
Similar named colors
FAQ
What is the HEX code for olive?
olive is #808000 in hex, rgb(128, 128, 0) in decimal and hsl(60, 100%, 25%) in HSL. In CSS you can write either color: olive; or color: #808000; — they are equivalent.
What colors go with olive?
The complementary #000080 gives the strongest contrast, the analogous pair #804000 / #408000 is the safest, and the triad #008080 / #800080 adds more tension. All three are derived from the 60° hue of #808000.
Does #808000 read better on white or black?
Its contrast is 4.2:1 against white and 5.01:1 against black. Use #000000 text on it — that gives 5.01:1, which meets WCAG AA.
Is a named color different from a hex color?
No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.