#16A34A
#15803D
Button Success is a cool and bold 2-colour linear gradient that runs from green (#16A34A) to green (#15803D) at 135°. It suits dashboards and SaaS landing pages and banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 5.2:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(135deg, #16A34A, #15803D);
bg-gradient-to-br from-[#16A34A] to-[#15803D]
{
"button-success": {
"value": "linear-gradient(135deg, #16A34A 0%, #15803D 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let buttonSuccessGradient = LinearGradient(
colors: [
Color(red: 0.086, green: 0.639, blue: 0.29),
Color(red: 0.082, green: 0.502, blue: 0.239)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(buttonSuccessGradient)val buttonSuccessColors = listOf(Color(0xFF16A34A), Color(0xFF15803D))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = buttonSuccessColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/button-success_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#16A34A"
android:endColor="#15803D"
android:type="linear" />
</shape>const buttonSuccessGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF16A34A), Color(0xFF15803D)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: buttonSuccessGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#16A34A', '#15803D']}
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="button-success" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#16A34A" />
<stop offset="100%" stop-color="#15803D" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#button-success)" />
</svg>:root {
--button-success-1: #16A34A;
--button-success-2: #15803D;
--button-success-angle: 135deg;
--button-success: linear-gradient(var(--button-success-angle), var(--button-success-1), var(--button-success-2));
}
.hero {
background: var(--button-success);
}$button-success-1: #16A34A;
$button-success-2: #15803D;
$button-success: linear-gradient(135deg, $button-success-1, $button-success-2);
@mixin button-success-bg {
background: $button-success-1;
background: $button-success;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Green | #16A34A | rgb(22, 163, 74) | hsl(142, 76%, 36%) |
| 2 | Green | #15803D | rgb(21, 128, 61) | hsl(142, 72%, 29%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Button Success gradient uses 2 colours: #16A34A and #15803D, at an angle of 135°.
Paste background: linear-gradient(135deg, #16A34A, #15803D); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 5.2:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.