Logoluv

Olive green

#808000

Olive green (#808000) is a dark, vivid yellow colour, warm. In RGB it is 128 red, 128 green and 0 blue; in HSL its hue is 60°, its saturation 100% and its lightness 25%. For print, its CMYK mix is 0% cyan, 0% magenta, 100% yellow and 50% black, though printed colours vary with paper and ink.

Yellow is the brightest colour to the eye: cheerful, optimistic and hard to miss. On its own it can be hard to read, so pair it with a dark colour for text.

Text on olive green

White text on olive green has a contrast ratio of 4.20:1 and passes AA for large text only; black text has 5.01:1 and passes AA. Black text is the better choice on it. Check other pairs in the contrast checker.

White text · 4.20:1

Black text · 5.01:1

Tints and shades of olive green

Colour palettes with olive green

Colours similar to olive green

Use olive green in CSS

.button {
  background-color: #808000;
  color: #000000;
}

Make a full Tailwind scale from it with the Tailwind shades generator, or see more shades of yellow.