Green Yellow color (#ADFF2F)
Green Yellow is one of the 148 CSS named colors. Use the keyword greenyellow
anywhere CSS accepts a color, or its hex code #ADFF2F, which is rgb(173, 255, 47) in RGB.
It is a very light, vivid cool color with a hue angle of 84° on the HSL color wheel and a perceived lightness of 91% in OKLCH. On a green yellow background, black text gives the higher contrast at 17.12:1, which passes WCAG AA for normal text.
Green Yellow color codes
| CSS name | greenyellow |
|
|---|---|---|
| HEX | #ADFF2F |
|
| HEX (8-digit) | #ADFF2FFF |
|
| RGB | rgb(173, 255, 47) |
|
| HSL | hsl(84, 100%, 59%) |
|
| HSV / HSB | hsv(84, 82%, 100%) |
|
| OKLCH | oklch(91.3% 0.2335 130) |
|
| CMYK | cmyk(32.2%, 0%, 81.6%, 0%) |
Contrast with white and black
WCAG 2 contrast ratios and APCA lightness contrast (Lc) for green yellow used as text and as a background.
Tints and shades of green yellow
Tints mix green yellow with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.
Tints
Shades
Colors that go with green yellow
Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.
Complementary
Analogous
Triadic
Split-Complementary
Green Yellow with color blindness
Approximately how green yellow appears with each type of color vision deficiency. Test full designs with the color blindness simulator.
Using green yellow in CSS
.element {
color: greenyellow;
background-color: #adff2f;
border-color: rgb(173 255 47 / 50%);
outline-color: oklch(91.3% 0.2335 130);
}Similar named colors
See all shades of green or browse every CSS color name.