Green yellow
Green yellow is a light, vivid color from the green family. Hex code #ADFF2F.
Color codes
- CSS name
greenyellow - HEX
#ADFF2F - RGB
rgb(173 255 47) - HSL
hsl(84 100% 59%) - HSB / HSV
hsb(84, 82%, 100%) - OKLCH
oklch(91.3% 0.233 130) - CMYK
cmyk(32%, 0%, 82%, 0%)
White text
1.22:1 · fails WCAG
Black text
17.12:1 · passes WCAG AAA
Shades
Complementary
Analogous
Triadic
About this color
Green yellow in CSS and design
Green yellow is a light, vivid color from the green family. Green yellow is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.
Use it in CSS by name or by any of its codes; these all give the same color:
color: greenyellow;
color: #ADFF2F;
color: rgb(173 255 47);
color: hsl(84 100% 59%);For text on green yellow, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.
More tools
Work with this color
- Color picker and converterPick a color and get HEX, RGB, HSL, HSB, CMYK and OKLCH, plus shades and harmonies.
- Contrast checkerCheck text and background colors against WCAG AA and AAA, and fix failing ones.
- CSS color namesAll 148 named colors with hex codes, shades, contrast and matching palettes.
- Palette generatorBuild a color palette from harmony rules, with shades and CSS variables.
Frequently asked questions
What is the hex code for green yellow?
#ADFF2F. In CSS you can also use the keyword greenyellow, which works in every browser.
What is green yellow in RGB and HSL?
In RGB it is rgb(173 255 47), in HSL hsl(84 100% 59%). For print, cmyk(32%, 0%, 82%, 0%) is a starting point, but CMYK depends on paper and ink, so check with your printer.
Should I use black or white text on green yellow?
Black text works better: it has a contrast ratio of 17.12:1 and passes WCAG AAA. White text reaches 1.22:1.
Which colors go with green yellow?
Its complementary color is #EDD9FE, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #FDE444 and #87FFC3. The palette generator builds more combinations.