Broom to Sour Apple Candy Gradient
CSS
background: linear-gradient(90deg, #eecc24 0%, #aaee22 100%);
From Broom (#EECC24) to Sour Apple Candy (#AAEE22). 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 | |
|---|---|---|---|---|---|
| Broom | #EECC24 | 238, 204, 36 | 50°, 86%, 54% | 0, 14, 85, 7 | |
| 25% (near Holy Grail) | #DDD524 | 221, 213, 36 | 57°, 73%, 50% | 0, 4, 84, 13 | |
| 50% (near Lime Twist) | #CCDD23 | 204, 221, 35 | 65°, 73%, 50% | 8, 0, 84, 13 | |
| 75% (near Pick Your Poison) | #BBE623 | 187, 230, 35 | 73°, 80%, 52% | 19, 0, 85, 10 | |
| Sour Apple Candy | #AAEE22 | 170, 238, 34 | 80°, 86%, 53% | 29, 0, 86, 7 |
Halfway along, the gradient is #CCDD23, closest to the named color Lime Twist. 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.13:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #eecc24, #aaee22) - Diagonal:
linear-gradient(135deg, #eecc24, #aaee22) - Radial, from the center out:
radial-gradient(circle, #eecc24, #aaee22) - Tailwind CSS:
bg-gradient-to-r from-[#eecc24] to-[#aaee22]
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 Broom to Sour Apple Candy gradient?
It starts at #EECC24 (Broom) and ends at #AAEE22 (Sour Apple Candy), with #CCDD23 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #eecc24, #aaee22) runs from Sour Apple Candy on the left to Broom on the right.