Buttermilk to Milk Foam Gradient
CSS
background: linear-gradient(90deg, #fffee4 0%, #f6ffe8 100%);
From Buttermilk (#FFFEE4) to Milk Foam (#F6FFE8). 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 | |
|---|---|---|---|---|---|
| Buttermilk | #FFFEE4 | 255, 254, 228 | 58°, 100%, 95% | 0, 0, 11, 0 | |
| 25% (near Wedding in White) | #FDFEE5 | 253, 254, 229 | 62°, 93%, 95% | 0, 0, 10, 0 | |
| 50% (near Wedding Dress) | #FBFFE6 | 251, 255, 230 | 70°, 100%, 95% | 2, 0, 10, 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 #FBFFE6, 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, #fffee4, #f6ffe8) - Diagonal:
linear-gradient(135deg, #fffee4, #f6ffe8) - Radial, from the center out:
radial-gradient(circle, #fffee4, #f6ffe8) - Tailwind CSS:
bg-gradient-to-r from-[#fffee4] 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 Buttermilk to Milk Foam gradient?
It starts at #FFFEE4 (Buttermilk) and ends at #F6FFE8 (Milk Foam), with #FBFFE6 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fffee4, #f6ffe8) runs from Milk Foam on the left to Buttermilk on the right.