Green yellow color (#ADFF2F)
#ADFF2F (Green yellow) is a vivid green colour. It is rgb(173, 255, 47) in RGB and hsl(84, 100%, 59%) in HSL. Text in black reads better on it: the contrast is 17.12:1 against black and 1.23: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{#ADFF2F}:\quad R=\mathrm{AD}_{16}=173,\ G=\mathrm{FF}_{16}=255,\ B=\mathrm{2F}_{16}=47 - 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.
84^\circ + 180^\circ = 264^\circ ;\Rightarrow; \mathrm{#812FFF} - 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{#ADFF2F} = \mathrm{rgb}(173, 255, 47) \]
\[ \mathrm{#ADFF2F}:\quad R=\mathrm{AD}_{16}=173,\ G=\mathrm{FF}_{16}=255,\ B=\mathrm{2F}_{16}=47 \]
\[ H=84^\circ,\quad S=100\%,\quad L=59\% \]
\[ 84^\circ + 180^\circ = 264^\circ ;\Rightarrow; \mathrm{#812FFF} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.23:1\ \text{(on white)} \]Green yellow in every colour format
| Format | Value |
|---|---|
| HEX | #ADFF2F |
| RGB | rgb(173, 255, 47) |
| RGB (percent) | rgb(67.8%, 100.0%, 18.4%) |
| HSL | hsl(84, 100%, 59%) |
| HSV / HSB | hsv(84, 82%, 100%) |
| CMYK | cmyk(32%, 0%, 82%, 0%) |
| Decimal | 11403055 |
| Description | vivid green |
| CSS name | greenyellow |
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.23:1 | fail | fail | fail | fail |
| Black text | 17.12:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1D2A08 #3A5510 #578018 #73AA1F #90D527 |
| This colour | #ADFF2F |
| Tints (mixed with white) | #BBFF52 #C8FF74 #D6FF97 #E4FFBA #F1FFDC |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #FFEC00 | 41 |
| Deuteranopia | #FFE648 | 45 |
| Tritanopia | #B2F4DA | 81 |
| Grayscale | #E8E8E8 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Lawn green | #7CFC00 |
| Chartreuse | #7FFF00 |
| Yellow green | #9ACD32 |
| Lime green | #32CD32 |
Questions
What is the RGB value of #ADFF2F?
rgb(173, 255, 47): red 173, green 255, blue 47.
What is the HSL value of #ADFF2F?
hsl(84, 100%, 59%): a hue of 84°, 100% saturation and 59% lightness.
What is the complementary colour of #ADFF2F?
#812FFF, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #5200D0.
Should I use white or black text on #ADFF2F?
Black. White gives 1.23:1 and black 17.12:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #ADFF2F?
cmyk(32%, 0%, 82%, 0%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #ADFF2F a named colour?
Yes: it is the CSS colour name "greenyellow".