#808000

Olive is a dark, vivid shade in the yellow color family, with a warm feel. Its HEX code is #808000, which equals rgb(128, 128, 0) in RGB and hsl(60, 100%, 25%) in HSL. In print terms it converts to roughly C0 M0 Y100 K50, although exact CMYK results depend on the paper and color profile.

  • HEX#808000
  • RGB128, 128, 0
  • HSL60°, 100%, 25%
  • CMYK0, 0, 100, 50
  • FamilyYellow
  • ToneDark, vivid

About Olive

Yellow shades are bright, sunny and attention-grabbing. They suggest optimism and clarity, and are often used for highlights, warnings and happy, youthful designs. Try it as a primary brand color, a section background, or a highlight against neutral layouts. Text in black is the most readable choice on this color, with a contrast ratio of 5.01:1. Its complementary color is #000080.

Download Olive as an image

Choose a size and format, then download a solid-color image — or tick colors in the library to batch-download a ZIP.

Loading colors…

Custom color

#3B82F6

Shade scale

Tip: tick the checkbox on any swatch to add it to a batch ZIP. Everything is generated in your browser — nothing is uploaded to a server.

Olive color codes

HEX#808000
RGBrgb(128, 128, 0)
HSLhsl(60, 100%, 25%)
HSV60°, 100%, 50%
CMYK0%, 0%, 100%, 50%
Decimal8421376

Shades and tints of Olive

Lighter tints are mixed with white and darker shades are mixed with black.

  • 50#EAEAD5
  • 100#D5D5AA
  • 200#C0C080
  • 300#AAAA55
  • 400#95952B
  • 500#808000
  • 600#6B6B00
  • 700#555500
  • 800#404000
  • 900#2B2B00
  • 950#151500

Color harmonies for Olive

Contrast and accessibility of Olive

Text colorSampleContrast ratioWCAG
White text on OliveAa4.20:1AA Large only
Black text on OliveAa5.01:1AA (good)

CSS code for Olive

background-color: #808000;color: #808000;background-color: rgb(128, 128, 0);background-color: hsl(60, 100%, 25%);:root { --color-olive: #808000; }class="bg-[#808000]"

Colors similar to Olive

More yellow shades

See all yellow shades →

Frequently asked questions

What is the HEX code for Olive?

The HEX code for Olive is #808000.

What is the RGB value of Olive?

Olive has an RGB value of 128, 128, 0 (rgb(128, 128, 0)). In HSL it is 60°, 100%, 25%.

What text color should I use on Olive?

Use black text on Olive. White text has a contrast ratio of 4.20:1 and black text has 5.01:1; WCAG AA requires at least 4.5:1 for normal text.

What color goes well with Olive?

The complementary color of Olive is #000080. Analogous colors #804000 and #408000 also pair well.

Explore more