Dream of Spring to Pick Your Poison Gradient
CSS
background: linear-gradient(90deg, #f7cf26 0%, #bff128 100%);
From Dream of Spring (#F7CF26) to Pick Your Poison (#BFF128). The two hues are 26° 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 | |
|---|---|---|---|---|---|
| Dream of Spring | #F7CF26 | 247, 207, 38 | 49°, 93%, 56% | 0, 16, 85, 3 | |
| 25% (near Banana Brick) | #E9D827 | 233, 216, 39 | 55°, 82%, 53% | 0, 7, 83, 9 | |
| 50% (near Pear) | #DBE027 | 219, 224, 39 | 62°, 75%, 52% | 2, 0, 83, 12 | |
| 75% (near Pear) | #CDE928 | 205, 233, 40 | 69°, 81%, 54% | 12, 0, 83, 9 | |
| Pick Your Poison | #BFF128 | 191, 241, 40 | 75°, 88%, 55% | 21, 0, 83, 5 |
Halfway along, the gradient is #DBE027, closest to the named color Pear. 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.14:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f7cf26, #bff128) - Diagonal:
linear-gradient(135deg, #f7cf26, #bff128) - Radial, from the center out:
radial-gradient(circle, #f7cf26, #bff128) - Tailwind CSS:
bg-gradient-to-r from-[#f7cf26] to-[#bff128]
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 Dream of Spring to Pick Your Poison gradient?
It starts at #F7CF26 (Dream of Spring) and ends at #BFF128 (Pick Your Poison), with #DBE027 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f7cf26, #bff128) runs from Pick Your Poison on the left to Dream of Spring on the right.