Green Yellow
Hex #ADFF2F, rgb(173 255 47). A green CSS named color.
Open in palette generatorGreen Yellow color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Green Yellow
Green Yellow is a very light vivid green with the hex code #ADFF2F. In RGB it is made of 173 red, 255 green and 47 blue; in HSL its hue is 84°, with 100% saturation and 59% lightness. Its perceptual lightness (OKLCH L) is 91.3%.
It is a CSS named color, so you can write "greenyellow" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.23:1 and against black 17.12:1, so black text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Green Yellow mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Green Yellow 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Green Yellow
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Complementary
Analogous
Split complementary
Contrast and readability
WCAG 2 contrast of Green Yellow with white and black. The readable text color on Green Yellow is black.
On white1.23:1
- AA fail
- AA Large fail
- AAA fail
- UI 3:1 fail
APCA Lc 11
On black17.12:1
- AA pass
- AA Large pass
- AAA pass
- UI 3:1 pass
APCA Lc -93
Test any pair in the contrast checker.
Color blindness preview
How Green Yellow appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#FFEC00
- Deuteranopia#FFE648
- Tritanopia#B2F4DA
- Protanomaly#F6F00D
- Deuteranomaly#F1EC42
- Tritanomaly#ACFA9D
- Achromatopsia#E8E8E8
Colors similar to Green Yellow
The closest named colors by perceptual difference (OKLab).
Use Green Yellow in CSS and Tailwind
.green-yellow {
color: greenyellow; /* #ADFF2F */
background-color: rgb(173 255 47);
border-color: oklch(91.3% 0.233 130);
}/* Tailwind CSS v4: bg-green-yellow-500, text-green-yellow-700... */
@theme {
--color-green-yellow-50: #F3FFE8;
--color-green-yellow-100: #ADFF2F;
--color-green-yellow-200: #9CEC00;
--color-green-yellow-300: #89CF00;
--color-green-yellow-400: #6FA900;
--color-green-yellow-500: #5E9100;
--color-green-yellow-600: #507D00;
--color-green-yellow-700: #406500;
--color-green-yellow-800: #335100;
--color-green-yellow-900: #284200;
--color-green-yellow-950: #0D1B00;
}
<!-- or the exact color, no config -->
<div class="bg-[#ADFF2F] text-[#000000]">…</div>