CSS color names · Greens

Dark Olive Green color: hex #556b2f, RGB and HSL

Dark Olive Green is the CSS keyword darkolivegreen, hex #556b2f, rgb(85, 107, 47), hsl(82, 39%, 30%). It is a dark, muted green in the greens family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
darkolivegreen
Hex
#556b2f
RGB
rgb(85, 107, 47)
HSL
hsl(82, 39%, 30%)
On white
5.95:1 — passes AA for body text
On black
3.53:1 — large text and UI only (3:1)
.example {
  color: darkolivegreen;          /* keyword */
  color: #556b2f;          /* hex */
  color: rgb(85, 107, 47); /* rgb */
  color: hsl(82, 39%, 30%); /* hsl */
}

What colors go with dark olive green

Each match keeps dark olive green's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside dark olive green as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

#452f6b

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#2f376b
#632f6b

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

#2f556b
#6b2f55

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#6b632f
#376b2f

Tints and shades of dark olive green

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as dark olive green — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#769441
#95b75a
#afc983
#cadbad
#e4edd6

Shades (darker)

#475927
#39471f
#2b3618
#1c2410
#0e1208

A UI color palette built from dark olive green

The eight semantic roles an interface actually uses, derived from dark olive green as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#556b2f
secondary
#2f376b
accent
#632f6b
background
#fdfdfc
surface
#f5f6f4
text
#1b1f14
muted
#788561
border
#e7e9e2
Dark mode
primary
#98b960
secondary
#606bb9
accent
#ad60b9
background
#151810
surface
#202519
text
#f5f6f4
muted
#a9b09b
border
#3b432d

Using dark olive green in an interface

Green means success and 'on' — reserve one green for that job before you use another as a brand color. Sea green, forest green and teal are calm enough to lead a palette; the neon greens are for dark-mode accents and little else. Whichever role dark olive green takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Dark Olive Green?
Dark Olive Green is #556b2f. In CSS the keyword darkolivegreen, the hex #556b2f, rgb(85, 107, 47) and hsl(82, 39%, 30%) all paint the same color.
What colors go with Dark Olive Green?
Its complement is #452f6b, the split-complementary pair is #2f376b and #632f6b, the triadic partners are #2f556b and #6b2f55, and the analogous neighbors are #6b632f and #376b2f. In an interface, use Dark Olive Green for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Dark Olive Green on the color wheel?
The opposite (complementary) color is #452f6b, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Dark Olive Green for text?
Dark Olive Green as text on white has a contrast ratio of 5.95:1, which passes WCAG AA for body text (4.5:1). On black it is 3.53:1, which fails for body text. It works as a text color on light surfaces.

Similar named colors

More greens

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.