Shiny Trumpet to Pineapple High Gradient
CSS
background: linear-gradient(90deg, #ecae58 0%, #ebeb57 100%);
From Shiny Trumpet (#ECAE58) to Pineapple High (#EBEB57). The two hues are 25° 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 | |
|---|---|---|---|---|---|
| Shiny Trumpet | #ECAE58 | 236, 174, 88 | 35°, 80%, 64% | 0, 26, 63, 7 | |
| 25% (near Oh My Gold) | #ECBD58 | 236, 189, 88 | 41°, 80%, 64% | 0, 20, 63, 7 | |
| 50% (near Sorreno Lemon) | #ECCD58 | 236, 205, 88 | 47°, 80%, 64% | 0, 13, 63, 7 | |
| 75% (near Garlic Butter) | #EBDC57 | 235, 220, 87 | 54°, 79%, 63% | 0, 6, 63, 8 | |
| Pineapple High | #EBEB57 | 235, 235, 87 | 60°, 79%, 63% | 0, 0, 63, 8 |
Halfway along, the gradient is #ECCD58, closest to the named color Sorreno Lemon. 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.54:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ecae58, #ebeb57) - Diagonal:
linear-gradient(135deg, #ecae58, #ebeb57) - Radial, from the center out:
radial-gradient(circle, #ecae58, #ebeb57) - Tailwind CSS:
bg-gradient-to-r from-[#ecae58] to-[#ebeb57]
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 Shiny Trumpet to Pineapple High gradient?
It starts at #ECAE58 (Shiny Trumpet) and ends at #EBEB57 (Pineapple High), with #ECCD58 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ecae58, #ebeb57) runs from Pineapple High on the left to Shiny Trumpet on the right.