Green — #008000
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Green values in every format
| CSS name | green |
|---|---|
| HEX | #008000 |
| RGB | rgb(0, 128, 0) |
| RGB % | 0%, 50%, 0% |
| HSL | hsl(120, 100%, 25%) |
| HSV / HSB | 120°, 100%, 50% |
| CMYK (print) | 100%, 0%, 100%, 50% |
| Relative luminance | 0.154 |
| Contrast on black | 4.09 : 1 |
| Contrast on white | 5.14 : 1 |
| Best text colour on it | White (5.14 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Green (50–950)
50 #F0FFF0100 #DBFFDB200 #ADFFAD300 #70FF70400 #29FF29500 #00EB00600 #00BD00700 #009400800 #007000900 #004C00950 #002E00
The scale keeps Green's hue (120°) and saturation (100%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Green
Complementary: #008000#800080
Analogous: #408000#008000#008040
Triadic: #008000#000080#800000
Split-complementary: #008000#400080#800040
Square: #008000#004080#800080#804000
Computed by rotating the hue wheel from 120°. Try them live in the Colour Harmony Generator.
Closest named colours
darkgreen (#006400) · forestgreen (#228B22) · seagreen (#2E8B57)
Using Green well
Green sits in the green family at 25% lightness — a dark, vivid, warm-neutral colour. As a background it pairs best with white text (5.14:1 contrast). Its complement (#800080) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#408000, #008040) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Green is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Green?
#008000 — the CSS named colour “green”. Its RGB is (0, 128, 0).
Is Green good for text or backgrounds?
As a background, white text reads best on it (5.14:1). As text itself on white it reaches 5.14:1 — enough for WCAG AA normal text.
What colours go with Green?
Its complement #800080 for contrast, analogous #408000 and #008040 for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Green in CMYK for printing?
C100 M0 Y100 K50. CMYK conversions of screen colours are a starting point — always proof before a print run.