Safety Orange to Star Gradient
CSS
background: linear-gradient(90deg, #ff6600 0%, #ffe500 100%);
From Safety Orange (#FF6600) to Star (#FFE500). 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 | |
|---|---|---|---|---|---|
| Safety Orange | #FF6600 | 255, 102, 0 | 24°, 100%, 50% | 0, 60, 100, 0 | |
| 25% (near Orange Juice) | #FF8600 | 255, 134, 0 | 32°, 100%, 50% | 0, 47, 100, 0 | |
| 50% (near Cheese) | #FFA600 | 255, 166, 0 | 39°, 100%, 50% | 0, 35, 100, 0 | |
| 75% (near Citrus Splash) | #FFC500 | 255, 197, 0 | 46°, 100%, 50% | 0, 23, 100, 0 | |
| Star | #FFE500 | 255, 229, 0 | 54°, 100%, 50% | 0, 10, 100, 0 |
Halfway along, the gradient is #FFA600, closest to the named color Cheese. 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 2.30:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ff6600, #ffe500) - Diagonal:
linear-gradient(135deg, #ff6600, #ffe500) - Radial, from the center out:
radial-gradient(circle, #ff6600, #ffe500) - Tailwind CSS:
bg-gradient-to-r from-[#ff6600] to-[#ffe500]
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 Safety Orange to Star gradient?
It starts at #FF6600 (Safety Orange) and ends at #FFE500 (Star), with #FFA600 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ff6600, #ffe500) runs from Star on the left to Safety Orange on the right.