Firefly Glow to Lime Mist Gradient
CSS
background: linear-gradient(90deg, #fff3a1 0%, #ddffaa 100%);
From Firefly Glow (#FFF3A1) to Lime Mist (#DDFFAA). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Firefly Glow | #FFF3A1 | 255, 243, 161 | 52°, 100%, 82% | 0, 5, 37, 0 | |
| 25% (near Yippie Ya Yellow) | #F7F6A3 | 247, 246, 163 | 59°, 84%, 80% | 0, 0, 34, 3 | |
| 50% (near Yellow Chalk) | #EEF9A6 | 238, 249, 166 | 68°, 87%, 81% | 4, 0, 33, 2 | |
| 75% (near Lime Mist) | #E6FCA8 | 230, 252, 168 | 76°, 93%, 82% | 9, 0, 33, 1 | |
| Lime Mist | #DDFFAA | 221, 255, 170 | 84°, 100%, 83% | 13, 0, 33, 0 |
Halfway along, the gradient is #EEF9A6, closest to the named color Yellow Chalk. 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.02:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #fff3a1, #ddffaa) - Diagonal:
linear-gradient(135deg, #fff3a1, #ddffaa) - Radial, from the center out:
radial-gradient(circle, #fff3a1, #ddffaa) - Tailwind CSS:
bg-gradient-to-r from-[#fff3a1] to-[#ddffaa]
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 Firefly Glow to Lime Mist gradient?
It starts at #FFF3A1 (Firefly Glow) and ends at #DDFFAA (Lime Mist), with #EEF9A6 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fff3a1, #ddffaa) runs from Lime Mist on the left to Firefly Glow on the right.