Duck Butter to Badass Grass Gradient
CSS
background: linear-gradient(90deg, #ddc75b 0%, #b4da55 100%);
From Duck Butter (#DDC75B) to Badass Grass (#B4DA55). The two hues are 27° 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 | |
|---|---|---|---|---|---|
| Duck Butter | #DDC75B | 221, 199, 91 | 50°, 66%, 61% | 0, 10, 59, 13 | |
| 25% (near Quince) | #D3CC5A | 211, 204, 90 | 57°, 58%, 59% | 0, 3, 57, 17 | |
| 50% (near Salsa Verde) | #C9D158 | 201, 209, 88 | 64°, 57%, 58% | 4, 0, 58, 18 | |
| 75% (near Frog Prince) | #BED557 | 190, 213, 87 | 71°, 60%, 59% | 11, 0, 59, 16 | |
| Badass Grass | #B4DA55 | 180, 218, 85 | 77°, 64%, 59% | 17, 0, 61, 15 |
Halfway along, the gradient is #C9D158, closest to the named color Salsa Verde. 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.06:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ddc75b, #b4da55) - Diagonal:
linear-gradient(135deg, #ddc75b, #b4da55) - Radial, from the center out:
radial-gradient(circle, #ddc75b, #b4da55) - Tailwind CSS:
bg-gradient-to-r from-[#ddc75b] to-[#b4da55]
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 Duck Butter to Badass Grass gradient?
It starts at #DDC75B (Duck Butter) and ends at #B4DA55 (Badass Grass), with #C9D158 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ddc75b, #b4da55) runs from Badass Grass on the left to Duck Butter on the right.