Papaya to Corn Gradient
CSS
background: linear-gradient(90deg, #fe985c 0%, #fbec5d 100%);
From Papaya (#FE985C) to Corn (#FBEC5D). 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 | |
|---|---|---|---|---|---|
| Papaya | #FE985C | 254, 152, 92 | 22°, 99%, 68% | 0, 40, 64, 0 | |
| 25% (near Rajah) | #FDAD5C | 253, 173, 92 | 30°, 98%, 68% | 0, 32, 64, 1 | |
| 50% (near Mellow Drama) | #FDC25D | 253, 194, 93 | 38°, 98%, 68% | 0, 23, 63, 1 | |
| 75% (near Naples Yellow) | #FCD75D | 252, 215, 93 | 46°, 96%, 68% | 0, 15, 63, 1 | |
| Corn | #FBEC5D | 251, 236, 93 | 54°, 95%, 67% | 0, 6, 63, 2 |
Halfway along, the gradient is #FDC25D, closest to the named color Mellow Drama. 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.75:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #fe985c, #fbec5d) - Diagonal:
linear-gradient(135deg, #fe985c, #fbec5d) - Radial, from the center out:
radial-gradient(circle, #fe985c, #fbec5d) - Tailwind CSS:
bg-gradient-to-r from-[#fe985c] to-[#fbec5d]
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 Papaya to Corn gradient?
It starts at #FE985C (Papaya) and ends at #FBEC5D (Corn), with #FDC25D in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fe985c, #fbec5d) runs from Corn on the left to Papaya on the right.