Banana Cream to Creamy Avocado Gradient
CSS
background: linear-gradient(90deg, #fff49c 0%, #d8f19c 100%);
From Banana Cream (#FFF49C) to Creamy Avocado (#D8F19C). The two hues are 24° 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 Cream | #FFF49C | 255, 244, 156 | 53°, 100%, 81% | 0, 4, 39, 0 | |
| 25% (near Yippie Ya Yellow) | #F5F39C | 245, 243, 156 | 59°, 82%, 79% | 0, 1, 36, 4 | |
| 50% (near Pale Canary) | #ECF39C | 236, 243, 156 | 65°, 78%, 78% | 3, 0, 36, 5 | |
| 75% (near Creamy Avocado) | #E2F29C | 226, 242, 156 | 71°, 77%, 78% | 7, 0, 36, 5 | |
| Creamy Avocado | #D8F19C | 216, 241, 156 | 78°, 75%, 78% | 10, 0, 35, 5 |
Halfway along, the gradient is #ECF39C, closest to the named color Pale Canary. 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.10:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #fff49c, #d8f19c) - Diagonal:
linear-gradient(135deg, #fff49c, #d8f19c) - Radial, from the center out:
radial-gradient(circle, #fff49c, #d8f19c) - Tailwind CSS:
bg-gradient-to-r from-[#fff49c] to-[#d8f19c]
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 Cream to Creamy Avocado gradient?
It starts at #FFF49C (Banana Cream) and ends at #D8F19C (Creamy Avocado), with #ECF39C in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fff49c, #d8f19c) runs from Creamy Avocado on the left to Banana Cream on the right.