Bonsai to Kale Gradient
CSS
background: linear-gradient(90deg, #787b54 0%, #648251 100%);
From Bonsai (#787B54) to Kale (#648251). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Bonsai | #787B54 | 120, 123, 84 | 65°, 19%, 41% | 2, 0, 32, 52 | |
| 25% (near Bonsai) | #737D53 | 115, 125, 83 | 74°, 20%, 41% | 8, 0, 34, 51 | |
| 50% (near Dill) | #6E7F53 | 110, 127, 83 | 83°, 21%, 41% | 13, 0, 35, 50 | |
| 75% (near Kale) | #698052 | 105, 128, 82 | 90°, 22%, 41% | 18, 0, 36, 50 | |
| Kale | #648251 | 100, 130, 81 | 97°, 23%, 41% | 23, 0, 38, 49 |
Halfway along, the gradient is #6E7F53, closest to the named color Dill. 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
- Top to bottom:
linear-gradient(180deg, #787b54, #648251) - Diagonal:
linear-gradient(135deg, #787b54, #648251) - Radial, from the center out:
radial-gradient(circle, #787b54, #648251) - Tailwind CSS:
bg-gradient-to-r from-[#787b54] to-[#648251]
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 Bonsai to Kale gradient?
It starts at #787B54 (Bonsai) and ends at #648251 (Kale), with #6E7F53 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #787b54, #648251) runs from Kale on the left to Bonsai on the right.