008000 (green) — RGB, HSL, CMYK and Contrast
A green at 25% lightness and 100% saturation, which puts it at 5.14:1 against white and 4.09:1 against black. The tables below give the notation conversions, the tints and shades that keep the hue intact, and the harmonies that pair with it.
Notation conversions
| Notation | Value |
|---|---|
| HEX | 008000 |
| RGB | rgb(0, 128, 0) |
| HSL | hsl(120, 100%, 25%) |
| CMYK | cmyk(100%, 0%, 100%, 50%) |
| Relative luminance | 0.1544 |
| Perceived brightness | 29.5 / 100 |
Contrast against pure white and pure black
Pair this colour with the two extremes to see which is the safer text partner. AA needs 4.5:1 for body text and 3:1 for large text; AAA raises that to 7:1 and 4.5:1.
| Against | Hex | Ratio | AA text | AA large | AAA text |
|---|---|---|---|---|---|
| #FFFFFF | white | 5.14:1 | pass | pass | fail |
| #000000 | black | 4.09:1 | fail | pass | fail |
Tints and shades
Lightness moves in ten-point steps while hue and saturation stay fixed, which keeps the colour recognisable in a scale. The last column is the ratio against white text, useful for deciding where a scale stops working as a background.
| Step | Hex | HSL | vs white text |
|---|---|---|---|
| shade -30 | #000000 | hsl(120, 100%, 0%) | 21.00:1 |
| shade -20 | #001a00 | hsl(120, 100%, 5%) | 18.30:1 |
| shade -10 | #004d00 | hsl(120, 100%, 15%) | 10.19:1 |
| tint +10 | #00b300 | hsl(120, 100%, 35%) | 2.82:1 |
| tint +20 | #00e600 | hsl(120, 100%, 45%) | 1.70:1 |
| tint +30 | #1aff1a | hsl(120, 100%, 55%) | 1.37:1 |
Harmonies
| Scheme | Hex |
|---|---|
| Complementary | #800080 |
| Analogous −30 | #408000 |
| Analogous +30 | #008040 |
| Triadic −120 | #800000 |
| Triadic +120 | #000080 |
Measured rather than eyeballed: hue 120.0°, saturation 100.0%, lightness 25.1%, relative luminance 0.1544 — four decimals is the precision the WCAG formula actually needs — and perceived brightness 29.5 out of 100. Entry 23 of 69 in this library, it scores 5.14:1 on white and 4.09:1 on black, a 1.05 spread. The complementary #800080 sits 180° away on the wheel, and the scale brackets it with #000000 below and #1aff1a above.
Nearby colours
Frequently asked questions
What text colour should sit on 008000?
Black gives 4.09:1 and white gives 5.14:1, so white wins at 5.14:1. That clears the 4.5:1 AA threshold for normal text, but not the 7:1 AAA threshold.
Do the CMYK numbers match a print workflow?
They are the naive conversion from RGB, which assumes no ink limit, no colour profile and no black generation strategy. Real print work needs a profile-aware conversion; the values here are the ones the converter reports and are best used as a starting point for a designer rather than a press-ready separations file.
Convert any other colour, or test a pair against each other, in the ColrShift colour converter and contrast checker. The colour library groups every entry on this site by hue family.