Dark Olive Green #556B2F

Dark Olive Green color (#556B2F)

Dark Olive Green is one of the 148 CSS named colors. Use the keyword darkolivegreen anywhere CSS accepts a color, or its hex code #556B2F, which is rgb(85, 107, 47) in RGB.

It is a dark, moderately saturated cool color with a hue angle of 82° on the HSL color wheel and a perceived lightness of 50% in OKLCH. On a dark olive green background, white text gives the higher contrast at 5.94:1, which passes WCAG AA for normal text.

Dark Olive Green color codes

CSS name darkolivegreen
HEX #556B2F
HEX (8-digit) #556B2FFF
RGB rgb(85, 107, 47)
HSL hsl(82, 39%, 30%)
HSV / HSB hsv(82, 56%, 42%)
OKLCH oklch(49.6% 0.0896 126.2)
CMYK cmyk(20.6%, 0%, 56.1%, 58%)

Contrast with white and black

WCAG 2 contrast ratios and APCA lightness contrast (Lc) for dark olive green used as text and as a background.

Aa Sample text
Dark Olive Green text on white
5.94:1 WCAG Lc 79.7 APCA Passes AA
Aa Sample text
Dark Olive Green text on black
3.53:1 WCAG Lc -22.1 APCA AA large text only
Aa Sample text
White text on dark olive green
5.94:1 WCAG Lc -84.9 APCA Passes AA
Aa Sample text
Black text on dark olive green
3.53:1 WCAG Lc 24.4 APCA AA large text only

Tints and shades of dark olive green

Tints mix dark olive green with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.

Tints

Shades

Colors that go with dark olive green

Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.

Complementary

Analogous

Triadic

Split-Complementary

Dark Olive Green with color blindness

Approximately how dark olive green appears with each type of color vision deficiency. Test full designs with the color blindness simulator.

Using dark olive green in CSS

.element {
  color: darkolivegreen;
  background-color: #556b2f;
  border-color: rgb(85 107 47 / 50%);
  outline-color: oklch(49.6% 0.0896 126.2);
}

Similar named colors

See all shades of green or browse every CSS color name.

Related tools