Where the name green comes from
green is a named color in CSS Color 4, section 6.1.
One of the sixteen HTML 4.01 names (section 6.5), value #008000; CSS Color 4 says these came from the VGA palette.
green is #008000: its green channel is 128 of 255, half the channel value of lime (#00FF00). Because sRGB values are gamma-encoded, half the channel value is not half the light: the relative luminance of green is 0.154 against 0.715 for lime (21.6%). HTML 4.01 and CSS keep both: lime is the pure green with the channel at 255 and green the darker one, so a page that asks for green does not get #00FF00. darkgreen (#006400) is darker still.
No three-digit short form.
Shades and tints of Green
- 10% white
#1A8D1Aforestgreen; 10% black#007300green - 20% white
#339933forestgreen; 20% black#006600darkgreen - 30% white
#4DA64Dmediumseagreen; 30% black#005A00darkgreen - 40% white
#66B366mediumseagreen; 40% black#004D00 - 50% white
#80C080darkseagreen; 50% black#004000
Contrast of #008000
Against white 5.14:1 (passes AA), against black 4.09:1 (large text only); white text reads better on Green. In HSV it is hsv(120, 100%, 50%).
Lightness rank 119 of 139; best partner white, 5.14:1.
Closest names to Green
Green has OKLCH hue 142 degrees.
Color harmony for Green
Green with color vision deficiency
FAQ
What is the hex code for Green?
#008000, or the keyword green.
Which named color is closest to Green?
forestgreen (#228B22), then seagreen and darkgreen.