#DCFCE7
#BBF7D0
Badge Green is a cool and pastel 2-colour linear gradient that runs from off-white (#DCFCE7) to pale green (#BBF7D0) 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, #DCFCE7, #BBF7D0);
bg-gradient-to-br from-[#DCFCE7] to-[#BBF7D0]
{
"badge-green": {
"value": "linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let badgeGreenGradient = LinearGradient(
colors: [
Color(red: 0.863, green: 0.988, blue: 0.906),
Color(red: 0.733, green: 0.969, blue: 0.816)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(badgeGreenGradient)val badgeGreenColors = listOf(Color(0xFFDCFCE7), Color(0xFFBBF7D0))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = badgeGreenColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/badge-green_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#DCFCE7"
android:endColor="#BBF7D0"
android:type="linear" />
</shape>const badgeGreenGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFDCFCE7), Color(0xFFBBF7D0)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: badgeGreenGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#DCFCE7', '#BBF7D0']}
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="badge-green" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#DCFCE7" />
<stop offset="100%" stop-color="#BBF7D0" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#badge-green)" />
</svg>:root {
--badge-green-1: #DCFCE7;
--badge-green-2: #BBF7D0;
--badge-green-angle: 135deg;
--badge-green: linear-gradient(var(--badge-green-angle), var(--badge-green-1), var(--badge-green-2));
}
.hero {
background: var(--badge-green);
}$badge-green-1: #DCFCE7;
$badge-green-2: #BBF7D0;
$badge-green: linear-gradient(135deg, $badge-green-1, $badge-green-2);
@mixin badge-green-bg {
background: $badge-green-1;
background: $badge-green;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #DCFCE7 | rgb(220, 252, 231) | hsl(141, 84%, 93%) |
| 2 | Pale green | #BBF7D0 | rgb(187, 247, 208) | hsl(141, 79%, 85%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Badge Green gradient uses 2 colours: #DCFCE7 and #BBF7D0, at an angle of 135°.
Paste background: linear-gradient(135deg, #DCFCE7, #BBF7D0); 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.