Huebook

Macaroni and Cheese to Banana Gradient

CSS

background: linear-gradient(90deg, #ffb97b 0%, #fffc79 100%);

From Macaroni and Cheese (#FFB97B) to Banana (#FFFC79). The two hues are 30° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Macaroni and Cheese#FFB97B255, 185, 12328°, 100%, 74%0, 27, 52, 0
25% (near Cheesus)#FFCA7B255, 202, 12336°, 100%, 74%0, 21, 52, 0
50% (near Cup Noodles)#FFDB7A255, 219, 12244°, 100%, 74%0, 14, 52, 0
75% (near Witch Hazel)#FFEB7A255, 235, 12251°, 100%, 74%0, 8, 52, 0
Banana#FFFC79255, 252, 12159°, 100%, 74%0, 1, 53, 0

Halfway along, the gradient is #FFDB7A, closest to the named color Cup Noodles. 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.56: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.

Questions

What are the HEX codes of the Macaroni and Cheese to Banana gradient?

It starts at #FFB97B (Macaroni and Cheese) and ends at #FFFC79 (Banana), with #FFDB7A in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ffb97b, #fffc79) runs from Banana on the left to Macaroni and Cheese on the right.