Nectar Jackpot to Creamy Avocado Gradient
CSS
background: linear-gradient(90deg, #f0d38f 0%, #d8f19c 100%);
From Nectar Jackpot (#F0D38F) to Creamy Avocado (#D8F19C). The two hues are 36° 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 | |
|---|---|---|---|---|---|
| Nectar Jackpot | #F0D38F | 240, 211, 143 | 42°, 76%, 75% | 0, 12, 40, 6 | |
| 25% (near Party Sponge Cake) | #EADB92 | 234, 219, 146 | 50°, 68%, 75% | 0, 6, 38, 8 | |
| 50% (near Celery Sceptre) | #E4E296 | 228, 226, 150 | 58°, 59%, 74% | 0, 1, 34, 11 | |
| 75% (near Creamy Avocado) | #DEEA99 | 222, 234, 153 | 69°, 66%, 76% | 5, 0, 35, 8 | |
| Creamy Avocado | #D8F19C | 216, 241, 156 | 78°, 75%, 78% | 10, 0, 35, 5 |
Halfway along, the gradient is #E4E296, closest to the named color Celery Sceptre. 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.18:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f0d38f, #d8f19c) - Diagonal:
linear-gradient(135deg, #f0d38f, #d8f19c) - Radial, from the center out:
radial-gradient(circle, #f0d38f, #d8f19c) - Tailwind CSS:
bg-gradient-to-r from-[#f0d38f] 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 Nectar Jackpot to Creamy Avocado gradient?
It starts at #F0D38F (Nectar Jackpot) and ends at #D8F19C (Creamy Avocado), with #E4E296 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f0d38f, #d8f19c) runs from Creamy Avocado on the left to Nectar Jackpot on the right.