The green color code is #008000 in hexadecimal. Click any value below to copy it. Use HEX/RGB for web and digital design, CMYK for print, and HSL when adjusting lightness or saturation in code.
| Format | Value |
|---|---|
| HEX | #008000 |
| RGB | rgb(0, 128, 0) |
| CMYK | cmyk(100%, 0%, 100%, 50%) |
| HSL | hsl(120, 100%, 25%) |
How to Use Green in CSS
background-color: #008000; | color: rgb(0, 128, 0); | border-color: hsl(120, 100%, 25%);
Nearest Shades
FAQs
What is the hex code for green?
The hex code for green is #008000. In RGB it is rgb(0, 128, 0), and in CMYK it is 100%, 0%, 100%, 50%. You can copy these codes from the color code section above.
What does the color green mean?
Green is associated with nature, growth, money, health and harmony. Its exact meaning shifts with culture and context — see the meaning and cultural sections on this page for details.
What colors go with green?
Green pairs beautifully with black, white, gold, gray and its complementary color. Explore the green color combinations and palettes on this page for ready-to-use schemes.
Where can I download green backgrounds?
Right here — this site offers 32 free green backgrounds in HD (1920×1080) across 8 styles: solid, gradient, glow, waves, bokeh, rays, texture and curves. All are free for personal and commercial use.