Skip to content
ColorPicker Studio

Green color — #008000

Green is a CSS named color with the HEX code #008000, RGB value rgb(0, 128, 0) and HSL value hsl(120, 100%, 25%).

Green

Green

#008000

Color codes

HEX
#008000
RGB
rgb(0, 128, 0)
HSL
hsl(120, 100%, 25%)
HSV
hsv(120, 100%, 50%)
CMYK
cmyk(100%, 0%, 100%, 50%)
OKLCH
oklch(51.98% 0.1769 142.5)

CSS usage

In CSS you can use the keyword or any equivalent value:

.element {
  color: green;
  background-color: #008000;
  border-color: rgb(0, 128, 0);
  outline-color: hsl(120, 100%, 25%);
}

Shades

Tints

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Contrast ratio

Contrast ratio against white and black text, per WCAG 2.2.

Green — On white5.13:1 · AA
Green — On black4.08:1 · AA Large

Similar colors

More Green colors →