darkolivegreen — #556B2F
#556B2F
rgb(85, 107, 47) · hsl(82, 39%, 30%) · CSS keyword darkolivegreen
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| darkolivegreen on white | 5.95:1 | AA | AA |
| darkolivegreen on black | 3.53:1 | — | AA |
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
- dimgray — #696969
- olivedrab — #6B8E23
- darkslategray — #2F4F4F
- olive — #808000
- seagreen — #2E8B57
- forestgreen — #228B22
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
- darkorange — #FF8C00
- darkorchid — #9932CC
- darkred — #8B0000
- darksalmon — #E9967A
- darkseagreen — #8FBC8F
- darkslateblue — #483D8B
- darkslategray — #2F4F4F
- darkturquoise — #00CED1
- darkviolet — #9400D3
- deeppink — #FF1493
- deepskyblue — #00BFFF
- dimgray — #696969
#556B2F in full — tints, shades and harmonies · All named colours · Colour reference