Olive (#808000)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #000000
Contrast vs white: 4.20:1 — vs black: 5.01:1

Color values

  • HEX #808000
  • RGB rgb(128, 128, 0)
  • HSL hsl(60, 100%, 50%)
  • CMYK cmyk( 0, 0, 100, 49.8 )
  • Websafe #999900

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #808000 based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Olive
#808000 Base
Navy Blue
#000080
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Olive
#808000 Base
#804000
#408000
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Olive
#808000 Base
Teal
#008080
Purple
#800080
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Olive
#808000 Base
#004080
#400080
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Olive
#808000 Base
#008040
Navy Blue
#000080
#800040
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Olive
#808000 Base
#1A1A00
#333300
#575700
#A9A900
#CCCC00
#FFFF1A
Shades & Tints

Darker shades and lighter tints of Olive, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#1A1A00
#2E2E00
#434300
#575700
#6C6C00
Olive #808000 Base
#C7C700
#FFFF10
#FFFF57
#FFFF9E
#FFFFE6
CSS & SCSS Snippets

Ready-to-use code snippets for #808000. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #808000;
}

/* Text */
.element {
    color: #808000;
}

/* Border */
.element {
    border: 1px solid #808000;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #808000,
        #0101FF
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #808000,
        #0101FF
    );
}
SCSS Variable
// SCSS variable
$olive: #808000;

// With RGB channels (useful for rgba() usage)
$olive-r: 128;
$olive-g: 128;
$olive-b: 0;

// Usage
.element {
    background-color: $olive;
    color: rgba($olive-r, $olive-g, $olive-b, 0.8);
}
Color Blindness Simulation

How Olive appears to people with different types of color vision deficiency.

Normal Vision #808000 How the color appears with full color vision.
Deuteranopia #808000 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #808000 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #887878 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #7C7C7C Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Olive ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Olive #808000 Base
Old Moss Green #867E36 ΔE 5.90
Bronze Yellow #737000 ΔE 6.16
Dark Yellow #9B870C ΔE 7.19
Spanish Bistre #807532 ΔE 7.65

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.