Huebook

Under the Sun to Mochito Gradient

CSS

background: linear-gradient(90deg, #efd100 0%, #8efa00 100%);

From Under the Sun (#EFD100) to Mochito (#8EFA00). The two hues are 33° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Under the Sun#EFD100239, 209, 052°, 100%, 47%0, 13, 100, 6
25% (near Goldzilla)#D7DB00215, 219, 061°, 100%, 43%2, 0, 100, 14
50% (near Lush Green)#BFE600191, 230, 070°, 100%, 45%17, 0, 100, 10
75% (near Spring Bud)#A6F000166, 240, 079°, 100%, 47%31, 0, 100, 6
Mochito#8EFA00142, 250, 086°, 100%, 49%43, 0, 100, 2

Halfway along, the gradient is #BFE600, closest to the named color Lush Green. 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.15: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 Under the Sun to Mochito gradient?

It starts at #EFD100 (Under the Sun) and ends at #8EFA00 (Mochito), with #BFE600 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #efd100, #8efa00) runs from Mochito on the left to Under the Sun on the right.