Minion Yellow to Tennis Ball Gradient
CSS
background: linear-gradient(90deg, #fece4e 0%, #dfff4f 100%);
From Minion Yellow (#FECE4E) to Tennis Ball (#DFFF4F). 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 | |
|---|---|---|---|---|---|
| Minion Yellow | #FECE4E | 254, 206, 78 | 44°, 99%, 65% | 0, 19, 69, 0 | |
| 25% (near Minions) | #F6DA4E | 246, 218, 78 | 50°, 90%, 64% | 0, 11, 68, 4 | |
| 50% (near Sulphuric) | #EFE74F | 239, 231, 79 | 57°, 83%, 62% | 0, 3, 67, 6 | |
| 75% (near Sulphuric) | #E7F34F | 231, 243, 79 | 64°, 87%, 63% | 5, 0, 67, 5 | |
| Tennis Ball | #DFFF4F | 223, 255, 79 | 71°, 100%, 65% | 13, 0, 69, 0 |
Halfway along, the gradient is #EFE74F, closest to the named color Sulphuric. 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.31:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #fece4e, #dfff4f) - Diagonal:
linear-gradient(135deg, #fece4e, #dfff4f) - Radial, from the center out:
radial-gradient(circle, #fece4e, #dfff4f) - Tailwind CSS:
bg-gradient-to-r from-[#fece4e] to-[#dfff4f]
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 Minion Yellow to Tennis Ball gradient?
It starts at #FECE4E (Minion Yellow) and ends at #DFFF4F (Tennis Ball), with #EFE74F in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fece4e, #dfff4f) runs from Tennis Ball on the left to Minion Yellow on the right.