White Sand to Praise the Sun Gradient
CSS
background: linear-gradient(90deg, #f5ebd8 0%, #f3f4d9 100%);
From White Sand (#F5EBD8) to Praise the Sun (#F3F4D9). The two hues are 23° 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 | |
|---|---|---|---|---|---|
| White Sand | #F5EBD8 | 245, 235, 216 | 39°, 59%, 90% | 0, 4, 12, 4 | |
| 25% (near White Sand) | #F5EDD8 | 245, 237, 216 | 43°, 59%, 90% | 0, 3, 12, 4 | |
| 50% (near Lotus Flower) | #F4F0D9 | 244, 240, 217 | 51°, 55%, 90% | 0, 2, 11, 4 | |
| 75% (near Lotus Flower) | #F4F2D9 | 244, 242, 217 | 56°, 55%, 90% | 0, 1, 11, 4 | |
| Praise the Sun | #F3F4D9 | 243, 244, 217 | 62°, 55%, 90% | 0, 0, 11, 4 |
Halfway along, the gradient is #F4F0D9, closest to the named color Lotus Flower. 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.06:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f5ebd8, #f3f4d9) - Diagonal:
linear-gradient(135deg, #f5ebd8, #f3f4d9) - Radial, from the center out:
radial-gradient(circle, #f5ebd8, #f3f4d9) - Tailwind CSS:
bg-gradient-to-r from-[#f5ebd8] to-[#f3f4d9]
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 White Sand to Praise the Sun gradient?
It starts at #F5EBD8 (White Sand) and ends at #F3F4D9 (Praise the Sun), with #F4F0D9 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f5ebd8, #f3f4d9) runs from Praise the Sun on the left to White Sand on the right.