Skip to content
Color Codes

CSS named color

GreenYellow Color Code

GreenYellow is a medium, vivid green with the hex code #ADFF2F. In RGB it is rgb(173, 255, 47), in HSL hsl(84, 100%, 59%) and in CMYK cmyk(32%, 0%, 82%, 0%).

GreenYellow
#ADFF2F

Color values

In CSS you can write it as the keyword greenyellow.

White text on GreenYellow has a contrast ratio of 1.23:1 and black text 17.12:1, so black text is the more readable choice.

The closest Tailwind CSS color is Lime 300 (#BEF264).

Use GreenYellow in CSS

.element {
  color: greenyellow;
  background-color: #adff2f;
  border-color: rgb(173, 255, 47);
}

Tints and shades of GreenYellow

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with GreenYellow

Color-wheel harmonies built from #ADFF2F. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on GreenYellow

Aa
White text
1.23:1
Fail
Aa
Black text
17.12:1
AAA
Check in the contrast checker

Colors similar to GreenYellow

Palettes with similar colors

Questions about GreenYellow

What is the hex code for GreenYellow?

The hex code for GreenYellow is #ADFF2F. Its RGB value is rgb(173, 255, 47) and its HSL value is hsl(84, 100%, 59%).

What colors go with GreenYellow?

The complementary color of GreenYellow is #822EFF. For a softer scheme try the analogous colors #FFEA2E and #43FF2E; for a balanced three-color scheme use the triadic colors #2EABFF and #FF2EAB.

Is GreenYellow readable as a text color?

On a white background GreenYellow has a contrast ratio of 1.23:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 17.12:1.

More green colors