Pyramid to Lazy Lizard Gradient
CSS
background: linear-gradient(90deg, #9f7d4f 0%, #9c9c4b 100%);
From Pyramid (#9F7D4F) to Lazy Lizard (#9C9C4B). The two hues are 26° 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 | |
|---|---|---|---|---|---|
| Pyramid | #9F7D4F | 159, 125, 79 | 35°, 34%, 47% | 0, 21, 50, 38 | |
| 25% (near Greek Olive) | #9E854E | 158, 133, 78 | 41°, 34%, 46% | 0, 16, 51, 38 | |
| 50% (near Backroom Ember) | #9E8D4D | 158, 141, 77 | 47°, 34%, 46% | 0, 11, 51, 38 | |
| 75% (near Backroom Ember) | #9D944C | 157, 148, 76 | 53°, 35%, 46% | 0, 6, 52, 38 | |
| Lazy Lizard | #9C9C4B | 156, 156, 75 | 60°, 35%, 45% | 0, 0, 52, 39 |
Halfway along, the gradient is #9E8D4D, closest to the named color Backroom Ember. 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.32:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #9f7d4f, #9c9c4b) - Diagonal:
linear-gradient(135deg, #9f7d4f, #9c9c4b) - Radial, from the center out:
radial-gradient(circle, #9f7d4f, #9c9c4b) - Tailwind CSS:
bg-gradient-to-r from-[#9f7d4f] 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 Pyramid to Lazy Lizard gradient?
It starts at #9F7D4F (Pyramid) and ends at #9C9C4B (Lazy Lizard), with #9E8D4D in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #9f7d4f, #9c9c4b) runs from Lazy Lizard on the left to Pyramid on the right.