Toolman

darkolivegreen — #556B2F

#556B2F

rgb(85, 107, 47) · hsl(82, 39%, 30%) · CSS keyword darkolivegreen

Can you put text on it?

ContrastBody textLarge text
darkolivegreen on white5.95:1AAAA
darkolivegreen on black3.53:1AA

As a background, darkolivegreen takes white text: 5.95:1 against 3.53:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.

Using it

color: darkolivegreen;
color: #556b2f;
color: rgb(85 107 47);

All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.

Colours close to darkolivegreen

Frequently asked questions

What is the hex code for darkolivegreen?

The hex code for darkolivegreen is #556B2F — RGB 85, 107, 47.

Can I use darkolivegreen for text?

Yes. darkolivegreen reaches 5.95:1 against white, past the 4.5:1 that WCAG AA asks for body text.

Should text on darkolivegreen be black or white?

White — 5.95:1 against 3.53:1 the other way.

Other named colours

#556B2F in full — tints, shades and harmonies · All named colours · Colour reference