Chocolate Temptation to In a Pickle Gradient
CSS
background: linear-gradient(90deg, #956e5f 0%, #978c59 100%);
From Chocolate Temptation (#956E5F) to In a Pickle (#978C59). 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 | |
|---|---|---|---|---|---|
| Chocolate Temptation | #956E5F | 149, 110, 95 | 17°, 22%, 48% | 0, 26, 36, 42 | |
| 25% (near Whisky Barrel) | #96765E | 150, 118, 94 | 26°, 23%, 48% | 0, 21, 37, 41 | |
| 50% (near Whisky Barrel) | #967D5C | 150, 125, 92 | 34°, 24%, 47% | 0, 17, 39, 41 | |
| 75% (near In a Pickle) | #97855B | 151, 133, 91 | 42°, 25%, 47% | 0, 12, 40, 41 | |
| In a Pickle | #978C59 | 151, 140, 89 | 49°, 26%, 47% | 0, 7, 41, 41 |
Halfway along, the gradient is #967D5C, closest to the named color Whisky Barrel. 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.33:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #956e5f, #978c59) - Diagonal:
linear-gradient(135deg, #956e5f, #978c59) - Radial, from the center out:
radial-gradient(circle, #956e5f, #978c59) - Tailwind CSS:
bg-gradient-to-r from-[#956e5f] to-[#978c59]
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 Chocolate Temptation to In a Pickle gradient?
It starts at #956E5F (Chocolate Temptation) and ends at #978C59 (In a Pickle), with #967D5C in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #956e5f, #978c59) runs from In a Pickle on the left to Chocolate Temptation on the right.