Description
Darkolivegreen (read as "dark olive green") has a hue of 82°, saturation 39% and lightness 30%, which places it in the green family. The "dark" prefix is part of the CSS name, but CSS names are not systematic: for example darkgray (#A9A9A9) is lighter than gray (#808080).
Using darkolivegreen in CSS
.title { color: darkolivegreen; }
.box { background: darkolivegreen; border-color: #556b2f; }
.soft { background: rgb(85 107 47 / 20%); } /* darkolivegreen at 20% opacity */Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.
Similar named colors
| Color | HEX | RGB | ΔE 2000 |
|---|---|---|---|
| darkgreen | #006400 | 0, 100, 0 | 11.2 |
| green | #008000 | 0, 128, 0 | 12.8 |
| olivedrab | #6b8e23 | 107, 142, 35 | 14.1 |
| forestgreen | #228b22 | 34, 139, 34 | 14.2 |
| olive | #808000 | 128, 128, 0 | 14.8 |
| seagreen | #2e8b57 | 46, 139, 87 | 15.3 |
| dimgray | #696969 | 105, 105, 105 | 21.1 |
| darkslategray | #2f4f4f | 47, 79, 79 | 22.7 |
ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.
Pairs well with
Readability
Contrast with white text: 5.95:1; with black text: 3.53:1. White body text on darkolivegreen meets WCAG AA.