#FDE68A
#A7F3D0
#BFDBFE
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 →
background: linear-gradient(135deg, #FDE68A, #A7F3D0, #BFDBFE);
bg-gradient-to-br from-[#FDE68A] via-[#A7F3D0] to-[#BFDBFE]
{
"pastel-rainbow": {
"value": "linear-gradient(135deg, #FDE68A 0%, #A7F3D0 50%, #BFDBFE 100%)",
"type": "color"
}
}
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)val pastelRainbowColors = listOf(Color(0xFFFDE68A), Color(0xFFA7F3D0), Color(0xFFBFDBFE))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = pastelRainbowColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/pastel-rainbow_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FDE68A"
android:centerColor="#A7F3D0"
android:endColor="#BFDBFE"
android:type="linear" />
</shape>const pastelRainbowGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFDE68A), Color(0xFFA7F3D0), Color(0xFFBFDBFE)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: pastelRainbowGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FDE68A', '#A7F3D0', '#BFDBFE']}
start={{ x: 0, y: 0 }}
end={{ x: 1, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="pastel-rainbow" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FDE68A" />
<stop offset="50%" stop-color="#A7F3D0" />
<stop offset="100%" stop-color="#BFDBFE" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#pastel-rainbow)" />
</svg>:root {
--pastel-rainbow-1: #FDE68A;
--pastel-rainbow-2: #A7F3D0;
--pastel-rainbow-3: #BFDBFE;
--pastel-rainbow-angle: 135deg;
--pastel-rainbow: linear-gradient(var(--pastel-rainbow-angle), var(--pastel-rainbow-1), var(--pastel-rainbow-2), var(--pastel-rainbow-3));
}
.hero {
background: var(--pastel-rainbow);
}$pastel-rainbow-1: #FDE68A;
$pastel-rainbow-2: #A7F3D0;
$pastel-rainbow-3: #BFDBFE;
$pastel-rainbow: linear-gradient(135deg, $pastel-rainbow-1, $pastel-rainbow-2, $pastel-rainbow-3);
@mixin pastel-rainbow-bg {
background: $pastel-rainbow-1;
background: $pastel-rainbow;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Light yellow | #FDE68A | rgb(253, 230, 138) | hsl(48, 97%, 77%) |
| 2 | Pale green | #A7F3D0 | rgb(167, 243, 208) | hsl(152, 76%, 80%) |
| 3 | Pale blue | #BFDBFE | rgb(191, 219, 254) | hsl(213, 97%, 87%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Pastel Rainbow gradient uses 3 colours: #FDE68A, #A7F3D0 and #BFDBFE, at an angle of 135°.
Paste background: linear-gradient(135deg, #FDE68A, #A7F3D0, #BFDBFE); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
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.