Yellow to Lasting Lime Gradient
CSS
background: linear-gradient(90deg, #ffff00 0%, #88ff00 100%);
From Yellow (#FFFF00) to Lasting Lime (#88FF00). 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 | |
|---|---|---|---|---|---|
| Yellow | #FFFF00 | 255, 255, 0 | 60°, 100%, 50% | 0, 0, 100, 0 | |
| 25% (near Lime Zest) | #E1FF00 | 225, 255, 0 | 67°, 100%, 50% | 12, 0, 100, 0 | |
| 50% (near Liquid Neon) | #C4FF00 | 196, 255, 0 | 74°, 100%, 50% | 23, 0, 100, 0 | |
| 75% (near Spring Bud) | #A6FF00 | 166, 255, 0 | 81°, 100%, 50% | 35, 0, 100, 0 | |
| Lasting Lime | #88FF00 | 136, 255, 0 | 88°, 100%, 50% | 47, 0, 100, 0 |
Halfway along, the gradient is #C4FF00, closest to the named color Liquid Neon. 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.20:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ffff00, #88ff00) - Diagonal:
linear-gradient(135deg, #ffff00, #88ff00) - Radial, from the center out:
radial-gradient(circle, #ffff00, #88ff00) - Tailwind CSS:
bg-gradient-to-r from-[#ffff00] to-[#88ff00]
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 Yellow to Lasting Lime gradient?
It starts at #FFFF00 (Yellow) and ends at #88FF00 (Lasting Lime), with #C4FF00 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ffff00, #88ff00) runs from Lasting Lime on the left to Yellow on the right.