La Luna to Milk Foam Gradient
CSS
background: linear-gradient(90deg, #ffffe5 0%, #f6ffe8 100%);
From La Luna (#FFFFE5) to Milk Foam (#F6FFE8). 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 | |
|---|---|---|---|---|---|
| La Luna | #FFFFE5 | 255, 255, 229 | 60°, 100%, 95% | 0, 0, 10, 0 | |
| 25% (near Wedding Dress) | #FDFFE6 | 253, 255, 230 | 65°, 100%, 95% | 1, 0, 10, 0 | |
| 50% (near Wedding Dress) | #FBFFE7 | 251, 255, 231 | 70°, 100%, 95% | 2, 0, 9, 0 | |
| 75% (near Milk Foam) | #F8FFE7 | 248, 255, 231 | 78°, 100%, 95% | 3, 0, 9, 0 | |
| Milk Foam | #F6FFE8 | 246, 255, 232 | 83°, 100%, 95% | 4, 0, 9, 0 |
Halfway along, the gradient is #FBFFE7, closest to the named color Wedding Dress. 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, #ffffe5, #f6ffe8) - Diagonal:
linear-gradient(135deg, #ffffe5, #f6ffe8) - Radial, from the center out:
radial-gradient(circle, #ffffe5, #f6ffe8) - Tailwind CSS:
bg-gradient-to-r from-[#ffffe5] to-[#f6ffe8]
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 La Luna to Milk Foam gradient?
It starts at #FFFFE5 (La Luna) and ends at #F6FFE8 (Milk Foam), with #FBFFE7 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ffffe5, #f6ffe8) runs from Milk Foam on the left to La Luna on the right.