Huebook

Green (CSS)

Green (CSS) is a dark, saturated green color with the hex code #008000 (hue 120°, saturation 100%, lightness 25%). It is also the CSS named color green.

#008000
NameHEXRGBHSLCMYKOKLCH
Green (CSS)#0080000, 128, 0120°, 100%, 25%100, 0, 100, 5052.0% 0.177 142

Contrast with white text 5.14:1, with black text 4.09:1 — use white text on Green (CSS).

green is one of the 148 named colors in CSS, with exactly this value, so color: green works in any browser without a hex code.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Green (CSS)

Move the sliders to make Green (CSS) lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Green (CSS)
  • HEX#008000
  • RGBrgb(0 128 0)
  • HSLhsl(120 100% 25%)

Variations of Green (CSS)

Text on Green (CSS)

White textThe quick brown fox5.14:1 · AA pass · AAA large text only
Black textThe quick brown fox4.09:1 · AA large text only · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Green (CSS) with color blindness

Normal #008000
Protanopia #837200
Deuteranopia #776A18
Tritanopia #007C6C

How Green (CSS) appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#CCFFCC
#80FF80
#33FF33
#00E600
#009900
#004D00

Colors that go with Green (CSS)

Six color schemes built on Green (CSS) with classic harmony rules. The complementary scheme pairs it with Purple (#800080), the color opposite it on the color wheel.

Nearest CSS named colors

Similar dark green colors

Questions

What is the hex code for Green (CSS)?

#008000 — RGB 0, 128, 0, HSL 120°, 100%, 25%.

Is Green (CSS) a warm or cool color?

Cool — its hue sits at 120° on the color wheel.