Mocha to Lazy Lizard Gradient
CSS
background: linear-gradient(90deg, #9d7651 0%, #9c9c4b 100%);
From Mocha (#9D7651) to Lazy Lizard (#9C9C4B). 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
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Mocha | #9D7651 | 157, 118, 81 | 29°, 32%, 47% | 0, 25, 48, 38 | |
| 25% (near Muesli) | #9D8050 | 157, 128, 80 | 37°, 32%, 46% | 0, 18, 49, 38 | |
| 50% (near Greek Olive) | #9D894E | 157, 137, 78 | 45°, 34%, 46% | 0, 13, 50, 38 | |
| 75% (near Backroom Ember) | #9C934D | 156, 147, 77 | 53°, 34%, 46% | 0, 6, 51, 39 | |
| Lazy Lizard | #9C9C4B | 156, 156, 75 | 60°, 35%, 45% | 0, 0, 52, 39 |
Halfway along, the gradient is #9D894E, closest to the named color Greek Olive. 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.41:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #9d7651, #9c9c4b) - Diagonal:
linear-gradient(135deg, #9d7651, #9c9c4b) - Radial, from the center out:
radial-gradient(circle, #9d7651, #9c9c4b) - Tailwind CSS:
bg-gradient-to-r from-[#9d7651] to-[#9c9c4b]
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 Mocha to Lazy Lizard gradient?
It starts at #9D7651 (Mocha) and ends at #9C9C4B (Lazy Lizard), with #9D894E in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #9d7651, #9c9c4b) runs from Lazy Lizard on the left to Mocha on the right.