Skip to content
ColorPicker Studio

Olive color — #808000

Olive is a CSS named color with the HEX code #808000, RGB value rgb(128, 128, 0) and HSL value hsl(60, 100%, 25%).

Yellow

Olive

#808000

Color codes

HEX
#808000
RGB
rgb(128, 128, 0)
HSL
hsl(60, 100%, 25%)
HSV
hsv(60, 100%, 50%)
CMYK
cmyk(0%, 0%, 100%, 50%)
OKLCH
oklch(58.07% 0.1266 109.77)

CSS usage

In CSS you can use the keyword or any equivalent value:

.element {
  color: olive;
  background-color: #808000;
  border-color: rgb(128, 128, 0);
  outline-color: hsl(60, 100%, 25%);
}

Shades

Tints

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Contrast ratio

Contrast ratio against white and black text, per WCAG 2.2.

Olive — On white4.19:1 · AA Large
Olive — On black5.00:1 · AA

Similar colors

More Yellow colors →