Orange Juice to Yellow Gradient
CSS
background: linear-gradient(90deg, #ff7f00 0%, #ffff00 100%);
From Orange Juice (#FF7F00) to Yellow (#FFFF00). 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 | |
|---|---|---|---|---|---|
| Orange Juice | #FF7F00 | 255, 127, 0 | 30°, 100%, 50% | 0, 50, 100, 0 | |
| 25% (near Orange) | #FF9F00 | 255, 159, 0 | 37°, 100%, 50% | 0, 38, 100, 0 | |
| 50% (near Amber) | #FFBF00 | 255, 191, 0 | 45°, 100%, 50% | 0, 25, 100, 0 | |
| 75% (near Super Saiyan) | #FFDF00 | 255, 223, 0 | 52°, 100%, 50% | 0, 13, 100, 0 | |
| Yellow | #FFFF00 | 255, 255, 0 | 60°, 100%, 50% | 0, 0, 100, 0 |
Halfway along, the gradient is #FFBF00, closest to the named color Amber. 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 2.36:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ff7f00, #ffff00) - Diagonal:
linear-gradient(135deg, #ff7f00, #ffff00) - Radial, from the center out:
radial-gradient(circle, #ff7f00, #ffff00) - Tailwind CSS:
bg-gradient-to-r from-[#ff7f00] to-[#ffff00]
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 Orange Juice to Yellow gradient?
It starts at #FF7F00 (Orange Juice) and ends at #FFFF00 (Yellow), with #FFBF00 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ff7f00, #ffff00) runs from Yellow on the left to Orange Juice on the right.