Lunatic Lynx to Treasury Gradient
CSS
background: linear-gradient(90deg, #ddaa88 0%, #dbd186 100%);
From Lunatic Lynx (#DDAA88) to Treasury (#DBD186). The two hues are 29° 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 | |
|---|---|---|---|---|---|
| Lunatic Lynx | #DDAA88 | 221, 170, 136 | 24°, 56%, 70% | 0, 23, 38, 13 | |
| 25% (near Brandy) | #DDB488 | 221, 180, 136 | 31°, 56%, 70% | 0, 19, 38, 13 | |
| 50% (near Vermicelles) | #DCBE87 | 220, 190, 135 | 39°, 55%, 70% | 0, 14, 39, 14 | |
| 75% (near 24 Karat) | #DCC787 | 220, 199, 135 | 45°, 55%, 70% | 0, 10, 39, 14 | |
| Treasury | #DBD186 | 219, 209, 134 | 53°, 54%, 69% | 0, 5, 39, 14 |
Halfway along, the gradient is #DCBE87, closest to the named color Vermicelles. 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, #ddaa88, #dbd186) - Diagonal:
linear-gradient(135deg, #ddaa88, #dbd186) - Radial, from the center out:
radial-gradient(circle, #ddaa88, #dbd186) - Tailwind CSS:
bg-gradient-to-r from-[#ddaa88] to-[#dbd186]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Lunatic Lynx to Treasury gradient?
It starts at #DDAA88 (Lunatic Lynx) and ends at #DBD186 (Treasury), with #DCBE87 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ddaa88, #dbd186) runs from Treasury on the left to Lunatic Lynx on the right.