Huebook

Leaf to Try Your Luck Gradient

CSS

background: linear-gradient(90deg, #71aa34 0%, #34b334 100%);

From Leaf (#71AA34) to Try Your Luck (#34B334). The two hues are 31° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Leaf#71AA34113, 170, 5289°, 53%, 44%34, 0, 69, 33
25% (near Grass)#62AC3498, 172, 5297°, 54%, 44%43, 0, 70, 33
50% (near Grass)#53AF3483, 175, 52105°, 54%, 45%53, 0, 70, 31
75% (near Try Your Luck)#43B13467, 177, 52113°, 55%, 45%62, 0, 71, 31
Try Your Luck#34B33452, 179, 52120°, 55%, 45%71, 0, 71, 30

Halfway along, the gradient is #53AF34, closest to the named color Grass. 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 Leaf to Try Your Luck gradient?

It starts at #71AA34 (Leaf) and ends at #34B334 (Try Your Luck), with #53AF34 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #71aa34, #34b334) runs from Try Your Luck on the left to Leaf on the right.