Eternal Summer to Mochito Gradient
CSS
background: linear-gradient(90deg, #f7e504 0%, #8efa00 100%);
From Eternal Summer (#F7E504) to Mochito (#8EFA00). The two hues are 30° 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 | |
|---|---|---|---|---|---|
| Eternal Summer | #F7E504 | 247, 229, 4 | 56°, 97%, 49% | 0, 7, 98, 3 | |
| 25% (near Poisonous Pesto) | #DDEA03 | 221, 234, 3 | 63°, 97%, 46% | 6, 0, 99, 8 | |
| 50% (near Leafy Lemon) | #C3F002 | 195, 240, 2 | 71°, 98%, 47% | 19, 0, 99, 6 | |
| 75% (near Spring Bud) | #A8F501 | 168, 245, 1 | 79°, 99%, 48% | 31, 0, 100, 4 | |
| Mochito | #8EFA00 | 142, 250, 0 | 86°, 100%, 49% | 43, 0, 100, 2 |
Halfway along, the gradient is #C3F002, closest to the named color Leafy Lemon. 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.02:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f7e504, #8efa00) - Diagonal:
linear-gradient(135deg, #f7e504, #8efa00) - Radial, from the center out:
radial-gradient(circle, #f7e504, #8efa00) - Tailwind CSS:
bg-gradient-to-r from-[#f7e504] to-[#8efa00]
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 Eternal Summer to Mochito gradient?
It starts at #F7E504 (Eternal Summer) and ends at #8EFA00 (Mochito), with #C3F002 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f7e504, #8efa00) runs from Mochito on the left to Eternal Summer on the right.