100% free no uploads no sign-up

green yellow color code

The hex code for green yellow is #ADFF2F, which is rgb(173, 255, 47) in RGB and cmyk(32%, 0%, 82%, 0%) in CMYK. It's a medium, vivid green. It is a built-in CSS colour, so you can also write it as “greenyellow”.

#ADFF2Fgreen yellow
White text: 1.22:1 ✗Black text: 17.12:1 ✓ AANearest name: green yellow

Move the sliders to find a lighter, darker or softer green yellow; the codes update as you go.

Green Yellow colour codes

HEX#ADFF2F
RGBrgb(173, 255, 47)
HSLhsl(84, 100%, 59%)
HSV / HSBhsv(84, 82%, 100%)
CMYKcmyk(32%, 0%, 82%, 0%)
Decimal11403055
CSS keywordgreenyellow

About green yellow

Green Yellow sits at a hue of 84° on the colour wheel, with 100% saturation and 59% lightness. That makes it a colour that sits between warm and cool: greens and purples like this can be styled warm or cool depending on what you put next to them.

For text, black reads better on green yellow. Green Yellow as text on a white background has a contrast ratio of 1.22:1, which fails the WCAG AA rule for body text (4.5:1) and fails the 3:1 rule for large text. On black it is 17.12:1, which passes AA for body text.

Tints and shades of green yellow

Tints mix green yellow with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.

#F7FFEA#EFFFD5#E6FFC1#DEFFAC#D6FF97#CEFF82#C6FF6D#BDFF59#B5FF44
green yellow #ADFF2F
#9CE62A#8ACC26#79B321#68991C#578018#456613#344D0E#233309#111A05

Colours that go with green yellow

Complementary — opposite on the colour wheel: maximum contrast

#ADFF2F#812FFF

Analogous — neighbours 30° either side: calm and natural

#FFE92F#ADFF2F#45FF2F

Triadic — three hues 120° apart: lively but balanced

#ADFF2F#2FADFF#FF2FAD

Split complementary — the two neighbours of the complement: contrast with less tension

#ADFF2F#2F45FF#E92FFF

Tetradic — four hues 90° apart: rich, use one as the main colour

#ADFF2F#2FFFE9#812FFF#FF2F45

Green Yellow text contrast

CombinationRatioAA normal (4.5:1)AA large (3:1)AAA (7:1)
green yellow on white1.22:1failfailfail
green yellow on black17.12:1passpasspass

Check green yellow against any other colour in the contrast checker.

How green yellow looks with colour blindness

Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.

normal #ADFF2Fprotanopia #FFEC00deuteranopia #FFE648tritanopia #B2F4DA

Use green yellow in code

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

Frequently asked questions

What is the hex code for green yellow?

Green Yellow is #ADFF2F (lowercase #adff2f). It's the official value of the CSS keyword “greenyellow”.

What is green yellow in RGB, HSL and CMYK?

RGB: rgb(173, 255, 47). HSL: hsl(84, 100%, 59%). CMYK: cmyk(32%, 0%, 82%, 0%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.

What colours go with green yellow?

Its complementary colour is #812FFF (close to blue violet), which gives the strongest contrast. For a calmer look, use the analogous colours #FFE92F and #45FF2F, or the triadic pair #2FADFF and #FF2FAD. Tints and shades of green yellow itself always work together.

Is green yellow a warm or cool colour?

Green Yellow has a hue of 84°, which makes it neither clearly warm nor cool.

Should I use black or white text on green yellow?

Black. Black text on green yellow has a contrast ratio of 17.12:1 and white text has 1.22:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

How do I use green yellow in CSS?

Write color: greenyellow; or color: #adff2f; — both give the same colour. Named colours work in every browser.

Colours similar to green yellow