← All gradients
35%How it works
UI

Pastel Rainbow

#FDE68A
#A7F3D0
#BFDBFE
Text readability
Ui PastelCool

Pastel Rainbow is a pastel and cool 3-colour linear gradient that runs from light yellow (#FDE68A) through pale green (#A7F3D0) to pale blue (#BFDBFE) at 135°. It suits soft backgrounds, cards and onboarding screens and dashboards and SaaS landing pages. Black text reads best on it, at a contrast ratio of 15.8:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #FDE68A, #A7F3D0, #BFDBFE);
Tailwind
bg-gradient-to-br from-[#FDE68A] via-[#A7F3D0] to-[#BFDBFE]
Figma token
{
    "pastel-rainbow": {
        "value": "linear-gradient(135deg, #FDE68A 0%, #A7F3D0 50%, #BFDBFE 100%)",
        "type": "color"
    }
}

Pastel Rainbow gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let pastelRainbowGradient = LinearGradient(
    colors: [
        Color(red: 0.992, green: 0.902, blue: 0.541),
        Color(red: 0.655, green: 0.953, blue: 0.816),
        Color(red: 0.749, green: 0.859, blue: 0.996)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(pastelRainbowGradient)

Colours in the Pastel Rainbow gradient

StopNameHEXRGBHSL
1Light yellow#FDE68Argb(253, 230, 138)hsl(48, 97%, 77%)
2Pale green#A7F3D0rgb(167, 243, 208)hsl(152, 76%, 80%)
3Pale blue#BFDBFErgb(191, 219, 254)hsl(213, 97%, 87%)

Pastel Rainbow gradient in use

Build something beautifulA hero section on the Pastel Rainbow gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Pastel Rainbow gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Pastel Rainbow gradient?

The Pastel Rainbow gradient uses 3 colours: #FDE68A, #A7F3D0 and #BFDBFE, at an angle of 135°.

How do I use the Pastel Rainbow gradient in CSS?

Paste background: linear-gradient(135deg, #FDE68A, #A7F3D0, #BFDBFE); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Pastel Rainbow gradient?

Black text has the best contrast, at 15.8:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.