#ECFDF5
#D1FAE5
#A7F3D0
Checkout Success is a cool and pastel 3-colour linear gradient that runs from off-white (#ECFDF5) through pale green (#D1FAE5) to pale green (#A7F3D0) at 135°. It suits dashboards and SaaS landing pages and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 18.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #ECFDF5, #D1FAE5, #A7F3D0);
bg-gradient-to-br from-[#ECFDF5] via-[#D1FAE5] to-[#A7F3D0]
{
"checkout-success": {
"value": "linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 50%, #A7F3D0 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let checkoutSuccessGradient = LinearGradient(
colors: [
Color(red: 0.925, green: 0.992, blue: 0.961),
Color(red: 0.82, green: 0.98, blue: 0.898),
Color(red: 0.655, green: 0.953, blue: 0.816)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(checkoutSuccessGradient)val checkoutSuccessColors = listOf(Color(0xFFECFDF5), Color(0xFFD1FAE5), Color(0xFFA7F3D0))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = checkoutSuccessColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/checkout-success_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#ECFDF5"
android:centerColor="#D1FAE5"
android:endColor="#A7F3D0"
android:type="linear" />
</shape>const checkoutSuccessGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFECFDF5), Color(0xFFD1FAE5), Color(0xFFA7F3D0)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: checkoutSuccessGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#ECFDF5', '#D1FAE5', '#A7F3D0']}
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="checkout-success" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#ECFDF5" />
<stop offset="50%" stop-color="#D1FAE5" />
<stop offset="100%" stop-color="#A7F3D0" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#checkout-success)" />
</svg>:root {
--checkout-success-1: #ECFDF5;
--checkout-success-2: #D1FAE5;
--checkout-success-3: #A7F3D0;
--checkout-success-angle: 135deg;
--checkout-success: linear-gradient(var(--checkout-success-angle), var(--checkout-success-1), var(--checkout-success-2), var(--checkout-success-3));
}
.hero {
background: var(--checkout-success);
}$checkout-success-1: #ECFDF5;
$checkout-success-2: #D1FAE5;
$checkout-success-3: #A7F3D0;
$checkout-success: linear-gradient(135deg, $checkout-success-1, $checkout-success-2, $checkout-success-3);
@mixin checkout-success-bg {
background: $checkout-success-1;
background: $checkout-success;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #ECFDF5 | rgb(236, 253, 245) | hsl(152, 81%, 96%) |
| 2 | Pale green | #D1FAE5 | rgb(209, 250, 229) | hsl(149, 80%, 90%) |
| 3 | Pale green | #A7F3D0 | rgb(167, 243, 208) | hsl(152, 76%, 80%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Checkout Success gradient uses 3 colours: #ECFDF5, #D1FAE5 and #A7F3D0, at an angle of 135°.
Paste background: linear-gradient(135deg, #ECFDF5, #D1FAE5, #A7F3D0); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 18.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.