Citrus Splash to Nuclear Blast Gradient
CSS
background: linear-gradient(90deg, #ffc400 0%, #bbff00 100%);
From Citrus Splash (#FFC400) to Nuclear Blast (#BBFF00). 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 | |
|---|---|---|---|---|---|
| Citrus Splash | #FFC400 | 255, 196, 0 | 46°, 100%, 50% | 0, 23, 100, 0 | |
| 25% (near Under the Sun) | #EED300 | 238, 211, 0 | 53°, 100%, 47% | 0, 11, 100, 7 | |
| 50% (near Poisonous Pesto) | #DDE200 | 221, 226, 0 | 61°, 100%, 44% | 2, 0, 100, 11 | |
| 75% (near Leafy Lemon) | #CCF000 | 204, 240, 0 | 69°, 100%, 47% | 15, 0, 100, 6 | |
| Nuclear Blast | #BBFF00 | 187, 255, 0 | 76°, 100%, 50% | 27, 0, 100, 0 |
Halfway along, the gradient is #DDE200, closest to the named color Poisonous Pesto. 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.32:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ffc400, #bbff00) - Diagonal:
linear-gradient(135deg, #ffc400, #bbff00) - Radial, from the center out:
radial-gradient(circle, #ffc400, #bbff00) - Tailwind CSS:
bg-gradient-to-r from-[#ffc400] to-[#bbff00]
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 Citrus Splash to Nuclear Blast gradient?
It starts at #FFC400 (Citrus Splash) and ends at #BBFF00 (Nuclear Blast), with #DDE200 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ffc400, #bbff00) runs from Nuclear Blast on the left to Citrus Splash on the right.