Apricot to Super Banana Gradient
CSS
background: linear-gradient(90deg, #ffb16d 0%, #fffe71 100%);
From Apricot (#FFB16D) to Super Banana (#FFFE71). 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 | |
|---|---|---|---|---|---|
| Apricot | #FFB16D | 255, 177, 109 | 28°, 100%, 71% | 0, 31, 57, 0 | |
| 25% (near Chanterelle) | #FFC46E | 255, 196, 110 | 36°, 100%, 72% | 0, 23, 57, 0 | |
| 50% (near Quiche Lorraine) | #FFD86F | 255, 216, 111 | 44°, 100%, 72% | 0, 15, 56, 0 | |
| 75% (near Fuzzy Duckling) | #FFEB70 | 255, 235, 112 | 52°, 100%, 72% | 0, 8, 56, 0 | |
| Super Banana | #FFFE71 | 255, 254, 113 | 60°, 100%, 72% | 0, 0, 56, 0 |
Halfway along, the gradient is #FFD86F, closest to the named color Quiche Lorraine. 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.67:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ffb16d, #fffe71) - Diagonal:
linear-gradient(135deg, #ffb16d, #fffe71) - Radial, from the center out:
radial-gradient(circle, #ffb16d, #fffe71) - Tailwind CSS:
bg-gradient-to-r from-[#ffb16d] to-[#fffe71]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Apricot to Super Banana gradient?
It starts at #FFB16D (Apricot) and ends at #FFFE71 (Super Banana), with #FFD86F in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ffb16d, #fffe71) runs from Super Banana on the left to Apricot on the right.