green: Hex #008000, RGB and HSL

CSS Named Colors · Greens

green is a CSS named color from the Greens group. It is exactly #008000, RGB 0, 128, 0, which is HSL 120°, 100%, 25% (rounded). Use it in CSS as color: green; and every browser renders the same sRGB value.

Hex
#008000
RGB
0, 128, 0

Swatch and contrast

green#008000rgb(0, 128, 0)
White text5.1:1Black text4.1:1
Exact sRGB value of the keyword; your screen's calibration still affects what you see.

green specifications

Hex#008000
RGB0, 128, 0
HSL120°, 100%, 25%
HTML 4 basic colorYes, one of the 16 original keywords

CSS green is #008000, a medium-dark green. The pure sRGB green #00FF00 is called lime.

Also known as

#008000008000

Closest RAL Classic colors

Nearby CSS named colors

All CSS named colors

See all 148 named colors →

Sources

  1. W3C: CSS Color Module Level 4, §6.1 Named Colors
  2. MDN Web Docs: <named-color>
  3. npm package color-name 2.1.1 (MIT): keyword list used as a cross-check
  4. Sharma, Wu & Dalal (2005): The CIEDE2000 color-difference formula

Values last checked against these sources on November 15, 2026. · How we check data

Reference values for planning and identification. Confirm critical dimensions with the manufacturer's drawing or the current edition of the standard before production.