Huebook

Pastel Yellow to Celery Mousse Gradient

CSS

background: linear-gradient(90deg, #fdfd96 0%, #c1fd95 100%);

From Pastel Yellow (#FDFD96) to Celery Mousse (#C1FD95). The two hues are 35° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Pastel Yellow#FDFD96253, 253, 15060°, 96%, 79%0, 0, 41, 1
25% (near Pastel Yellow)#EEFD96238, 253, 15069°, 96%, 79%6, 0, 41, 1
50% (near Creamy Avocado)#DFFD96223, 253, 15077°, 96%, 79%12, 0, 41, 1
75% (near Celery Mousse)#D0FD95208, 253, 14986°, 96%, 79%18, 0, 41, 1
Celery Mousse#C1FD95193, 253, 14995°, 96%, 79%24, 0, 41, 1

Halfway along, the gradient is #DFFD96, closest to the named color Creamy Avocado. 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.11: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 Pastel Yellow to Celery Mousse gradient?

It starts at #FDFD96 (Pastel Yellow) and ends at #C1FD95 (Celery Mousse), with #DFFD96 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fdfd96, #c1fd95) runs from Celery Mousse on the left to Pastel Yellow on the right.