Deep Fried Sunrays to Ultra Moss Gradient
CSS
background: linear-gradient(90deg, #f6c75e 0%, #d1f358 100%);
From Deep Fried Sunrays (#F6C75E) to Ultra Moss (#D1F358). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Deep Fried Sunrays | #F6C75E | 246, 199, 94 | 41°, 89%, 67% | 0, 19, 62, 4 | |
| 25% (near Sorreno Lemon) | #EDD25D | 237, 210, 93 | 49°, 80%, 65% | 0, 11, 61, 7 | |
| 50% (near Garlic Butter) | #E4DD5B | 228, 221, 91 | 57°, 72%, 63% | 0, 3, 60, 11 | |
| 75% (near Ultra Moss) | #DAE85A | 218, 232, 90 | 66°, 76%, 63% | 6, 0, 61, 9 | |
| Ultra Moss | #D1F358 | 209, 243, 88 | 73°, 87%, 65% | 14, 0, 64, 5 |
Halfway along, the gradient is #E4DD5B, closest to the named color Garlic Butter. 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.26:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f6c75e, #d1f358) - Diagonal:
linear-gradient(135deg, #f6c75e, #d1f358) - Radial, from the center out:
radial-gradient(circle, #f6c75e, #d1f358) - Tailwind CSS:
bg-gradient-to-r from-[#f6c75e] to-[#d1f358]
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 Deep Fried Sunrays to Ultra Moss gradient?
It starts at #F6C75E (Deep Fried Sunrays) and ends at #D1F358 (Ultra Moss), with #E4DD5B in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f6c75e, #d1f358) runs from Ultra Moss on the left to Deep Fried Sunrays on the right.