Creamy Avocado to Sweet Mint Pesto Gradient
CSS
background: linear-gradient(90deg, #d8f19c 0%, #bbee99 100%);
From Creamy Avocado (#D8F19C) to Sweet Mint Pesto (#BBEE99). The two hues are 18° 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 | |
|---|---|---|---|---|---|
| Creamy Avocado | #D8F19C | 216, 241, 156 | 78°, 75%, 78% | 10, 0, 35, 5 | |
| 25% (near Creamy Avocado) | #D1F09B | 209, 240, 155 | 82°, 74%, 77% | 13, 0, 35, 6 | |
| 50% (near Creamy Avocado) | #CAF09B | 202, 240, 155 | 87°, 74%, 77% | 16, 0, 35, 6 | |
| 75% (near Sweet Mint Pesto) | #C2EF9A | 194, 239, 154 | 92°, 73%, 77% | 19, 0, 36, 6 | |
| Sweet Mint Pesto | #BBEE99 | 187, 238, 153 | 96°, 71%, 77% | 21, 0, 36, 7 |
Halfway along, the gradient is #CAF09B, closest to the named color Creamy Avocado. 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.07:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #d8f19c, #bbee99) - Diagonal:
linear-gradient(135deg, #d8f19c, #bbee99) - Radial, from the center out:
radial-gradient(circle, #d8f19c, #bbee99) - Tailwind CSS:
bg-gradient-to-r from-[#d8f19c] to-[#bbee99]
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 Creamy Avocado to Sweet Mint Pesto gradient?
It starts at #D8F19C (Creamy Avocado) and ends at #BBEE99 (Sweet Mint Pesto), with #CAF09B in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #d8f19c, #bbee99) runs from Sweet Mint Pesto on the left to Creamy Avocado on the right.