Pineapple High to Inchworm Gradient
CSS
background: linear-gradient(90deg, #ebeb57 0%, #b2ec5d 100%);
From Pineapple High (#EBEB57) to Inchworm (#B2EC5D). 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 | |
|---|---|---|---|---|---|
| Pineapple High | #EBEB57 | 235, 235, 87 | 60°, 79%, 63% | 0, 0, 63, 8 | |
| 25% (near Pineapple High) | #DDEB59 | 221, 235, 89 | 66°, 78%, 64% | 6, 0, 62, 8 | |
| 50% (near Ultra Moss) | #CFEC5A | 207, 236, 90 | 72°, 79%, 64% | 12, 0, 62, 7 | |
| 75% (near Inchworm) | #C0EC5C | 192, 236, 92 | 78°, 79%, 64% | 19, 0, 61, 7 | |
| Inchworm | #B2EC5D | 178, 236, 93 | 84°, 79%, 65% | 25, 0, 61, 7 |
Halfway along, the gradient is #CFEC5A, closest to the named color Ultra Moss. 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, #ebeb57, #b2ec5d) - Diagonal:
linear-gradient(135deg, #ebeb57, #b2ec5d) - Radial, from the center out:
radial-gradient(circle, #ebeb57, #b2ec5d) - Tailwind CSS:
bg-gradient-to-r from-[#ebeb57] to-[#b2ec5d]
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 Pineapple High to Inchworm gradient?
It starts at #EBEB57 (Pineapple High) and ends at #B2EC5D (Inchworm), with #CFEC5A in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ebeb57, #b2ec5d) runs from Inchworm on the left to Pineapple High on the right.