Huebook

Au Clair de la Lune to White Mecca Gradient

CSS

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

From Au Clair de la Lune (#F4F2E2) to White Mecca (#ECF3E1). 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
Au Clair de la Lune#F4F2E2244, 242, 22653°, 45%, 92%0, 1, 7, 4
25% (near Au Clair de la Lune)#F2F2E2242, 242, 22660°, 38%, 92%0, 0, 7, 5
50% (near Au Clair de la Lune)#F0F3E2240, 243, 22671°, 41%, 92%1, 0, 7, 5
75% (near White Mecca)#EEF3E1238, 243, 22577°, 43%, 92%2, 0, 7, 5
White Mecca#ECF3E1236, 243, 22583°, 43%, 92%3, 0, 7, 5

Halfway along, the gradient is #F0F3E2, closest to the named color Au Clair de la Lune. 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.01: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 Au Clair de la Lune to White Mecca gradient?

It starts at #F4F2E2 (Au Clair de la Lune) and ends at #ECF3E1 (White Mecca), with #F0F3E2 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f4f2e2, #ecf3e1) runs from White Mecca on the left to Au Clair de la Lune on the right.