Basketball to Saffron Gradient
CSS
background: linear-gradient(90deg, #ee6730 0%, #f4c430 100%);
From Basketball (#EE6730) to Saffron (#F4C430). The two hues are 28° 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 | |
|---|---|---|---|---|---|
| Basketball | #EE6730 | 238, 103, 48 | 17°, 85%, 56% | 0, 57, 80, 7 | |
| 25% (near Bourbon Peach) | #F07E30 | 240, 126, 48 | 24°, 86%, 56% | 0, 48, 80, 6 | |
| 50% (near Nuclear Mango) | #F19630 | 241, 150, 48 | 32°, 87%, 57% | 0, 38, 80, 5 | |
| 75% (near Cheesy Cheetah) | #F3AD30 | 243, 173, 48 | 38°, 89%, 57% | 0, 29, 80, 5 | |
| Saffron | #F4C430 | 244, 196, 48 | 45°, 90%, 57% | 0, 20, 80, 4 |
Halfway along, the gradient is #F19630, closest to the named color Nuclear Mango. 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.93:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ee6730, #f4c430) - Diagonal:
linear-gradient(135deg, #ee6730, #f4c430) - Radial, from the center out:
radial-gradient(circle, #ee6730, #f4c430) - Tailwind CSS:
bg-gradient-to-r from-[#ee6730] to-[#f4c430]
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 Basketball to Saffron gradient?
It starts at #EE6730 (Basketball) and ends at #F4C430 (Saffron), with #F19630 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ee6730, #f4c430) runs from Saffron on the left to Basketball on the right.