Café au Lait to Desert Locust Gradient
CSS
background: linear-gradient(90deg, #a57c5b 0%, #a9a450 100%);
From Café au Lait (#A57C5B) to Desert Locust (#A9A450). 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
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Café au Lait | #A57C5B | 165, 124, 91 | 27°, 29%, 50% | 0, 25, 45, 35 | |
| 25% (near Exhumed Gold) | #A68658 | 166, 134, 88 | 35°, 31%, 50% | 0, 19, 47, 35 | |
| 50% (near Salted Capers) | #A79056 | 167, 144, 86 | 43°, 32%, 50% | 0, 14, 49, 35 | |
| 75% (near Gremlin) | #A89A53 | 168, 154, 83 | 50°, 34%, 49% | 0, 8, 51, 34 | |
| Desert Locust | #A9A450 | 169, 164, 80 | 57°, 36%, 49% | 0, 3, 53, 34 |
Halfway along, the gradient is #A79056, closest to the named color Salted Capers. 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.44:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #a57c5b, #a9a450) - Diagonal:
linear-gradient(135deg, #a57c5b, #a9a450) - Radial, from the center out:
radial-gradient(circle, #a57c5b, #a9a450) - Tailwind CSS:
bg-gradient-to-r from-[#a57c5b] to-[#a9a450]
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 Café au Lait to Desert Locust gradient?
It starts at #A57C5B (Café au Lait) and ends at #A9A450 (Desert Locust), with #A79056 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #a57c5b, #a9a450) runs from Desert Locust on the left to Café au Lait on the right.