Color reference

Green #008000

Green is the standard CSS named color #008000. Note that CSS “green” is darker than the full-intensity #00FF00 value named “lime”.

Green is the CSS named color keyword green, standardized at #008000 in sRGB.

Green #008000 5.14:1 with white text

Color values

HEX#008000
RGBrgb(0, 128, 0)
HSLhsl(120 100% 25%)
HSV120°, 100%, 50%
CMYK100%, 0%, 100%, 50%

HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.

Black or white text?

Black text 4.09:1 — AA normal text fails
White text 5.14:1 — AA normal text passes

AA normal text: black fails; white passes.

AA large text: black passes; white passes.

WCAG contrast thresholds use 4.5:1 for normal text and 3:1 for large text. Do not round a near-threshold result upward when testing conformance.

Tints and shades of Green

These steps are computed by RGB-mixing #008000 toward white or black. They are generated values, not official named colors.

80% tint #CCE6CC
60% tint #99CC99
40% tint #66B366
20% tint #339933
Base #008000
20% shade #006600
40% shade #004D00
60% shade #003300
80% shade #001A00

Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.

CSS usage

.example {
  color: #FFFFFF;
  background-color: green;
}

You can use either green or #008000 in CSS; both resolve to the same sRGB color.