Description
Green has a hue of 120°, saturation 100% and lightness 25%, which places it in the green family. Its strongest channel is green (128).
Using green in CSS
.title { color: green; }
.box { background: green; border-color: #008000; }
.soft { background: rgb(0 128 0 / 20%); } /* green 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 |
|---|---|---|---|
| forestgreen | #228b22 | 34, 139, 34 | 4.6 |
| darkgreen | #006400 | 0, 100, 0 | 9.4 |
| seagreen | #2e8b57 | 46, 139, 87 | 12 |
| olivedrab | #6b8e23 | 107, 142, 35 | 12.4 |
| darkolivegreen | #556b2f | 85, 107, 47 | 12.8 |
| olive | #808000 | 128, 128, 0 | 19.2 |
| mediumseagreen | #3cb371 | 60, 179, 113 | 20.1 |
| limegreen | #32cd32 | 50, 205, 50 | 23.8 |
Δ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.14:1; with black text: 4.09:1. White body text on green meets WCAG AA.