Golden Ticket to Pick Your Poison Gradient
CSS
background: linear-gradient(90deg, #f5cc23 0%, #bff128 100%);
From Golden Ticket (#F5CC23) to Pick Your Poison (#BFF128). The two hues are 27° 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 | |
|---|---|---|---|---|---|
| Golden Ticket | #F5CC23 | 245, 204, 35 | 48°, 91%, 55% | 0, 17, 86, 4 | |
| 25% (near Holy Grail) | #E8D524 | 232, 213, 36 | 54°, 81%, 53% | 0, 8, 84, 9 | |
| 50% (near Pear) | #DADF26 | 218, 223, 38 | 62°, 74%, 51% | 2, 0, 83, 13 | |
| 75% (near Pear) | #CDE827 | 205, 232, 39 | 68°, 81%, 53% | 12, 0, 83, 9 | |
| Pick Your Poison | #BFF128 | 191, 241, 40 | 75°, 88%, 55% | 21, 0, 83, 5 |
Halfway along, the gradient is #DADF26, 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.17:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f5cc23, #bff128) - Diagonal:
linear-gradient(135deg, #f5cc23, #bff128) - Radial, from the center out:
radial-gradient(circle, #f5cc23, #bff128) - Tailwind CSS:
bg-gradient-to-r from-[#f5cc23] 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 Golden Ticket to Pick Your Poison gradient?
It starts at #F5CC23 (Golden Ticket) and ends at #BFF128 (Pick Your Poison), with #DADF26 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f5cc23, #bff128) runs from Pick Your Poison on the left to Golden Ticket on the right.