#53F731
#F5FB2D
Pistachio Sunbeam is a warm and bold 2-colour linear gradient that runs from green (#53F731) to yellow (#F5FB2D) at 120°. It suits hero sections and call-to-action buttons and banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 16.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(120deg, #53F731, #F5FB2D);
bg-[linear-gradient(120deg,#53F731,#F5FB2D)]
{
"pistachio-sunbeam": {
"value": "linear-gradient(120deg, #53F731 0%, #F5FB2D 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let pistachioSunbeamGradient = LinearGradient(
colors: [
Color(red: 0.325, green: 0.969, blue: 0.192),
Color(red: 0.961, green: 0.984, blue: 0.176)
],
startPoint: UnitPoint(x: 0, y: 0.212),
endPoint: UnitPoint(x: 1, y: 0.789)
)
// Usage
Rectangle().fill(pistachioSunbeamGradient)val pistachioSunbeamColors = listOf(Color(0xFF53F731), Color(0xFFF5FB2D))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = pistachioSunbeamColors,
start = Offset(size.width * 0f, size.height * 0.212f),
end = Offset(size.width * 1f, size.height * 0.789f)
)
)
}<!-- res/drawable/pistachio-sunbeam_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#53F731"
android:endColor="#F5FB2D"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 120deg in CSS is 330°, rounded to 315°. -->const pistachioSunbeamGradient = LinearGradient(
begin: Alignment(-1, -0.577),
end: Alignment(1, 0.577),
colors: [Color(0xFF53F731), Color(0xFFF5FB2D)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: pistachioSunbeamGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#53F731', '#F5FB2D']}
start={{ x: 0, y: 0.212 }}
end={{ x: 1, y: 0.789 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="pistachio-sunbeam" x1="0" y1="0.212" x2="1" y2="0.789">
<stop offset="0%" stop-color="#53F731" />
<stop offset="100%" stop-color="#F5FB2D" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#pistachio-sunbeam)" />
</svg>:root {
--pistachio-sunbeam-1: #53F731;
--pistachio-sunbeam-2: #F5FB2D;
--pistachio-sunbeam-angle: 120deg;
--pistachio-sunbeam: linear-gradient(var(--pistachio-sunbeam-angle), var(--pistachio-sunbeam-1), var(--pistachio-sunbeam-2));
}
.hero {
background: var(--pistachio-sunbeam);
}$pistachio-sunbeam-1: #53F731;
$pistachio-sunbeam-2: #F5FB2D;
$pistachio-sunbeam: linear-gradient(120deg, $pistachio-sunbeam-1, $pistachio-sunbeam-2);
@mixin pistachio-sunbeam-bg {
background: $pistachio-sunbeam-1;
background: $pistachio-sunbeam;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Green | #53F731 | rgb(83, 247, 49) | hsl(110, 93%, 58%) |
| 2 | Yellow | #F5FB2D | rgb(245, 251, 45) | hsl(62, 96%, 58%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Pistachio Sunbeam gradient uses 2 colours: #53F731 and #F5FB2D, at an angle of 120°.
Paste background: linear-gradient(120deg, #53F731, #F5FB2D); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 16.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.