Carrot Lava to Goldenrod Gradient
CSS
background: linear-gradient(90deg, #fc5a1f 0%, #fdcb18 100%);
From Carrot Lava (#FC5A1F) to Goldenrod (#FDCB18). The two hues are 31° 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 | |
|---|---|---|---|---|---|
| Carrot Lava | #FC5A1F | 252, 90, 31 | 16°, 97%, 55% | 0, 64, 88, 1 | |
| 25% (near Pumpkin) | #FC761D | 252, 118, 29 | 24°, 97%, 55% | 0, 53, 88, 1 | |
| 50% (near Dragon Ball) | #FD931C | 253, 147, 28 | 32°, 98%, 55% | 0, 42, 89, 1 | |
| 75% (near Sultan Gold) | #FDAF1A | 253, 175, 26 | 39°, 98%, 55% | 0, 31, 90, 1 | |
| Goldenrod | #FDCB18 | 253, 203, 24 | 47°, 98%, 54% | 0, 20, 91, 1 |
Halfway along, the gradient is #FD931C, closest to the named color Dragon Ball. 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.07:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #fc5a1f, #fdcb18) - Diagonal:
linear-gradient(135deg, #fc5a1f, #fdcb18) - Radial, from the center out:
radial-gradient(circle, #fc5a1f, #fdcb18) - Tailwind CSS:
bg-gradient-to-r from-[#fc5a1f] to-[#fdcb18]
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 Carrot Lava to Goldenrod gradient?
It starts at #FC5A1F (Carrot Lava) and ends at #FDCB18 (Goldenrod), with #FD931C in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fc5a1f, #fdcb18) runs from Goldenrod on the left to Carrot Lava on the right.