Peanut Butter to Lush Bamboo Gradient
CSS
background: linear-gradient(90deg, #be893f 0%, #afbb33 100%);
From Peanut Butter (#BE893F) to Lush Bamboo (#AFBB33). 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 | |
|---|---|---|---|---|---|
| Peanut Butter | #BE893F | 190, 137, 63 | 35°, 50%, 50% | 0, 28, 67, 25 | |
| 25% (near Pizza) | #BA963C | 186, 150, 60 | 43°, 51%, 48% | 0, 19, 68, 27 | |
| 50% (near Brass) | #B7A239 | 183, 162, 57 | 50°, 53%, 47% | 0, 11, 69, 28 | |
| 75% (near Lush Bamboo) | #B3AF36 | 179, 175, 54 | 58°, 54%, 46% | 0, 2, 70, 30 | |
| Lush Bamboo | #AFBB33 | 175, 187, 51 | 65°, 57%, 47% | 6, 0, 73, 27 |
Halfway along, the gradient is #B7A239, closest to the named color Brass. 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.46:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #be893f, #afbb33) - Diagonal:
linear-gradient(135deg, #be893f, #afbb33) - Radial, from the center out:
radial-gradient(circle, #be893f, #afbb33) - Tailwind CSS:
bg-gradient-to-r from-[#be893f] to-[#afbb33]
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 Peanut Butter to Lush Bamboo gradient?
It starts at #BE893F (Peanut Butter) and ends at #AFBB33 (Lush Bamboo), with #B7A239 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #be893f, #afbb33) runs from Lush Bamboo on the left to Peanut Butter on the right.