Skip to content
Color Codes

CSS named color

DarkOliveGreen Color Code

DarkOliveGreen is a dark, moderately saturated green with the hex code #556B2F. In RGB it is rgb(85, 107, 47), in HSL hsl(82, 39%, 30%) and in CMYK cmyk(21%, 0%, 56%, 58%).

DarkOliveGreen
#556B2F

Color values

In CSS you can write it as the keyword darkolivegreen.

White text on DarkOliveGreen has a contrast ratio of 5.95:1 and black text 3.53:1, so white text is the more readable choice.

The closest Tailwind CSS color is Lime 800 (#3F6212).

Use DarkOliveGreen in CSS

.element {
  color: darkolivegreen;
  background-color: #556b2f;
  border-color: rgb(85, 107, 47);
}

Tints and shades of DarkOliveGreen

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with DarkOliveGreen

Color-wheel harmonies built from #556B2F. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on DarkOliveGreen

Aa
White text
5.95:1
AA
Aa
Black text
3.53:1
AA · Large text
Check in the contrast checker

Colors similar to DarkOliveGreen

Palettes with similar colors

Questions about DarkOliveGreen

What is the hex code for DarkOliveGreen?

The hex code for DarkOliveGreen is #556B2F. Its RGB value is rgb(85, 107, 47) and its HSL value is hsl(82, 39%, 30%).

What colors go with DarkOliveGreen?

The complementary color of DarkOliveGreen is #452F6A. For a softer scheme try the analogous colors #6A622F and #376A2F; for a balanced three-color scheme use the triadic colors #2F546A and #6A2F54.

Is DarkOliveGreen readable as a text color?

On a white background DarkOliveGreen has a contrast ratio of 5.95:1, which passes WCAG AA for normal text (4.5:1). On black it reaches 3.53:1.

More green colors