Green — #008000

Green (#008000) is a dark, vivid green. It is a CSS named color, so you can use it in stylesheets as color: green as well as by its hex code. In RGB it is rgb(0, 128, 0); in HSL, hsl(120, 100%, 25%).

#008000

Color conversions

Hex#008000
CSS namegreen
RGBrgb(0, 128, 0)
HSLhsl(120, 100%, 25%)
CMYK100%, 0%, 100%, 50%
CSS examplecolor: #008000; background-color: rgb(0, 128, 0);

Tints and shades of #008000

The hue is calculated at seven exact lightness levels for use in backgrounds, borders, text and hover states. These values are not substituted with nearby named colors.

#d6ffd6
#8fff8f
#47ff47
#00ff00
#00b800
#007a00
#004700

Color schemes with #008000

Complementary — maximum contrast, from opposite sides of the color wheel:

Analogous — neighbours on the wheel, naturally harmonious:

Triadic — three colors evenly spaced for balanced variety:

Tetradic — four colors at 90° intervals:

Text contrast and accessibility

On a #008000 background, white text gives the better contrast. WCAG requires 4.5:1 for normal text and 3:1 for large text (AA), or 7:1 and 4.5:1 for AAA.

Text colorContrast ratioNormal textLarge text
White text (#ffffff)5.14:1AAAAA
Black text (#000000)4.09:1FailsAA

Similar named colors

The CSS named colors closest to #008000: