Casino Lights to Lime Mist Gradient
CSS
background: linear-gradient(90deg, #f9f2b3 0%, #ddffaa 100%);
From Casino Lights (#F9F2B3) 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 | |
|---|---|---|---|---|---|
| Casino Lights | #F9F2B3 | 249, 242, 179 | 54°, 85%, 84% | 0, 3, 28, 2 | |
| 25% (near Yellow Chalk) | #F2F5B1 | 242, 245, 177 | 63°, 77%, 83% | 1, 0, 28, 4 | |
| 50% (near Yellow Chalk) | #EBF9AF | 235, 249, 175 | 71°, 86%, 83% | 6, 0, 30, 2 | |
| 75% (near Lime Mist) | #E4FCAC | 228, 252, 172 | 78°, 93%, 83% | 10, 0, 32, 1 | |
| Lime Mist | #DDFFAA | 221, 255, 170 | 84°, 100%, 83% | 13, 0, 33, 0 |
Halfway along, the gradient is #EBF9AF, 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.03:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f9f2b3, #ddffaa) - Diagonal:
linear-gradient(135deg, #f9f2b3, #ddffaa) - Radial, from the center out:
radial-gradient(circle, #f9f2b3, #ddffaa) - Tailwind CSS:
bg-gradient-to-r from-[#f9f2b3] 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 Casino Lights to Lime Mist gradient?
It starts at #F9F2B3 (Casino Lights) and ends at #DDFFAA (Lime Mist), with #EBF9AF in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f9f2b3, #ddffaa) runs from Lime Mist on the left to Casino Lights on the right.