Magma to Sunflower Island Gradient
CSS
background: linear-gradient(90deg, #ff4e01 0%, #ffcd01 100%);
Edit this gradient in the generator → Change the angle, add colors or switch to radial.
From Magma (#FF4E01) to Sunflower Island (#FFCD01). 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 | OKLCH | |
|---|---|---|---|---|---|---|
| Magma | #FF4E01 | 255, 78, 1 | 18°, 100%, 50% | 0, 69, 100, 0 | 66.9% 0.223 37 | |
| 25% (near Flush Orange) | #FF6E01 | 255, 110, 1 | 26°, 100%, 50% | 0, 57, 100, 0 | 70.6% 0.198 46 | |
| 50% (near Dark Orange (CSS)) | #FF8E01 | 255, 142, 1 | 33°, 100%, 50% | 0, 44, 100, 0 | 75.4% 0.178 59 | |
| 75% (near Imperial Yellow) | #FFAD01 | 255, 173, 1 | 41°, 100%, 50% | 0, 32, 100, 0 | 80.7% 0.170 75 | |
| Sunflower Island | #FFCD01 | 255, 205, 1 | 48°, 100%, 50% | 0, 20, 100, 0 | 86.7% 0.177 91 |
Halfway along, the gradient is #FF8E01, closest to the named color Dark Orange (CSS). 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.21:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ff4e01, #ffcd01) - Diagonal:
linear-gradient(135deg, #ff4e01, #ffcd01) - Radial, from the center out:
radial-gradient(circle, #ff4e01, #ffcd01) - Tailwind CSS:
bg-gradient-to-r from-[#ff4e01] to-[#ffcd01]
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 Magma to Sunflower Island gradient?
It starts at #FF4E01 (Magma) and ends at #FFCD01 (Sunflower Island), with #FF8E01 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ff4e01, #ffcd01) runs from Sunflower Island on the left to Magma on the right.