Coconut Milk to Creamy Garlic Gradient
CSS
background: linear-gradient(90deg, #eeebe2 0%, #ecefe3 100%);
From Coconut Milk (#EEEBE2) to Creamy Garlic (#ECEFE3). The two hues are 30° 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 | |
|---|---|---|---|---|---|
| Coconut Milk | #EEEBE2 | 238, 235, 226 | 45°, 26%, 91% | 0, 1, 5, 7 | |
| 25% (near Coconut Milk) | #EEECE2 | 238, 236, 226 | 50°, 26%, 91% | 0, 1, 5, 7 | |
| 50% (near Ivory Wedding) | #EDEDE3 | 237, 237, 227 | 60°, 22%, 91% | 0, 0, 4, 7 | |
| 75% (near Creamy Garlic) | #EDEEE3 | 237, 238, 227 | 65°, 24%, 91% | 0, 0, 5, 7 | |
| Creamy Garlic | #ECEFE3 | 236, 239, 227 | 75°, 27%, 91% | 1, 0, 5, 6 |
Halfway along, the gradient is #EDEDE3, closest to the named color Ivory Wedding. 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, #eeebe2, #ecefe3) - Diagonal:
linear-gradient(135deg, #eeebe2, #ecefe3) - Radial, from the center out:
radial-gradient(circle, #eeebe2, #ecefe3) - Tailwind CSS:
bg-gradient-to-r from-[#eeebe2] to-[#ecefe3]
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 Coconut Milk to Creamy Garlic gradient?
It starts at #EEEBE2 (Coconut Milk) and ends at #ECEFE3 (Creamy Garlic), with #EDEDE3 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #eeebe2, #ecefe3) runs from Creamy Garlic on the left to Coconut Milk on the right.