Yoghurt Brûlée to Race the Sun Gradient
CSS
background: linear-gradient(90deg, #f5e9ce 0%, #eef3d0 100%);
From Yoghurt Brûlée (#F5E9CE) to Race the Sun (#EEF3D0). 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 | |
|---|---|---|---|---|---|
| Yoghurt Brûlée | #F5E9CE | 245, 233, 206 | 42°, 66%, 88% | 0, 5, 16, 4 | |
| 25% (near Clotted Cream) | #F3ECCF | 243, 236, 207 | 48°, 60%, 88% | 0, 3, 15, 5 | |
| 50% (near Clotted Cream) | #F2EECF | 242, 238, 207 | 53°, 57%, 88% | 0, 2, 14, 5 | |
| 75% (near Race the Sun) | #F0F1D0 | 240, 241, 208 | 62°, 54%, 88% | 0, 0, 14, 5 | |
| Race the Sun | #EEF3D0 | 238, 243, 208 | 69°, 59%, 88% | 2, 0, 14, 5 |
Halfway along, the gradient is #F2EECF, closest to the named color Clotted Cream. 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.05:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f5e9ce, #eef3d0) - Diagonal:
linear-gradient(135deg, #f5e9ce, #eef3d0) - Radial, from the center out:
radial-gradient(circle, #f5e9ce, #eef3d0) - Tailwind CSS:
bg-gradient-to-r from-[#f5e9ce] to-[#eef3d0]
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 Yoghurt Brûlée to Race the Sun gradient?
It starts at #F5E9CE (Yoghurt Brûlée) and ends at #EEF3D0 (Race the Sun), with #F2EECF in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f5e9ce, #eef3d0) runs from Race the Sun on the left to Yoghurt Brûlée on the right.