Cozy Sandbar gradient

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

OceanGreen

Stops

HEXRGBOKLCHPosition
#E4D99A rgb(228, 217, 154) oklch(87.9% 0.082 99.4) 0%
#8CAD64 rgb(140, 173, 100) oklch(70.6% 0.106 128.7) 33%
#008059 rgb(0, 128, 89) oklch(53.1% 0.114 163.4) 67%
#004049 rgb(0, 64, 73) oklch(34% 0.059 210.4) 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(225deg, #E4D99A, #8CAD64, #008059, #004049);
background: linear-gradient(225deg in oklch, #E4D99A, #8CAD64, #008059, #004049);

Tailwind CSS v4

bg-linear-[225deg_in_oklch,#E4D99A,#8CAD64,#008059,#004049]

Make it your own

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