Pestering Pesto to Prairie Gradient
CSS
background: linear-gradient(90deg, #119922 0%, #0b9d6a 100%);
From Pestering Pesto (#119922) to Prairie (#0B9D6A). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Pestering Pesto | #119922 | 17, 153, 34 | 128°, 80%, 33% | 89, 0, 78, 40 | |
| 25% (near Pestering Pesto) | #109A34 | 16, 154, 52 | 136°, 81%, 33% | 90, 0, 66, 40 | |
| 50% (near Green Revolution) | #0E9B46 | 14, 155, 70 | 144°, 83%, 33% | 91, 0, 55, 39 | |
| 75% (near Shamrock) | #0D9C58 | 13, 156, 88 | 151°, 85%, 33% | 92, 0, 44, 39 | |
| Prairie | #0B9D6A | 11, 157, 106 | 159°, 87%, 33% | 93, 0, 32, 38 |
Halfway along, the gradient is #0E9B46, closest to the named color Green Revolution. 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.08:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #119922, #0b9d6a) - Diagonal:
linear-gradient(135deg, #119922, #0b9d6a) - Radial, from the center out:
radial-gradient(circle, #119922, #0b9d6a) - Tailwind CSS:
bg-gradient-to-r from-[#119922] to-[#0b9d6a]
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 Pestering Pesto to Prairie gradient?
It starts at #119922 (Pestering Pesto) and ends at #0B9D6A (Prairie), with #0E9B46 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #119922, #0b9d6a) runs from Prairie on the left to Pestering Pesto on the right.