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

#808000
HEX#808000
RGBrgb(128, 128, 0)
HSLhsl(60, 100%, 25%)

Harmonies

Complementary

Analogous

#804000#408000

Triadic

Split complementary

#004080#400080

Tints & shades

#6b6b00#757500#808000#8a8a00#949400

Accessibility

vs #ffffff4.2:1
vs #0000005.01:1
Suggested text color#000000 · 5.01:1 · WCAG AA

Similar named colors

olivedrab#6b8e23darkgoldenrod#b8860bsaddlebrown#8b4513darkolivegreen#556b2fsienna#a0522dchocolate#d2691e

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.

← All named colors