Northern Star to Milk Foam Gradient
CSS
background: linear-gradient(90deg, #ffffea 0%, #f6ffe8 100%);
From Northern Star (#FFFFEA) 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 | |
|---|---|---|---|---|---|
| Northern Star | #FFFFEA | 255, 255, 234 | 60°, 100%, 96% | 0, 0, 8, 0 | |
| 25% (near Northern Star) | #FDFFEA | 253, 255, 234 | 66°, 100%, 96% | 1, 0, 8, 0 | |
| 50% (near Wedding Dress) | #FBFFE9 | 251, 255, 233 | 71°, 100%, 96% | 2, 0, 9, 0 | |
| 75% (near Milk Foam) | #F8FFE9 | 248, 255, 233 | 79°, 100%, 96% | 3, 0, 9, 0 | |
| Milk Foam | #F6FFE8 | 246, 255, 232 | 83°, 100%, 95% | 4, 0, 9, 0 |
Halfway along, the gradient is #FBFFE9, 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.02:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ffffea, #f6ffe8) - Diagonal:
linear-gradient(135deg, #ffffea, #f6ffe8) - Radial, from the center out:
radial-gradient(circle, #ffffea, #f6ffe8) - Tailwind CSS:
bg-gradient-to-r from-[#ffffea] 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 Northern Star to Milk Foam gradient?
It starts at #FFFFEA (Northern Star) and ends at #F6FFE8 (Milk Foam), with #FBFFE9 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ffffea, #f6ffe8) runs from Milk Foam on the left to Northern Star on the right.