Fondant to Moon Glow Gradient
CSS
background: linear-gradient(90deg, #f4e2cf 0%, #f5f3ce 100%);
From Fondant (#F4E2CF) to Moon Glow (#F5F3CE). The two hues are 26° 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 | |
|---|---|---|---|---|---|
| Fondant | #F4E2CF | 244, 226, 207 | 31°, 63%, 88% | 0, 7, 15, 4 | |
| 25% (near Pita) | #F4E6CF | 244, 230, 207 | 37°, 63%, 88% | 0, 6, 15, 4 | |
| 50% (near Yoghurt Brûlée) | #F5EBCF | 245, 235, 207 | 44°, 66%, 89% | 0, 4, 16, 4 | |
| 75% (near Clotted Cream) | #F5EFCE | 245, 239, 206 | 51°, 66%, 88% | 0, 2, 16, 4 | |
| Moon Glow | #F5F3CE | 245, 243, 206 | 57°, 66%, 88% | 0, 1, 16, 4 |
Halfway along, the gradient is #F5EBCF, closest to the named color Yoghurt Brûlée. 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.12:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f4e2cf, #f5f3ce) - Diagonal:
linear-gradient(135deg, #f4e2cf, #f5f3ce) - Radial, from the center out:
radial-gradient(circle, #f4e2cf, #f5f3ce) - Tailwind CSS:
bg-gradient-to-r from-[#f4e2cf] to-[#f5f3ce]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Fondant to Moon Glow gradient?
It starts at #F4E2CF (Fondant) and ends at #F5F3CE (Moon Glow), with #F5EBCF in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f4e2cf, #f5f3ce) runs from Moon Glow on the left to Fondant on the right.