Goldfinch to Cucumber Milk Gradient
CSS
background: linear-gradient(90deg, #f8e462 0%, #c2f177 100%);
From Goldfinch (#F8E462) to Cucumber Milk (#C2F177). The two hues are 31° 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 | |
|---|---|---|---|---|---|
| Goldfinch | #F8E462 | 248, 228, 98 | 52°, 91%, 68% | 0, 8, 60, 3 | |
| 25% (near Honeysuckle) | #EBE767 | 235, 231, 103 | 58°, 77%, 66% | 0, 2, 56, 8 | |
| 50% (near Mindaro) | #DDEB6D | 221, 235, 109 | 67°, 76%, 67% | 6, 0, 54, 8 | |
| 75% (near Mindaro) | #D0EE72 | 208, 238, 114 | 75°, 78%, 69% | 13, 0, 52, 7 | |
| Cucumber Milk | #C2F177 | 194, 241, 119 | 83°, 81%, 71% | 20, 0, 51, 5 |
Halfway along, the gradient is #DDEB6D, closest to the named color Mindaro. 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.01:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f8e462, #c2f177) - Diagonal:
linear-gradient(135deg, #f8e462, #c2f177) - Radial, from the center out:
radial-gradient(circle, #f8e462, #c2f177) - Tailwind CSS:
bg-gradient-to-r from-[#f8e462] to-[#c2f177]
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 Goldfinch to Cucumber Milk gradient?
It starts at #F8E462 (Goldfinch) and ends at #C2F177 (Cucumber Milk), with #DDEB6D in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f8e462, #c2f177) runs from Cucumber Milk on the left to Goldfinch on the right.