Pasta Rasta to Mindaro Gradient
CSS
background: linear-gradient(90deg, #eec474 0%, #daea6f 100%);
From Pasta Rasta (#EEC474) to Mindaro (#DAEA6F). The two hues are 28° 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 | |
|---|---|---|---|---|---|
| Pasta Rasta | #EEC474 | 238, 196, 116 | 39°, 78%, 69% | 0, 18, 51, 7 | |
| 25% (near Dijon Mustard) | #E9CE73 | 233, 206, 115 | 46°, 73%, 68% | 0, 12, 51, 9 | |
| 50% (near Golden Glitter Storm) | #E4D772 | 228, 215, 114 | 53°, 68%, 67% | 0, 6, 50, 11 | |
| 75% (near Mindaro) | #DFE170 | 223, 225, 112 | 61°, 65%, 66% | 1, 0, 50, 12 | |
| Mindaro | #DAEA6F | 218, 234, 111 | 68°, 75%, 68% | 7, 0, 53, 8 |
Halfway along, the gradient is #E4D772, closest to the named color Golden Glitter Storm. 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.25:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #eec474, #daea6f) - Diagonal:
linear-gradient(135deg, #eec474, #daea6f) - Radial, from the center out:
radial-gradient(circle, #eec474, #daea6f) - Tailwind CSS:
bg-gradient-to-r from-[#eec474] to-[#daea6f]
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 Pasta Rasta to Mindaro gradient?
It starts at #EEC474 (Pasta Rasta) and ends at #DAEA6F (Mindaro), with #E4D772 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #eec474, #daea6f) runs from Mindaro on the left to Pasta Rasta on the right.