Description
Olivedrab has a hue of 80°, saturation 60% and lightness 35%, which places it in the green family. Its strongest channel is green (142).
Using olivedrab in CSS
.title { color: olivedrab; }
.box { background: olivedrab; border-color: #6b8e23; }
.soft { background: rgb(107 142 35 / 20%); } /* olivedrab 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 |
|---|---|---|---|
| olive | #808000 | 128, 128, 0 | 9.8 |
| forestgreen | #228b22 | 34, 139, 34 | 10.2 |
| green | #008000 | 0, 128, 0 | 12.4 |
| darkolivegreen | #556b2f | 85, 107, 47 | 14.1 |
| seagreen | #2e8b57 | 46, 139, 87 | 15.2 |
| mediumseagreen | #3cb371 | 60, 179, 113 | 17.8 |
| yellowgreen | #9acd32 | 154, 205, 50 | 18.5 |
| darkkhaki | #bdb76b | 189, 183, 107 | 18.6 |
Δ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: 3.81:1; with black text: 5.52:1. Black body text on olivedrab meets WCAG AA; white text does not.