#808000 color (olive)

#808000 is rgb(128, 128, 0) in RGB and hsl(60, 100%, 25%) in HSL. It is exactly the CSS color olive. Use black text on it (contrast 5.01:1).

#808000olive
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%)
CIELAB (D65)lab(51.9 -12.9 56.7)

Edit in the color converter → · Check contrast → · Shades →

About #808000

#808000 is a dark, vivid yellow with a hue angle of 60°. It belongs to the yellow family and reads as a warm color. In the RGB model red is the strongest channel at 128 (50%) and blue the weakest at 0 (0%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

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%)
CIELAB (D65)lab(51.9 -12.9 56.7)
Decimal8421376
Binary10000000 10000000 00000000

HEX 80 80 00 → 128, 128, 0 (each pair is a base-16 number: 8×16 + 0 = 128)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #808000

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #808000RatioAA normalAA largeAAA normalAAA large
White text4.20:1FailPassFailFail
Black text5.01:1PassPassFailPass
White text on #808000
Black text on #808000
#808000 text on white
#808000 text on black

Relative luminance is 0.2003 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#8b7a00

Deuteranopia
#8d7d13

Tritanopia
#8a776c

Achromatopsia
#7c7c7c

People with red–green color blindness see this color almost unchanged (ΔE 4.9 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
olive#8080000
olivedrab#6b8e239.8
darkolivegreen#556b2f14.8
darkgoldenrod#b8860b16.2

CSS

.element {
  color: #808000;
  background-color: rgb(128, 128, 0);
  border: 1px solid hsl(60, 100%, 25%);
  box-shadow: 0 2px 8px rgb(128 128 0 / 50%);
}
:root { --brand: #808000; }

Frequently asked questions

What color is #808000?
A dark vivid yellow in the yellow family. Closest CSS name: olive.
What is #808000 in RGB?
rgb(128, 128, 0): red 128, green 128, blue 0.
What is the complementary color of #808000?
#000080, found by rotating the hue 180°.