Green
#008000About Green
Green is the hex color #008000, which translates to rgb(0, 128, 0) in RGB and hsl(120, 100%, 25%) in HSL. On the color wheel it sits at 120 degrees, with a saturation of 100 percent and a lightness of 25 percent. That combination gives Green a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.
How Green compares
Green is exactly the CSS keyword green, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is green-600 (#00A63E), at a distance of 16.5. Inside this library the closest neighbour is India Green at 3.2. Sorted by lightness, Green is number 3 of the 30 green colors here.
Text on Green
One of the five common text colors below clears WCAG AA for normal text on Green, led by White at 5.14:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Green already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 5.14:1 | Pass | Pass | Fail |
| Ink black #0F0F12 | 3.72:1 | Fail | Pass | Fail |
| Mid grey #6B7280 | 1.06:1 | Fail | Fail | Fail |
| Dark grey #374151 | 2.01:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 4.15:1 | Fail | Pass | Fail |
Building a palette around Green
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Green for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.
Full values for Green
| Format | Value |
|---|---|
| HEX | #008000 |
| RGB | rgb(0, 128, 0) |
| HSL | hsl(120, 100%, 25%) |
| HSV | hsv(120, 100%, 50%) |
| CMYK | cmyk(100%, 0%, 100%, 50%) |
| OKLCH | oklch(51.98% 0.1769 142.50) |
| CIELAB | lab(46.23 -51.70 49.90) |
Use Green in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.