Popcorn to Nuclear Acid Gradient
CSS
background: linear-gradient(90deg, #f7d07a 0%, #ecf474 100%);
From Popcorn (#F7D07A) to Nuclear Acid (#ECF474). The two hues are 22° 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 | |
|---|---|---|---|---|---|
| Popcorn | #F7D07A | 247, 208, 122 | 41°, 89%, 72% | 0, 16, 51, 3 | |
| 25% (near Delicate Lemon) | #F4D979 | 244, 217, 121 | 47°, 85%, 72% | 0, 11, 50, 4 | |
| 50% (near Lightning Bug) | #F2E277 | 242, 226, 119 | 52°, 83%, 71% | 0, 7, 51, 5 | |
| 75% (near Illuminating) | #EFEB76 | 239, 235, 118 | 58°, 79%, 70% | 0, 2, 51, 6 | |
| Nuclear Acid | #ECF474 | 236, 244, 116 | 64°, 85%, 71% | 3, 0, 52, 4 |
Halfway along, the gradient is #F2E277, closest to the named color Lightning Bug. 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.25:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f7d07a, #ecf474) - Diagonal:
linear-gradient(135deg, #f7d07a, #ecf474) - Radial, from the center out:
radial-gradient(circle, #f7d07a, #ecf474) - Tailwind CSS:
bg-gradient-to-r from-[#f7d07a] to-[#ecf474]
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 Popcorn to Nuclear Acid gradient?
It starts at #F7D07A (Popcorn) and ends at #ECF474 (Nuclear Acid), with #F2E277 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f7d07a, #ecf474) runs from Nuclear Acid on the left to Popcorn on the right.