Banana Propaganda to Mochito Gradient
CSS
background: linear-gradient(90deg, #f3db00 0%, #8efa00 100%);
From Banana Propaganda (#F3DB00) to Mochito (#8EFA00). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Banana Propaganda | #F3DB00 | 243, 219, 0 | 54°, 100%, 48% | 0, 10, 100, 5 | |
| 25% (near Poisonous Pesto) | #DAE300 | 218, 227, 0 | 62°, 100%, 45% | 4, 0, 100, 11 | |
| 50% (near Leafy Lemon) | #C1EB00 | 193, 235, 0 | 71°, 100%, 46% | 18, 0, 100, 8 | |
| 75% (near Spring Bud) | #A7F200 | 167, 242, 0 | 79°, 100%, 47% | 31, 0, 100, 5 | |
| Mochito | #8EFA00 | 142, 250, 0 | 86°, 100%, 49% | 43, 0, 100, 2 |
Halfway along, the gradient is #C1EB00, 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.06:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f3db00, #8efa00) - Diagonal:
linear-gradient(135deg, #f3db00, #8efa00) - Radial, from the center out:
radial-gradient(circle, #f3db00, #8efa00) - Tailwind CSS:
bg-gradient-to-r from-[#f3db00] 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 Banana Propaganda to Mochito gradient?
It starts at #F3DB00 (Banana Propaganda) and ends at #8EFA00 (Mochito), with #C1EB00 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f3db00, #8efa00) runs from Mochito on the left to Banana Propaganda on the right.