Huebook

Electric Banana to Chartreuse (CSS) Gradient

CSS

background: linear-gradient(90deg, #fbff00 0%, #7fff00 100%);

From Electric Banana (#FBFF00) to Chartreuse (CSS) (#7FFF00). The two hues are 29° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYKOKLCH
Electric Banana#FBFF00251, 255, 061°, 100%, 50%2, 0, 100, 096.5% 0.212 111
25% (near Lime Zest)#DCFF00220, 255, 068°, 100%, 50%14, 0, 100, 094.2% 0.222 119
50% (near Limoncello)#BDFF00189, 255, 076°, 100%, 50%26, 0, 100, 092.1% 0.235 126
75% (near Spring Bud)#9EFF00158, 255, 083°, 100%, 50%38, 0, 100, 090.4% 0.250 132
Chartreuse (CSS)#7FFF00127, 255, 090°, 100%, 50%50, 0, 100, 089.0% 0.265 136

Halfway along, the gradient is #BDFF00, closest to the named color Limoncello. 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

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 Electric Banana to Chartreuse (CSS) gradient?

It starts at #FBFF00 (Electric Banana) and ends at #7FFF00 (Chartreuse (CSS)), with #BDFF00 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fbff00, #7fff00) runs from Chartreuse (CSS) on the left to Electric Banana on the right.