Green yellow #ADFF2F
Green yellow is one of the named colours in CSS, written greenyellow. Black text reaches 17.12:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | greenyellow |
|---|---|
| HEX | #ADFF2F |
| RGB | rgb(173 255 47) |
| HSL | hsl(84 100% 59%) |
| OKLCH | oklch(91.3% 0.233 130.0) |
| White text | 1.23:1 · body text AA Fail |
| Black text | 17.12:1 · body text AA Pass |
Colours that go with Green yellow
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Yellow (#FFF200), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Green yellow itself.
| Colour | HEX | Contrast with Green yellow | Body text AA |
|---|---|---|---|
| Black | #111314 | 15.19:1 | Pass |
| Dull Violet Black | #1E0E3F | 14.39:1 | Pass |
| Slate Color | #34454C | 8.15:1 | Pass |
| Deep Lyons Blue | #1C4286 | 7.88:1 | Pass |
| Red | #A72144 | 5.82:1 | Pass |
| Diamine Green | #1A7444 | 4.72:1 | Pass |
| Carmine | #CC1236 | 4.62:1 | Pass |
| Blue | #006EB8 | 4.37:1 | Fail |
| Cerulian Blue | #0093A5 | 3.00:1 | Fail |
| Light Brown Drab | #B59392 | 2.27:1 | Fail |
| Fresh Color | #F6917E | 1.85:1 | Fail |
| Cream Yellow | #FDBF68 | 1.33:1 | Fail |
Palettes with Yellow
- Combination #22 Yellow · Deep Lyons Blue
- Combination #62 Yellow · Black
- Combination #68 Light Brown Drab · Yellow
- Combination #154 Carmine · Yellow · Blue
- Combination #240 Fresh Color · Yellow · Cerulian Blue
- Combination #251 Red · Yellow · Diamine Green · Slate Color
- Combination #295 Cream Yellow · Yellow · Blue · Dull Violet Black
- Combination #313 Carmine · Yellow · Diamine Green · Black
Shades and tints of Green yellow
Nine lightness steps in OKLCH that keep the hue of Green yellow. Chroma is reduced only where sRGB cannot show it.
- 100#E6FFD0
- 200#B5FF56
- 300#9AE900
- 400#84C900
- 500#6DA600
- 600#548100
- 700#3E6200
- 800#294300
- 900#162700
:root {
--greenyellow-100: #E6FFD0;
--greenyellow-200: #B5FF56;
--greenyellow-300: #9AE900;
--greenyellow-400: #84C900;
--greenyellow-500: #6DA600;
--greenyellow-600: #548100;
--greenyellow-700: #3E6200;
--greenyellow-800: #294300;
--greenyellow-900: #162700;
}
Text that keeps Green yellow on screen
Text #162700 on #ADFF2F reaches 12.93:1, which passes WCAG AA for body text. Check it on a dashboard