Pot of Gold to Pick Your Poison Gradient
CSS
background: linear-gradient(90deg, #f6cd23 0%, #bff128 100%);
From Pot of Gold (#F6CD23) 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 | |
|---|---|---|---|---|---|
| Pot of Gold | #F6CD23 | 246, 205, 35 | 48°, 92%, 55% | 0, 17, 86, 4 | |
| 25% (near Holy Grail) | #E8D624 | 232, 214, 36 | 54°, 81%, 53% | 0, 8, 84, 9 | |
| 50% (near Pear) | #DBDF26 | 219, 223, 38 | 61°, 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 #DBDF26, 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.16:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f6cd23, #bff128) - Diagonal:
linear-gradient(135deg, #f6cd23, #bff128) - Radial, from the center out:
radial-gradient(circle, #f6cd23, #bff128) - Tailwind CSS:
bg-gradient-to-r from-[#f6cd23] 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 Pot of Gold to Pick Your Poison gradient?
It starts at #F6CD23 (Pot of Gold) and ends at #BFF128 (Pick Your Poison), with #DBDF26 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f6cd23, #bff128) runs from Pick Your Poison on the left to Pot of Gold on the right.