Chartreuse color (#7FFF00)
#7FFF00 (Chartreuse) is a vivid green colour. It is rgb(127, 255, 0) in RGB and hsl(90, 100%, 50%) in HSL. Text in black reads better on it: the contrast is 16.21:1 against black and 1.30:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#7FFF00}:\quad R=\mathrm{7F}_{16}=127,\ G=\mathrm{FF}_{16}=255,\ B=\mathrm{00}_{16}=0 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
90^\circ + 180^\circ = 270^\circ ;\Rightarrow; \mathrm{#8000FF} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#7FFF00} = \mathrm{rgb}(127, 255, 0) \]
\[ \mathrm{#7FFF00}:\quad R=\mathrm{7F}_{16}=127,\ G=\mathrm{FF}_{16}=255,\ B=\mathrm{00}_{16}=0 \]
\[ H=90^\circ,\quad S=100\%,\quad L=50\% \]
\[ 90^\circ + 180^\circ = 270^\circ ;\Rightarrow; \mathrm{#8000FF} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.30:1\ \text{(on white)} \]Chartreuse in every colour format
| Format | Value |
|---|---|
| HEX | #7FFF00 |
| RGB | rgb(127, 255, 0) |
| RGB (percent) | rgb(49.8%, 100.0%, 0.0%) |
| HSL | hsl(90, 100%, 50%) |
| HSV / HSB | hsv(90, 100%, 100%) |
| CMYK | cmyk(50%, 0%, 100%, 0%) |
| Decimal | 8388352 |
| Description | vivid green |
| CSS name | chartreuse |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 1.30:1 | fail | fail | fail | fail |
| Black text | 16.21:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #152A00 #2A5500 #408000 #55AA00 #6AD500 |
| This colour | #7FFF00 |
| Tints (mixed with white) | #94FF2B #AAFF55 #BFFF80 #D4FFAA #EAFFD5 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #FFE800 | 58 |
| Deuteranopia | #F8DE39 | 61 |
| Tritanopia | #79F5D9 | 87 |
| Grayscale | #E2E2E2 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Lawn green | #7CFC00 |
| Green yellow | #ADFF2F |
| Lime | #00FF00 |
| Lime green | #32CD32 |
Questions
What is the RGB value of #7FFF00?
rgb(127, 255, 0): red 127, green 255, blue 0.
What is the HSL value of #7FFF00?
hsl(90, 100%, 50%): a hue of 90°, 100% saturation and 50% lightness.
What is the complementary colour of #7FFF00?
#8000FF, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #8000FF.
Should I use white or black text on #7FFF00?
Black. White gives 1.30:1 and black 16.21:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #7FFF00?
cmyk(50%, 0%, 100%, 0%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #7FFF00 a named colour?
Yes: it is the CSS colour name "chartreuse".