Banana Milk to Lime Mist Gradient
CSS
background: linear-gradient(90deg, #fff7ad 0%, #ddffaa 100%);
From Banana Milk (#FFF7AD) to Lime Mist (#DDFFAA). The two hues are 30° 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 | |
|---|---|---|---|---|---|
| Banana Milk | #FFF7AD | 255, 247, 173 | 54°, 100%, 84% | 0, 3, 32, 0 | |
| 25% (near Yellow Chalk) | #F7F9AC | 247, 249, 172 | 62°, 87%, 83% | 1, 0, 31, 2 | |
| 50% (near Yellow Chalk) | #EEFBAC | 238, 251, 172 | 70°, 91%, 83% | 5, 0, 31, 2 | |
| 75% (near Lime Mist) | #E6FDAB | 230, 253, 171 | 77°, 95%, 83% | 9, 0, 32, 1 | |
| Lime Mist | #DDFFAA | 221, 255, 170 | 84°, 100%, 83% | 13, 0, 33, 0 |
Halfway along, the gradient is #EEFBAC, 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.01:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #fff7ad, #ddffaa) - Diagonal:
linear-gradient(135deg, #fff7ad, #ddffaa) - Radial, from the center out:
radial-gradient(circle, #fff7ad, #ddffaa) - Tailwind CSS:
bg-gradient-to-r from-[#fff7ad] 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 Banana Milk to Lime Mist gradient?
It starts at #FFF7AD (Banana Milk) and ends at #DDFFAA (Lime Mist), with #EEFBAC in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fff7ad, #ddffaa) runs from Lime Mist on the left to Banana Milk on the right.