Golden Opportunity to Nuclear Acid Gradient
CSS
background: linear-gradient(90deg, #f7c070 0%, #ecf474 100%);
From Golden Opportunity (#F7C070) to Nuclear Acid (#ECF474). The two hues are 28° 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 | |
|---|---|---|---|---|---|
| Golden Opportunity | #F7C070 | 247, 192, 112 | 36°, 89%, 70% | 0, 22, 55, 3 | |
| 25% (near Golden Churro) | #F4CD71 | 244, 205, 113 | 42°, 86%, 70% | 0, 16, 54, 4 | |
| 50% (near Lightning Bug) | #F2DA72 | 242, 218, 114 | 49°, 83%, 70% | 0, 10, 53, 5 | |
| 75% (near Illuminating) | #EFE773 | 239, 231, 115 | 56°, 79%, 69% | 0, 3, 52, 6 | |
| Nuclear Acid | #ECF474 | 236, 244, 116 | 64°, 85%, 71% | 3, 0, 52, 4 |
Halfway along, the gradient is #F2DA72, 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.40:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f7c070, #ecf474) - Diagonal:
linear-gradient(135deg, #f7c070, #ecf474) - Radial, from the center out:
radial-gradient(circle, #f7c070, #ecf474) - Tailwind CSS:
bg-gradient-to-r from-[#f7c070] 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 Golden Opportunity to Nuclear Acid gradient?
It starts at #F7C070 (Golden Opportunity) and ends at #ECF474 (Nuclear Acid), with #F2DA72 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f7c070, #ecf474) runs from Nuclear Acid on the left to Golden Opportunity on the right.