Olive Green color: hex code #808000

#808000 rgb(128, 128, 0)
Shades of yellow

Olive Green has the hex code #808000. It is a dark, vivid yellow.

In the RGB color model it is made of 50.2% red, 50.2% green and 0% blue (128, 128, 0).

Its hue angle is 60°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 100% yellow and 50% black.

This exact color is also called Olive.

Black text is the more readable choice on this background (contrast 5.01:1).

Olive Green (#808000) color codes

HEX#808000
RGBrgb(128, 128, 0)
RGB percentrgb(50.2%, 50.2%, 0%)
HSLhsl(60, 100%, 25%)
HSV / HSBhsv(60, 100%, 50%)
CMYKcmyk(0%, 0%, 100%, 50%)
CIE LABlab(51.87, -12.93, 56.67)
CIE LCHlch(51.87, 58.13, 102.85)
CIE XYZxyz(16.622, 20.028, 2.99)
Decimal8421376
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Olive Green, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #808000RatioAAAAAAA large
Sample text5.01:1PassFailPass
Sample text4.2:1FailFailPass
#808000 as text onRatioAAAAAAA large
Sample text4.2:1FailFailPass
Sample text5.01:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #808000 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #808000; }
.text { color: #808000; }
.border { border: 2px solid #808000; }
.transparent { background-color: rgb(128 128 0 / 50%); }
.gradient { background: linear-gradient(to right, #808000, #408000); }
Background
Text color
Border

Similar colors

See #808000 on its hex code page

Questions

What color is #808000?
#808000 is a dark, vivid yellow known as Olive Green. It belongs to the yellow family of colors.
What is the RGB value of Olive Green?
The RGB value is 128, 128, 0: 128 red, 128 green and 0 blue on a 0 to 255 scale.
What is the complementary color of Olive Green?
The complementary color is #000080, found by rotating the hue 180° on the color wheel.
Is black or white text better on #808000?
Black text. Black text has a contrast ratio of 5.01:1 and white text 4.2:1. WCAG asks for at least 4.5:1 for normal text.