Faded Straw gradient

A 4-color linear CSS gradient from #AF9BFF to #22E595, interpolated in OKLCH so the middle stays vivid.

RainbowGreen

Stops

HEXRGBOKLCHPosition
#AF9BFF rgb(175, 155, 255) oklch(74.7% 0.142 291.8) 0%
#FFACBB rgb(255, 172, 187) oklch(82.9% 0.099 7.6) 33%
#F1B200 rgb(241, 178, 0) oklch(80.1% 0.165 82.8) 67%
#22E595 rgb(34, 229, 149) oklch(81.5% 0.183 158.5) 100%

CSS

The first declaration is a plain sRGB gradient for every browser. The second interpolates in OKLCH, which keeps the middle as vivid as the ends.

background: linear-gradient(0deg, #AF9BFF, #FFACBB, #F1B200, #22E595);
background: linear-gradient(0deg in oklch, #AF9BFF, #FFACBB, #F1B200, #22E595);

Tailwind CSS v4

bg-linear-[0deg_in_oklch,#AF9BFF,#FFACBB,#F1B200,#22E595]

Make it your own

Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.