Golden Mean to Pesto di Pistacchio Gradient
CSS
background: linear-gradient(90deg, #c49b35 0%, #a7c437 100%);
From Golden Mean (#C49B35) to Pesto di Pistacchio (#A7C437). 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 | |
|---|---|---|---|---|---|
| Golden Mean | #C49B35 | 196, 155, 53 | 43°, 57%, 49% | 0, 21, 73, 23 | |
| 25% (near Hey Pesto) | #BDA536 | 189, 165, 54 | 49°, 56%, 48% | 0, 13, 71, 26 | |
| 50% (near Hey Pesto) | #B6B036 | 182, 176, 54 | 57°, 54%, 46% | 0, 3, 70, 29 | |
| 75% (near Lush Bamboo) | #AEBA37 | 174, 186, 55 | 65°, 54%, 47% | 6, 0, 70, 27 | |
| Pesto di Pistacchio | #A7C437 | 167, 196, 55 | 72°, 56%, 49% | 15, 0, 72, 23 |
Halfway along, the gradient is #B6B036, closest to the named color Hey Pesto. 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.31:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #c49b35, #a7c437) - Diagonal:
linear-gradient(135deg, #c49b35, #a7c437) - Radial, from the center out:
radial-gradient(circle, #c49b35, #a7c437) - Tailwind CSS:
bg-gradient-to-r from-[#c49b35] to-[#a7c437]
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 Golden Mean to Pesto di Pistacchio gradient?
It starts at #C49B35 (Golden Mean) and ends at #A7C437 (Pesto di Pistacchio), with #B6B036 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #c49b35, #a7c437) runs from Pesto di Pistacchio on the left to Golden Mean on the right.