Olive Drab (#6B8E23)

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: 3.81:1 — vs black: 5.52:1

Color values

  • HEX #6B8E23
  • RGB rgb(107, 142, 35)
  • HSL hsl(79, 75%, 55%)
  • CMYK cmyk( 24.65, 0, 75.35, 44.31 )
  • Websafe #669933

Tags

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

Color Harmonies

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

Complementary

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

Olive Drab
#6B8E23 Base
#46238E
Analogous

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

Olive Drab
#6B8E23 Base
#8E7C23
#358E23
Triadic

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

Olive Drab
#6B8E23 Base
#236B8E
#8E236B
Split-Complementary

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

Olive Drab
#6B8E23 Base
#23358E
#7C238E
Tetradic (Square)

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

Olive Drab
#6B8E23 Base
#238E7C
#46238E
#8E2335
Monochromatic

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

Olive Drab
#6B8E23 Base
#0F1405
#3D5114
#526D1B
#84AF2B
#99CB32
#B8DB6F
Shades & Tints

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

Shades (darker)

#0F1405
#222D0B
#344511
#465D17
#59761D
Olive Drab #6B8E23 Base
#90BF2F
#ACD557
#C4E288
#DDEEB9
#F5FAEB
CSS & SCSS Snippets

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

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

/* Text */
.element {
    color: #6B8E23;
}

/* Border */
.element {
    border: 1px solid #6B8E23;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #6B8E23,
        #7139E3
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #6B8E23,
        #7139E3
    );
}
SCSS Variable
// SCSS variable
$olive-drab: #6B8E23;

// With RGB channels (useful for rgba() usage)
$olive-drab-r: 107;
$olive-drab-g: 142;
$olive-drab-b: 35;

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

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

Normal Vision #6B8E23 How the color appears with full color vision.
Deuteranopia #858526 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 #8B8B22 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #768686 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #838383 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 Drab ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Olive Drab #6B8E23 Base
Avocado #568203 ΔE 5.41
Sap Green #507D2A ΔE 8.30
May Green #4C9141 ΔE 8.37
Moss Green #8A9A5B ΔE 9.24

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.