hexcolors

#808000

Closest named color: olive

About this color

#808000 is a vivid dark yellow color. In RGB it is 128, 128, 0, and its closest named color is olive. Text in black is easiest to read on it, with a contrast ratio of 5.01:1.

What does yellow mean?

Copy the value you need

Click any row to copy it.

HEX
RGB
HSL
HSV
CMYK
LAB
OKLCH

Is text readable on #808000?

Contrast against white and black text.

Aa Sample
4.20:1 with white text
Passes AA for large text only
Aa Sample
5.01:1 with black text
Passes AA for body text

Test your own pair

Make it lighter or darker

Shades keep the same hue. Click one to open the closest color page.

Build a full 50 to 950 scale

Softer versions (tints)

Mixed with white.

Muted versions (tones)

Mixed with gray.

Colors that go with #808000

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with olive

How it looks with color blindness

Simulated for common types.

Normal
#808000
Protanopia
#8B7A00
Deuteranopia
#8D7D13
Tritanopia
#8A776C

Test an image

Copy the code

CSS, Sass and Tailwind.

color: #808000;
background-color: #808000;
--brand: #808000;
$brand: #808000;
bg-[#808000] text-[#808000] border-[#808000]

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #808000?

#808000 is rgb(128, 128, 0).

What is the closest named color to #808000?

The closest CSS named color is olive (#808000).

What color goes well with #808000?

Its complementary color is #000080. Analogous colors at #804000 and #408000 also work well.

Should I use white or black text on #808000?

Black text is easier to read, with a contrast ratio of 5.01:1.

Use this color anywhere

Data, embeds and tools.

Get #808000 as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color