Green Color
Green is a vivid, medium green with hex code #008000. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Green color codes
| HEX | #008000 | |
|---|---|---|
| RGB | rgb(0, 128, 0) | |
| HSL | hsl(120, 100%, 25%) | |
| HSV | 120°, 100%, 50% | |
| CMYK | 100%, 0%, 100%, 50% | |
| OKLCH | oklch(52% 0.177 142.5) | |
| Tailwind | bg-[#008000] |
Closest Tailwind colour: green-700 (#15803D). Convert any colour in the Color Converter.
About Green
Green (#008000) is a vivid, medium green. In the RGB model it is 0% red, 50% green and 0% blue; its hue angle is 120°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 100% cyan, 0% magenta, 100% yellow and 50% black.
It is a cool colour and appears in our shades of green. Text on it reads best in white (5.1:1 contrast).
Green tints and shades
Tints mix green with white; shades mix it with black. Click to copy.
Colors that go with Green
Complementary
Analogous
Triadic
Split complementary
Green contrast
- AA text pass
- AAA text fail
- AA large pass
- AA text fail
- AAA text fail
- AA large pass
Using Green in CSS
.brand {
color: #008000;
}
.button {
background: #008000;
color: #fff;
}
.hero {
background: linear-gradient(135deg, #59ac59, #008000, #005300);
}Similar colors
Gradients with Green
Green FAQ
What color is Green?
Green is a vivid, medium green. Its hex code is #008000 and it is a cool colour.
What is the hex code for Green?
The hex code for Green is #008000. In RGB that is rgb(0, 128, 0), and in HSL hsl(120, 100%, 25%).
What is Green in CMYK?
Green is roughly C 100%, M 0%, Y 100%, K 50% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Green?
Its complementary colour is #800080. For a calmer palette use its analogous colours #408000 and #008040, or tints and shades of Green itself.
Is white or black text better on Green?
White text reads better on Green: 5.1:1 contrast, against 4.1:1 for black. WCAG asks for 4.5:1 for body text.
