Persian Melon to Yellow Mana Gradient
CSS
background: linear-gradient(90deg, #ffdcbf 0%, #fdfcbf 100%);
From Persian Melon (#FFDCBF) to Yellow Mana (#FDFCBF). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Persian Melon | #FFDCBF | 255, 220, 191 | 27°, 100%, 87% | 0, 14, 25, 0 | |
| 25% (near Fricassée) | #FFE4BF | 255, 228, 191 | 35°, 100%, 87% | 0, 11, 25, 0 | |
| 50% (near Sun-Kissed Sands) | #FEECBF | 254, 236, 191 | 43°, 97%, 87% | 0, 7, 25, 0 | |
| 75% (near Jasmine) | #FEF4BF | 254, 244, 191 | 50°, 97%, 87% | 0, 4, 25, 0 | |
| Yellow Mana | #FDFCBF | 253, 252, 191 | 59°, 94%, 87% | 0, 0, 25, 1 |
Halfway along, the gradient is #FEECBF, closest to the named color Sun-Kissed Sands. 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.22:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ffdcbf, #fdfcbf) - Diagonal:
linear-gradient(135deg, #ffdcbf, #fdfcbf) - Radial, from the center out:
radial-gradient(circle, #ffdcbf, #fdfcbf) - Tailwind CSS:
bg-gradient-to-r from-[#ffdcbf] to-[#fdfcbf]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Persian Melon to Yellow Mana gradient?
It starts at #FFDCBF (Persian Melon) and ends at #FDFCBF (Yellow Mana), with #FEECBF in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ffdcbf, #fdfcbf) runs from Yellow Mana on the left to Persian Melon on the right.