#808000

Olive — Color Codes & Palette

#808000  ·  rgb(128, 128, 0)  ·  hsl(60, 100%, 25%)

Color Codes

Format Value
HEX #808000
RGB rgb(128, 128, 0)
HSL hsl(60, 100%, 25%)

Shades of Olive

#757500#6B6B00#616100#575700#4D4D00#424200#383800#2E2E00

Tints of Olive

#A8A800#D1D100#FAFA00#FFFF24#FFFF4D#FFFF75#FFFF9E#FFFFC7

Color Pairings & Harmony

Complementary
#000080
Analogous +30°
#408000
Analogous −30°
#804000
Triadic +120°
#008080
Triadic −120°
#800080

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
4.20:1 — AA pass for large text only
vs. Black (#000000)
5.01:1 — AA pass for normal text

CSS Snippet

.element {
  color: #808000;
}

.element-bg {
  background-color: #808000;
  color: #000000;
}

.element-border {
  border: 2px solid #808000;
}

About Olive

Olive is a dark color with vivid, highly saturated, defined by the hex code #808000. Its exact color model values are rgb(128, 128, 0) in RGB and hsl(60, 100%, 25%) in HSL (hue 60°, saturation 100%, lightness 25%). On a white background the contrast ratio is 4.20:1 — AA pass for large text only, and on black it is 5.01:1 — AA pass for normal text. Use Olive for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of Olive?
The RGB value of Olive (#808000) is rgb(128, 128, 0). Red = rgb(128, 128, 0), representing the amounts of red, green, and blue light on a 0–255 scale.
Is Olive accessible on a white background?
The contrast ratio of Olive on white (#FFFFFF) is 4.20:1 — AA pass for large text only. On black (#000000) the contrast ratio is 5.01:1 — AA pass for normal text. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with Olive?
Based on color theory, Olive (hsl(60, 100%, 25%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.