Skip to content

Dark Olive Green

Hex #556B2F, rgb(85 107 47). A green CSS named color.

Open in palette generator

Dark Olive Green color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Dark Olive Green

Dark Olive Green is a dark moderately saturated green with the hex code #556B2F. In RGB it is made of 85 red, 107 green and 47 blue; in HSL its hue is 82°, with 39% saturation and 30% lightness. Its perceptual lightness (OKLCH L) is 49.6%.

It is a CSS named color, so you can write "darkolivegreen" anywhere CSS accepts a color. Against white it has a contrast ratio of 5.95:1 and against black 3.53:1, so white text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Dark Olive Green mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Dark Olive Green 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Dark Olive Green

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Contrast and readability

WCAG 2 contrast of Dark Olive Green with white and black. The readable text color on Dark Olive Green is white.

Dark Olive Green textSmall text on white

On white5.95:1

  • AA pass
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc 80

Dark Olive Green textSmall text on black

On black3.53:1

  • AA fail
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc -22

White text on Dark Olive Green (#FFFFFF)

Test any pair in the contrast checker.

Color blindness preview

How Dark Olive Green appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#706529
  • Deuteranopia#6D6333
  • Tritanopia#58665E
  • Protanomaly#6A662C
  • Deuteranomaly#686532
  • Tritanomaly#556949
  • Achromatopsia#646464

Colors similar to Dark Olive Green

The closest named colors by perceptual difference (OKLab).

Use Dark Olive Green in CSS and Tailwind

CSS
.dark-olive-green {
  color: darkolivegreen; /* #556B2F */
  background-color: rgb(85 107 47);
  border-color: oklch(49.6% 0.09 126.2);
}
Tailwind CSS
/* Tailwind CSS v4: bg-dark-olive-green-500, text-dark-olive-green-700... */
@theme {
  --color-dark-olive-green-50: #F9FBF6;
  --color-dark-olive-green-100: #EBF0E4;
  --color-dark-olive-green-200: #D7E0CA;
  --color-dark-olive-green-300: #B9C9A1;
  --color-dark-olive-green-400: #92AA6C;
  --color-dark-olive-green-500: #7A964C;
  --color-dark-olive-green-600: #68823C;
  --color-dark-olive-green-700: #556B2F;
  --color-dark-olive-green-800: #435526;
  --color-dark-olive-green-900: #36441F;
  --color-dark-olive-green-950: #111904;
}

<!-- or the exact color, no config -->
<div class="bg-[#556B2F] text-[#FFFFFF]">…</div>