Lighter and darker green
Each step mixes in more white or black, in even steps for the eye. Tap a swatch to copy its code.
Lighter
Darker
Colors that go with green
Complementary
Across the color wheel. Strong contrast, good for one button or one word.
Analogous
Its neighbors on the wheel. Calm, easy to use together.
Triadic
Three colors evenly spread. Lively, best with one in charge.
Pairs well in a brand
Green and text
White text reads best on green: 5.13:1. The same numbers hold for green text on a white or a black page. Body text needs 4.5:1 for AA and 7:1 for AAA; large text needs 3:1.
| Text | Contrast | WCAG |
|---|---|---|
| AaWhite text on green | 5.13:1 | AA |
| AaBlack text on green | 4.08:1 | AA large |
How green looks with color blindness
Other green hex codes
The full-strength screen green, #00FF00, is called lime in CSS, and many people expect that when they type green. Forest green #228B22 and dark green #006400 are the deeper greens of outdoor and garden brands, sea green #2E8B57 is cooler, and lime green #32CD32 sits in between.
- GreenCSS named color: green. The code on this page
#008000 - LimeCSS named color: lime
#00FF00 - Forest greenCSS named color: forestgreen
#228B22 - Dark greenCSS named color: darkgreen
#006400 - Sea greenCSS named color: seagreen
#2E8B57 - Lime greenCSS named color: limegreen
#32CD32
Green in a small business brand
Green says fresh, natural and growing: garden centers, health food, cleaning products, outdoor gear. The CSS green carries white text well, so it suits buttons and post backgrounds. Bright lime is for small accents only. Many people cannot tell red from green, so never let green alone mean yes next to a red no.
FAQ
What is the hex code for green?
Green is #008000 as the CSS named color green. In RGB that is rgb(0, 128, 0), and in CMYK cmyk(100%, 0%, 100%, 50%).
What text color goes on green?
White text, at a contrast of 5.13:1, which passes WCAG AA. Black text reaches 4.08:1, enough for large text only.
Why is CSS green so dark?
CSS green #008000 uses half the screen's green light. The full-strength green #00FF00 is called lime in CSS.
What is the hex code for forest green?
CSS forest green is #228B22, which is rgb(34, 139, 34).