Nuclear Acid to Lima Gradient
CSS
background: linear-gradient(90deg, #ecf474 0%, #a9f971 100%);
From Nuclear Acid (#ECF474) to Lima (#A9F971). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Nuclear Acid | #ECF474 | 236, 244, 116 | 64°, 85%, 71% | 3, 0, 52, 4 | |
| 25% (near Mindaro) | #DBF573 | 219, 245, 115 | 72°, 87%, 71% | 11, 0, 53, 4 | |
| 50% (near Cucumber Milk) | #CBF773 | 203, 247, 115 | 80°, 89%, 71% | 18, 0, 53, 3 | |
| 75% (near Cucumber Milk) | #BAF872 | 186, 248, 114 | 88°, 91%, 71% | 25, 0, 54, 3 | |
| Lima | #A9F971 | 169, 249, 113 | 95°, 92%, 71% | 32, 0, 55, 2 |
Halfway along, the gradient is #CBF773, closest to the named color Cucumber Milk. 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.08:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ecf474, #a9f971) - Diagonal:
linear-gradient(135deg, #ecf474, #a9f971) - Radial, from the center out:
radial-gradient(circle, #ecf474, #a9f971) - Tailwind CSS:
bg-gradient-to-r from-[#ecf474] to-[#a9f971]
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 Nuclear Acid to Lima gradient?
It starts at #ECF474 (Nuclear Acid) and ends at #A9F971 (Lima), with #CBF773 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ecf474, #a9f971) runs from Lima on the left to Nuclear Acid on the right.