Gradient Pastel Yellow
CSS GradientThe gradient pastel yellow is crafted with 5 colors (#F5E7A8, #FAF0BE, #FDF6D3, #FFFAE6, #FFFDF2). Ready-to-use linear, radial, and conic CSS rules for modern web and mobile apps.

|
#F5E7A8
#FAF0BE
#FDF6D3
#FFFAE6
#FFFDF2
1. Gradient Color Stops
| Swatch | HEX | RGB | HSL | CMYK | OKLCH |
|---|---|---|---|---|---|
#F5E7A8 | 245, 231, 168 | 49°, 79%, 81% | 0%, 6%, 31%, 4% | oklch(0.924 0.082 97) | |
#FAF0BE | 250, 240, 190 | 50°, 86%, 86% | 0%, 4%, 24%, 2% | oklch(0.951 0.065 98) | |
#FDF6D3 | 253, 246, 211 | 50°, 91%, 91% | 0%, 3%, 17%, 1% | oklch(0.970 0.046 98) | |
#FFFAE6 | 255, 250, 230 | 48°, 100%, 95% | 0%, 2%, 10%, 0% | oklch(0.984 0.027 95) | |
#FFFDF2 | 255, 253, 242 | 51°, 100%, 97% | 0%, 1%, 5%, 0% | oklch(0.993 0.015 98) |
2. Gradient Variations & Styles
Linear Gradient
Radial Gradient
Conic Gradient
3. CSS Code & Declarations
Linear Gradient
background: linear-gradient(to right, #F5E7A8, #FAF0BE, #FDF6D3, #FFFAE6, #FFFDF2);
Radial Gradient
background: radial-gradient(circle, #F5E7A8, #FAF0BE, #FDF6D3, #FFFAE6, #FFFDF2);
Conic Gradient
background: conic-gradient(from 180deg at 50% 50%, #F5E7A8, #FAF0BE, #FDF6D3, #FFFAE6, #FFFDF2);
Tailwind CSS
bg-gradient-to-r from-[#F5E7A8] to-[#FFFDF2]
SCSS Variable
$gradient-gradient-pastel-yellow: linear-gradient(to right, #F5E7A8, #FAF0BE, #FDF6D3, #FFFAE6, #FFFDF2);
4. Stop Accessibility & Contrast
#F5E7A8Stop 1
On White:1.24:1
On Black:16.88:1
WCAG Pass
#FAF0BEStop 2
On White:1.15:1
On Black:18.27:1
WCAG Pass
#FDF6D3Stop 3
On White:1.09:1
On Black:19.30:1
WCAG Pass
#FFFAE6Stop 4
On White:1.05:1
On Black:20.07:1
WCAG Pass
#FFFDF2Stop 5
On White:1.02:1
On Black:20.58:1
WCAG Pass
5. UI Preview with Gradient
Card Header
Gradient Pastel Yellow 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 Gradient Pastel Yellow
Gradient Name
Gradient Pastel Yellow
Color Stops
5 Colors
First Color
#F5E7A8
End Color
#FFFDF2
Color Swatches