Lawn green color (#7CFC00)
#7CFC00 (Lawn green) is a vivid green colour. It is rgb(124, 252, 0) in RGB and hsl(90, 100%, 49%) in HSL. Text in black reads better on it: the contrast is 15.78:1 against black and 1.33: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{#7CFC00}:\quad R=\mathrm{7C}_{16}=124,\ G=\mathrm{FC}_{16}=252,\ 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{#8000FC} - 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{#7CFC00} = \mathrm{rgb}(124, 252, 0) \]
\[ \mathrm{#7CFC00}:\quad R=\mathrm{7C}_{16}=124,\ G=\mathrm{FC}_{16}=252,\ B=\mathrm{00}_{16}=0 \]
\[ H=90^\circ,\quad S=100\%,\quad L=49\% \]
\[ 90^\circ + 180^\circ = 270^\circ ;\Rightarrow; \mathrm{#8000FC} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.33:1\ \text{(on white)} \]Lawn green in every colour format
| Format | Value |
|---|---|
| HEX | #7CFC00 |
| RGB | rgb(124, 252, 0) |
| RGB (percent) | rgb(48.6%, 98.8%, 0.0%) |
| HSL | hsl(90, 100%, 49%) |
| HSV / HSB | hsv(90, 100%, 99%) |
| CMYK | cmyk(51%, 0%, 100%, 1%) |
| Decimal | 8190976 |
| Description | vivid green |
| CSS name | lawngreen |
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.33:1 | fail | fail | fail | fail |
| Black text | 15.78:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #152A00 #295400 #3E7E00 #53A800 #67D200 |
| This colour | #7CFC00 |
| Tints (mixed with white) | #92FD2B #A8FD55 #BEFE80 #D3FEAA #E9FFD5 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #FFE600 | 59 |
| Deuteranopia | #F5DB38 | 61 |
| Tritanopia | #75F2D6 | 86 |
| Grayscale | #DFDFDF | - |
Nearest named colours
| Name | Hex |
|---|---|
| Chartreuse | #7FFF00 |
| Green yellow | #ADFF2F |
| Lime | #00FF00 |
| Lime green | #32CD32 |
Questions
What is the RGB value of #7CFC00?
rgb(124, 252, 0): red 124, green 252, blue 0.
What is the HSL value of #7CFC00?
hsl(90, 100%, 49%): a hue of 90°, 100% saturation and 49% lightness.
What is the complementary colour of #7CFC00?
#8000FC, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #8303FF.
Should I use white or black text on #7CFC00?
Black. White gives 1.33:1 and black 15.78:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #7CFC00?
cmyk(51%, 0%, 100%, 1%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #7CFC00 a named colour?
Yes: it is the CSS colour name "lawngreen".