Green
#008000rgb(0, 128, 0)hsl(120, 100%, 25%)
Green is #008000, rgb(0, 128, 0).
In CSS: green
1 of 2 backgrounds pass AA
- On whitePass5.14 : 1
- On ink blackFail3.72 : 1
About 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, or open the palette generator with Green locked and let it fill in the rest.
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) |
Frequently asked questions
What is the RGB value of Green?
Green (#008000) is rgb(0, 128, 0): 0 red, 128 green and 0 blue on the 0 to 255 scale. Green leads at 128 while red and blue both sit at 0, which puts the hue at 120 degrees. In HSL the same color is hsl(120, 100%, 25%).
What colour is #008000?
#008000 is Green, a dark green colour with a hue of 120 degrees, 100% saturation and 25% lightness. For print the CMYK breakdown is 100% cyan, 0% magenta, 100% yellow and 50% black. Its nearest neighbour in this library is India Green, 3.2 away in CIELAB, a difference you can see.
Is Green a CSS color name?
Yes. The keyword green is one of the 148 named colors in CSS Color Module Level 4, so color: green; renders exactly #008000.
What colors go with Green?
Opposite Green on the color wheel sits the complementary #800080 (Purple), the boldest accent by hue. For a calmer scheme use the analogous neighbours #408000 and #008040; for a balanced three-color scheme use the triadic pair #000080 (Navy) and #800000 (Maroon). Of these, #000080 has the most contrast against Green, at 3.12:1, enough for icons and large text.
What text color is readable on Green?
White (#FFFFFF) is the most readable on Green, at 5.14:1, which clears WCAG AA (4.5:1) but not AAA. 1 of the 5 common text colors tested passes AA for normal text.
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.