Olive — #808000

The hex code for olive is #808000 — rgb(128, 128, 0), hsl(60, 100%, 25%). Use it in CSS as color: #808000;.

Olive is a dark, muted yellow-green — the color of olive fruit and military uniforms. It feels earthy, practical, and understated.

Olive color codes — click to copy

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

Shades, tints & tones of olive

Click any swatch to copy it.

Shades — mix with black
Tints — mix with white
Tones — mix with gray

Olive harmonies

Click a swatch to copy it.

Complementary
Analogous
Triadic
Split Complementary
Tetradic
Square
Monochromatic

Colors that go with olive

ColorHex
Beige#F5F5DC
Black#000000
White#FFFFFF
Brown#A52A2A

Where olive is used

Use olive for outdoor, military, and earthy brands. It pairs well with cream, tan, and black, and it is a popular choice for natural, rugged, or vintage looks.

What olive is often associated with: Earthiness, practicality, and understated strength.

Contrast — can you read text on olive?

White text on olive scores 4.20:1

Normal text: AA Fail   AAA Fail

Large text (18pt+, or 14pt bold+): AA Pass   AAA Fail

Black text scores 5.01:1

Normal text: AA Pass   AAA Fail

Large text (18pt+, or 14pt bold+): AA Pass   AAA Pass

Check any pair in the contrast checker →

How olive looks with color blindness

Simulated with the Machado matrices. Click a swatch to copy the simulated color.

Protanopia

#80801F

Deuteranopia

#808026

Tritanopia

#80373D

This is a simulation for design checks, not a vision test. See the color blind simulator for any palette.

Frequently asked questions

What is the hex code for olive?

The hex code for olive is #808000.

What is the RGB of olive?

The RGB of olive is rgb(128, 128, 0).

What colors go with olive?

Colors that go well with olive include beige (#F5F5DC), black (#000000), white (#FFFFFF). See the pairings table on this page for the full list.

Is olive a good color for a website?

Olive works well as an accent or background — black text on it scores 5.01:1, which passes WCAG AA. Check any pair in the contrast checker before you ship it.

What does the color olive mean?

Earthiness, practicality, and understated strength.

Related tools

Color Picker · Color Names · Palette Generator · Complementary Colors · Contrast Checker