Huebook

White Mecca to Mojito Gradient

CSS

background: linear-gradient(90deg, #ecf3e1 0%, #e4f3e0 100%);

From White Mecca (#ECF3E1) to Mojito (#E4F3E0). The two hues are 24° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
White Mecca#ECF3E1236, 243, 22583°, 43%, 92%3, 0, 7, 5
25% (near White Mecca)#EAF3E1234, 243, 22590°, 43%, 92%4, 0, 7, 5
50% (near Homoeopathic Lime)#E8F3E1232, 243, 22597°, 43%, 92%5, 0, 7, 5
75% (near Mojito)#E6F3E0230, 243, 224101°, 44%, 92%5, 0, 8, 5
Mojito#E4F3E0228, 243, 224107°, 44%, 92%6, 0, 8, 5

Halfway along, the gradient is #E8F3E1, closest to the named color Homoeopathic Lime. 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.02: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 White Mecca to Mojito gradient?

It starts at #ECF3E1 (White Mecca) and ends at #E4F3E0 (Mojito), with #E8F3E1 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ecf3e1, #e4f3e0) runs from Mojito on the left to White Mecca on the right.