Red to Yellow Gradient
CSS GradientThe red to yellow gradient is crafted with 5 colors (#FF0000, #FF4000, #FF8000, #FFBF00, #FFFF00). Ready-to-use linear, radial, and conic CSS rules for modern web and mobile apps.

|
#FF0000
#FF4000
#FF8000
#FFBF00
#FFFF00
1. Gradient Color Stops
| Swatch | HEX | RGB | HSL | CMYK | OKLCH |
|---|---|---|---|---|---|
#FF0000 | 255, 0, 0 | 0°, 100%, 50% | 0%, 100%, 100%, 0% | oklch(0.628 0.258 29) | |
#FF4000 | 255, 64, 0 | 15°, 100%, 50% | 0%, 75%, 100%, 0% | oklch(0.656 0.233 35) | |
#FF8000 | 255, 128, 0 | 30°, 100%, 50% | 0%, 50%, 100%, 0% | oklch(0.732 0.186 53) | |
#FFBF00 | 255, 191, 0 | 45°, 100%, 50% | 0%, 25%, 100%, 0% | oklch(0.840 0.172 84) | |
#FFFF00 | 255, 255, 0 | 60°, 100%, 50% | 0%, 0%, 100%, 0% | oklch(0.968 0.211 110) |
2. Gradient Variations & Styles
Linear Gradient
Radial Gradient
Conic Gradient
3. CSS Code & Declarations
Linear Gradient
background: linear-gradient(to right, #FF0000, #FF4000, #FF8000, #FFBF00, #FFFF00);
Radial Gradient
background: radial-gradient(circle, #FF0000, #FF4000, #FF8000, #FFBF00, #FFFF00);
Conic Gradient
background: conic-gradient(from 180deg at 50% 50%, #FF0000, #FF4000, #FF8000, #FFBF00, #FFFF00);
Tailwind CSS
bg-gradient-to-r from-[#FF0000] to-[#FFFF00]
SCSS Variable
$gradient-red-to-yellow-gradient: linear-gradient(to right, #FF0000, #FF4000, #FF8000, #FFBF00, #FFFF00);
4. Stop Accessibility & Contrast
#FF0000Stop 1
On White:4.00:1
On Black:5.25:1
WCAG Pass
#FF4000Stop 2
On White:3.51:1
On Black:5.99:1
WCAG Pass
#FF8000Stop 3
On White:2.52:1
On Black:8.34:1
WCAG Pass
#FFBF00Stop 4
On White:1.65:1
On Black:12.70:1
WCAG Pass
#FFFF00Stop 5
On White:1.07:1
On Black:19.56:1
WCAG Pass
5. UI Preview with Gradient
Card Header
Red to Yellow Gradient Banner
Stunning backgrounds for hero sections, marketing callouts, and modern card containers.
Modern Dark Mode
Gradient Glow
Use vibrant gradients as high-conversion button fills, text-gradients, or active focus rings.
Text Gradient
Similar Gradients
Gradient Ideas
About Red to Yellow Gradient
Gradient Name
Red to Yellow Gradient
Color Stops
5 Colors
First Color
#FF0000
End Color
#FFFF00
Color Swatches