#F5A623
#F7DC6F
#E67E22
Diwali Gold is a warm and bold 3-colour linear gradient that runs from orange (#F5A623) through light yellow (#F7DC6F) to orange (#E67E22) at 45°. 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 10.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(45deg, #F5A623, #F7DC6F, #E67E22);
bg-gradient-to-tr from-[#F5A623] via-[#F7DC6F] to-[#E67E22]
{
"diwali-gold": {
"value": "linear-gradient(45deg, #F5A623 0%, #F7DC6F 50%, #E67E22 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let diwaliGoldGradient = LinearGradient(
colors: [
Color(red: 0.961, green: 0.651, blue: 0.137),
Color(red: 0.969, green: 0.863, blue: 0.435),
Color(red: 0.902, green: 0.494, blue: 0.133)
],
startPoint: UnitPoint(x: 0, y: 1),
endPoint: UnitPoint(x: 1, y: 0)
)
// Usage
Rectangle().fill(diwaliGoldGradient)val diwaliGoldColors = listOf(Color(0xFFF5A623), Color(0xFFF7DC6F), Color(0xFFE67E22))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = diwaliGoldColors,
start = Offset(size.width * 0f, size.height * 1f),
end = Offset(size.width * 1f, size.height * 0f)
)
)
}<!-- res/drawable/diwali-gold_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="45"
android:startColor="#F5A623"
android:centerColor="#F7DC6F"
android:endColor="#E67E22"
android:type="linear" />
</shape>const diwaliGoldGradient = LinearGradient(
begin: Alignment(-1, 1),
end: Alignment(1, -1),
colors: [Color(0xFFF5A623), Color(0xFFF7DC6F), Color(0xFFE67E22)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: diwaliGoldGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#F5A623', '#F7DC6F', '#E67E22']}
start={{ x: 0, y: 1 }}
end={{ x: 1, y: 0 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="diwali-gold" x1="0" y1="1" x2="1" y2="0">
<stop offset="0%" stop-color="#F5A623" />
<stop offset="50%" stop-color="#F7DC6F" />
<stop offset="100%" stop-color="#E67E22" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#diwali-gold)" />
</svg>:root {
--diwali-gold-1: #F5A623;
--diwali-gold-2: #F7DC6F;
--diwali-gold-3: #E67E22;
--diwali-gold-angle: 45deg;
--diwali-gold: linear-gradient(var(--diwali-gold-angle), var(--diwali-gold-1), var(--diwali-gold-2), var(--diwali-gold-3));
}
.hero {
background: var(--diwali-gold);
}$diwali-gold-1: #F5A623;
$diwali-gold-2: #F7DC6F;
$diwali-gold-3: #E67E22;
$diwali-gold: linear-gradient(45deg, $diwali-gold-1, $diwali-gold-2, $diwali-gold-3);
@mixin diwali-gold-bg {
background: $diwali-gold-1;
background: $diwali-gold;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Orange | #F5A623 | rgb(245, 166, 35) | hsl(37, 91%, 55%) |
| 2 | Light yellow | #F7DC6F | rgb(247, 220, 111) | hsl(48, 89%, 70%) |
| 3 | Orange | #E67E22 | rgb(230, 126, 34) | hsl(28, 80%, 52%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Diwali Gold gradient uses 3 colours: #F5A623, #F7DC6F and #E67E22, at an angle of 45°.
Paste background: linear-gradient(45deg, #F5A623, #F7DC6F, #E67E22); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 10.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.