CSS named color
GreenYellow #ADFF2F
GreenYellow is a vivid yellow-green with the hex code #ADFF2F, which converts to rgb(173, 255, 47). Open #ADFF2F in the converter to tweak it.
GreenYellow color values
| HEX | #ADFF2F |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(173, 255, 47) |
| RGBA | rgba(173, 255, 47, 1) |
| 8-digit HEX | #ADFF2FFF |
| HSL | hsl(84, 100%, 59%) |
| HSV / HSB | 84°, 82%, 100% |
| CMYK | 32%, 0%, 82%, 0% |
| RGB 0–1 | 0.678, 1, 0.184 |
| Decimal | 11403055 |
| CSS keyword | greenyellow |
How #ADFF2F converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: AD → 173, FF → 255, 2F → 47. That gives rgb(173, 255, 47). The step-by-step guide explains the math.
Shades of GreenYellow
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of GreenYellow
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of GreenYellow on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.
Complementary
Analogous
Split-complementary
Triadic
Tetradic (square)
Contrast and accessibility
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | GreenYellow | 1.22:1 | Fail |
| Black | GreenYellow | 17.12:1 | AAA |
Use black text on a greenyellow background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use GreenYellow in CSS
.element {
color: greenyellow; /* keyword */
background-color: #ADFF2F; /* hex */
border-color: rgb(173 255 47 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #ADFF2F80 is GreenYellow at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for GreenYellow?
The CSS named color greenyellow is #ADFF2F in hexadecimal. In CSS you can write color: greenyellow; or color: #ADFF2F; — both produce the same pixel.
What is GreenYellow in RGB?
GreenYellow is rgb(173, 255, 47): red 173, green 255, blue 47 on the 0–255 scale. As normalized 0–1 floats that is (0.678, 1, 0.184).
Is white or black text more readable on GreenYellow?
Black text is more readable. White on #ADFF2F has a contrast ratio of 1.22:1 (Fail), black on #ADFF2F has 17.12:1 (AAA). WCAG AA needs 4.5:1 for normal text.