Cut the Mustard to Lush Bamboo Gradient
CSS
background: linear-gradient(90deg, #ba7f38 0%, #afbb33 100%);
From Cut the Mustard (#BA7F38) to Lush Bamboo (#AFBB33). The two hues are 33° 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 | |
|---|---|---|---|---|---|
| Cut the Mustard | #BA7F38 | 186, 127, 56 | 33°, 54%, 47% | 0, 32, 70, 27 | |
| 25% (near Treasures) | #B78E37 | 183, 142, 55 | 41°, 54%, 47% | 0, 22, 70, 28 | |
| 50% (near Martian) | #B59D36 | 181, 157, 54 | 49°, 54%, 46% | 0, 13, 70, 29 | |
| 75% (near Martian) | #B2AC34 | 178, 172, 52 | 57°, 55%, 45% | 0, 3, 71, 30 | |
| Lush Bamboo | #AFBB33 | 175, 187, 51 | 65°, 57%, 47% | 6, 0, 73, 27 |
Halfway along, the gradient is #B59D36, closest to the named color Martian. 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.61:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ba7f38, #afbb33) - Diagonal:
linear-gradient(135deg, #ba7f38, #afbb33) - Radial, from the center out:
radial-gradient(circle, #ba7f38, #afbb33) - Tailwind CSS:
bg-gradient-to-r from-[#ba7f38] 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 Cut the Mustard to Lush Bamboo gradient?
It starts at #BA7F38 (Cut the Mustard) and ends at #AFBB33 (Lush Bamboo), with #B59D36 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ba7f38, #afbb33) runs from Lush Bamboo on the left to Cut the Mustard on the right.