Green Hex Code — #008000
RGB, HSL, and CMYK values for Green.
Last updated: April 6, 2026
Green Color Values
| Format | Value |
|---|---|
| HEX | #008000 |
| RGB | rgb(0, 128, 0) |
| HSL | hsl(120, 100%, 25%) |
| CMYK | cmyk(100%, 0%, 100%, 50%) |
About Green
Color psychology: Growth, harmony, nature.
Green (#008000) is a dark shade of green with a hue angle of 120° on the color wheel, 100% saturation, and 25% lightness. It's commonly used in web design, graphic design, and branding where growth, harmony, nature are desired associations.
In color theory, Green sits in the neutral section of the spectrum. Its high saturation makes it vivid and attention-grabbing — ideal for CTAs, headings, and brand accents.
When to Use Green in Design
Web Design
Use Green for headings, links, or accent elements against light backgrounds. Dark colors like this provide strong contrast and draw the eye to important content.
Branding & Logo
Green conveys growth, harmony, nature — consider it for brands that want to project these qualities. Test it at small sizes (favicon, social avatar) to ensure it remains recognizable.
Print Design
Use the CMYK values (C:100% M:0% Y:100% K:50%) for accurate print reproduction in brochures, business cards, and packaging. Request a physical proof — screen colors often appear more vibrant than their printed equivalents.
UI / UX Design
Dark colors like Green are effective for primary buttons, navigation bars, and text. Use a lighter tint (increase HSL lightness to 90%+) for hover backgrounds.
How to Use Green in CSS
/* Using HEX */ color: #008000; background-color: #008000; /* Using RGB */ color: rgb(0, 128, 0); /* Using HSL — best for creating variations */ color: hsl(120, 100%, 25%); /* Transparent overlay (50% opacity) */ background-color: rgba(0, 128, 0, 0.5); /* Lighter variant for hover states */ background-color: hsl(120, 100%, 35%); /* Darker variant for active states */ background-color: hsl(120, 100%, 15%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Green without changing its core hue or saturation.
Colors That Go With Green
Complementary
Analogous
Triadic
Similar Shades of Green
Frequently Asked Questions
What is the hex code for Green?
What is Green in RGB and when should I use RGB?
How to use Green in CSS with different color formats?
What is the HSL value of Green and why is HSL useful for designers?
What is the CMYK value of Green for print design?
What colors pair well with Green in design projects?
Is Green (#008000) accessible for web design and WCAG compliant?
Was this page helpful?
Written by
Tamanna Tasnim
Senior Full Stack Developer
Full-stack developer with deep expertise in data formats, APIs, and developer tooling. Writes in-depth technical comparisons and conversion guides backed by hands-on engineering experience across modern web stacks.