Shopify Gradient is a cool 2-colour linear gradient that runs from green (#96BF48) to green (#5E8E3E) at 135°. It is inspired by Shopify’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 7.4:1 against the gradient’s average colour (AAA). Check every point, not just the average →
Unofficial reference: inspired by Shopify’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Shopify. Shopify is a trademark of its owner. The CSS is free to use, but don’t use these colours to make your own product look like Shopify’s. Terms
background: linear-gradient(135deg, #96BF48, #5E8E3E);
bg-gradient-to-br from-[#96BF48] to-[#5E8E3E]
{
"shopify": {
"value": "linear-gradient(135deg, #96BF48 0%, #5E8E3E 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let shopifyGradient = LinearGradient(
colors: [
Color(red: 0.588, green: 0.749, blue: 0.282),
Color(red: 0.369, green: 0.557, blue: 0.243)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(shopifyGradient)val shopifyColors = listOf(Color(0xFF96BF48), Color(0xFF5E8E3E))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = shopifyColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/shopify_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#96BF48"
android:endColor="#5E8E3E"
android:type="linear" />
</shape>const shopifyGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF96BF48), Color(0xFF5E8E3E)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: shopifyGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#96BF48', '#5E8E3E']}
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="shopify" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#96BF48" />
<stop offset="100%" stop-color="#5E8E3E" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#shopify)" />
</svg>:root {
--shopify-1: #96BF48;
--shopify-2: #5E8E3E;
--shopify-angle: 135deg;
--shopify: linear-gradient(var(--shopify-angle), var(--shopify-1), var(--shopify-2));
}
.hero {
background: var(--shopify);
}$shopify-1: #96BF48;
$shopify-2: #5E8E3E;
$shopify: linear-gradient(135deg, $shopify-1, $shopify-2);
@mixin shopify-bg {
background: $shopify-1;
background: $shopify;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Green | #96BF48 | rgb(150, 191, 72) | hsl(81, 48%, 52%) |
| 2 | Green | #5E8E3E | rgb(94, 142, 62) | hsl(96, 39%, 40%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Shopify Gradient uses 2 colours: #96BF48 and #5E8E3E, at an angle of 135°.
Paste background: linear-gradient(135deg, #96BF48, #5E8E3E); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 7.4:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.