Magma to Sunflower Island Gradient
CSS
background: linear-gradient(90deg, #ff4e01 0%, #ffcd01 100%);
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 | |
|---|---|---|---|---|---|
| Magma | #FF4E01 | 255, 78, 1 | 18°, 100%, 50% | 0, 69, 100, 0 | |
| 25% (near Flush Orange) | #FF6E01 | 255, 110, 1 | 26°, 100%, 50% | 0, 57, 100, 0 | |
| 50% (near Vitamin C) | #FF8E01 | 255, 142, 1 | 33°, 100%, 50% | 0, 44, 100, 0 | |
| 75% (near Imperial Yellow) | #FFAD01 | 255, 173, 1 | 41°, 100%, 50% | 0, 32, 100, 0 | |
| Sunflower Island | #FFCD01 | 255, 205, 1 | 48°, 100%, 50% | 0, 20, 100, 0 |
Halfway along, the gradient is #FF8E01, closest to the named color Vitamin C. 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.