008000 (green) — RGB, HSL, CMYK and Contrast

Every value recomputed from the hex code · WCAG 2.1 contrast ratios

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.

008000

Notation conversions

NotationValue
HEX008000
RGBrgb(0, 128, 0)
HSLhsl(120, 100%, 25%)
CMYKcmyk(100%, 0%, 100%, 50%)
Relative luminance0.1544
Perceived brightness29.5 / 100
R=0 G=128 B=0 · hue 120.0° · saturation 100.0% · lightness 25.1%

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.

AgainstHexRatioAA textAA largeAAA text
#FFFFFFwhite5.14:1passpassfail
#000000black4.09:1failpassfail

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.

StepHexHSLvs white text
shade -30 #000000hsl(120, 100%, 0%)21.00:1
shade -20 #001a00hsl(120, 100%, 5%)18.30:1
shade -10 #004d00hsl(120, 100%, 15%)10.19:1
tint +10 #00b300hsl(120, 100%, 35%)2.82:1
tint +20 #00e600hsl(120, 100%, 45%)1.70:1
tint +30 #1aff1ahsl(120, 100%, 55%)1.37:1

Harmonies

SchemeHex
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.