Yellow Mellow to Glorious Green Glitter Gradient
CSS
background: linear-gradient(90deg, #f0d31e 0%, #aaee11 100%);
From Yellow Mellow (#F0D31E) to Glorious Green Glitter (#AAEE11). The two hues are 27° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Yellow Mellow | #F0D31E | 240, 211, 30 | 52°, 88%, 53% | 0, 12, 88, 6 | |
| 25% (near Holy Grail) | #DFDA1B | 223, 218, 27 | 58°, 78%, 49% | 0, 2, 88, 13 | |
| 50% (near Sun Flooded Woods) | #CDE118 | 205, 225, 24 | 66°, 81%, 49% | 9, 0, 89, 12 | |
| 75% (near Sour Green) | #BCE714 | 188, 231, 20 | 72°, 84%, 49% | 19, 0, 91, 9 | |
| Glorious Green Glitter | #AAEE11 | 170, 238, 17 | 78°, 87%, 50% | 29, 0, 93, 7 |
Halfway along, the gradient is #CDE118, closest to the named color Sun Flooded Woods. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.06:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f0d31e, #aaee11) - Diagonal:
linear-gradient(135deg, #f0d31e, #aaee11) - Radial, from the center out:
radial-gradient(circle, #f0d31e, #aaee11) - Tailwind CSS:
bg-gradient-to-r from-[#f0d31e] to-[#aaee11]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Yellow Mellow to Glorious Green Glitter gradient?
It starts at #F0D31E (Yellow Mellow) and ends at #AAEE11 (Glorious Green Glitter), with #CDE118 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f0d31e, #aaee11) runs from Glorious Green Glitter on the left to Yellow Mellow on the right.