Cucumber Milk to Herbivore Gradient
CSS
background: linear-gradient(90deg, #c2f177 0%, #88ee77 100%);
From Cucumber Milk (#C2F177) to Herbivore (#88EE77). The two hues are 28° 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 | |
|---|---|---|---|---|---|
| Cucumber Milk | #C2F177 | 194, 241, 119 | 83°, 81%, 71% | 20, 0, 51, 5 | |
| 25% (near Pisco Sour) | #B4F077 | 180, 240, 119 | 90°, 80%, 70% | 25, 0, 50, 6 | |
| 50% (near Lima) | #A5F077 | 165, 240, 119 | 97°, 80%, 70% | 31, 0, 50, 6 | |
| 75% (near Snarky Mint) | #97EF77 | 151, 239, 119 | 104°, 79%, 70% | 37, 0, 50, 6 | |
| Herbivore | #88EE77 | 136, 238, 119 | 111°, 78%, 70% | 43, 0, 50, 7 |
Halfway along, the gradient is #A5F077, closest to the named color Lima. 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.11:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #c2f177, #88ee77) - Diagonal:
linear-gradient(135deg, #c2f177, #88ee77) - Radial, from the center out:
radial-gradient(circle, #c2f177, #88ee77) - Tailwind CSS:
bg-gradient-to-r from-[#c2f177] to-[#88ee77]
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 Cucumber Milk to Herbivore gradient?
It starts at #C2F177 (Cucumber Milk) and ends at #88EE77 (Herbivore), with #A5F077 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #c2f177, #88ee77) runs from Herbivore on the left to Cucumber Milk on the right.