#F1F732
#29F935
Goldleaf Pistachio is a warm and bold 2-colour linear gradient that runs from yellow (#F1F732) to green (#29F935) at 150°. 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 15.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(150deg, #F1F732, #29F935);
bg-[linear-gradient(150deg,#F1F732,#29F935)]
{
"goldleaf-pistachio": {
"value": "linear-gradient(150deg, #F1F732 0%, #29F935 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let goldleafPistachioGradient = LinearGradient(
colors: [
Color(red: 0.945, green: 0.969, blue: 0.196),
Color(red: 0.161, green: 0.976, blue: 0.208)
],
startPoint: UnitPoint(x: 0.212, y: 0),
endPoint: UnitPoint(x: 0.789, y: 1)
)
// Usage
Rectangle().fill(goldleafPistachioGradient)val goldleafPistachioColors = listOf(Color(0xFFF1F732), Color(0xFF29F935))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = goldleafPistachioColors,
start = Offset(size.width * 0.212f, size.height * 0f),
end = Offset(size.width * 0.789f, size.height * 1f)
)
)
}<!-- res/drawable/goldleaf-pistachio_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#F1F732"
android:endColor="#29F935"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 150deg in CSS is 300°, rounded to 315°. -->const goldleafPistachioGradient = LinearGradient(
begin: Alignment(-0.577, -1),
end: Alignment(0.577, 1),
colors: [Color(0xFFF1F732), Color(0xFF29F935)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: goldleafPistachioGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#F1F732', '#29F935']}
start={{ x: 0.212, y: 0 }}
end={{ x: 0.789, 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="goldleaf-pistachio" x1="0.212" y1="0" x2="0.789" y2="1">
<stop offset="0%" stop-color="#F1F732" />
<stop offset="100%" stop-color="#29F935" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#goldleaf-pistachio)" />
</svg>:root {
--goldleaf-pistachio-1: #F1F732;
--goldleaf-pistachio-2: #29F935;
--goldleaf-pistachio-angle: 150deg;
--goldleaf-pistachio: linear-gradient(var(--goldleaf-pistachio-angle), var(--goldleaf-pistachio-1), var(--goldleaf-pistachio-2));
}
.hero {
background: var(--goldleaf-pistachio);
}$goldleaf-pistachio-1: #F1F732;
$goldleaf-pistachio-2: #29F935;
$goldleaf-pistachio: linear-gradient(150deg, $goldleaf-pistachio-1, $goldleaf-pistachio-2);
@mixin goldleaf-pistachio-bg {
background: $goldleaf-pistachio-1;
background: $goldleaf-pistachio;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Yellow | #F1F732 | rgb(241, 247, 50) | hsl(62, 92%, 58%) |
| 2 | Green | #29F935 | rgb(41, 249, 53) | hsl(123, 95%, 57%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Goldleaf Pistachio gradient uses 2 colours: #F1F732 and #29F935, at an angle of 150°.
Paste background: linear-gradient(150deg, #F1F732, #29F935); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 15.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.