Soft Pumpkin to Bitter Lemon Gradient
CSS
background: linear-gradient(90deg, #dc8e31 0%, #d2db32 100%);
From Soft Pumpkin (#DC8E31) to Bitter Lemon (#D2DB32). The two hues are 31° 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 | |
|---|---|---|---|---|---|
| Soft Pumpkin | #DC8E31 | 220, 142, 49 | 33°, 71%, 53% | 0, 35, 78, 14 | |
| 25% (near Curry) | #DAA131 | 218, 161, 49 | 40°, 70%, 52% | 0, 26, 78, 15 | |
| 50% (near Wax) | #D7B532 | 215, 181, 50 | 48°, 67%, 52% | 0, 16, 77, 16 | |
| 75% (near Finger Banana) | #D5C832 | 213, 200, 50 | 55°, 66%, 52% | 0, 6, 77, 16 | |
| Bitter Lemon | #D2DB32 | 210, 219, 50 | 63°, 70%, 53% | 4, 0, 77, 14 |
Halfway along, the gradient is #D7B532, closest to the named color Wax. 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.75:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #dc8e31, #d2db32) - Diagonal:
linear-gradient(135deg, #dc8e31, #d2db32) - Radial, from the center out:
radial-gradient(circle, #dc8e31, #d2db32) - Tailwind CSS:
bg-gradient-to-r from-[#dc8e31] to-[#d2db32]
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 Soft Pumpkin to Bitter Lemon gradient?
It starts at #DC8E31 (Soft Pumpkin) and ends at #D2DB32 (Bitter Lemon), with #D7B532 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #dc8e31, #d2db32) runs from Bitter Lemon on the left to Soft Pumpkin on the right.