Oat Milk to Gentle Frost Gradient
CSS
background: linear-gradient(90deg, #dedacd 0%, #dce0cd 100%);
From Oat Milk (#DEDACD) to Gentle Frost (#DCE0CD). The two hues are 27° 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 | |
|---|---|---|---|---|---|
| Oat Milk | #DEDACD | 222, 218, 205 | 46°, 20%, 84% | 0, 2, 8, 13 | |
| 25% (near Cocoon) | #DEDCCD | 222, 220, 205 | 53°, 20%, 84% | 0, 1, 8, 13 | |
| 50% (near Cocoon) | #DDDDCD | 221, 221, 205 | 60°, 19%, 84% | 0, 0, 7, 13 | |
| 75% (near Gentle Frost) | #DDDFCD | 221, 223, 205 | 67°, 22%, 84% | 1, 0, 8, 13 | |
| Gentle Frost | #DCE0CD | 220, 224, 205 | 73°, 23%, 84% | 2, 0, 8, 12 |
Halfway along, the gradient is #DDDDCD, closest to the named color Cocoon. 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.04:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #dedacd, #dce0cd) - Diagonal:
linear-gradient(135deg, #dedacd, #dce0cd) - Radial, from the center out:
radial-gradient(circle, #dedacd, #dce0cd) - Tailwind CSS:
bg-gradient-to-r from-[#dedacd] to-[#dce0cd]
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 Oat Milk to Gentle Frost gradient?
It starts at #DEDACD (Oat Milk) and ends at #DCE0CD (Gentle Frost), with #DDDDCD in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #dedacd, #dce0cd) runs from Gentle Frost on the left to Oat Milk on the right.