#FFF3B0
#E6B422
#8A6A0A
Gold is a warm and bold 3-colour linear gradient that runs from pale yellow (#FFF3B0) through orange (#E6B422) to yellow (#8A6A0A) at 135°. 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.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #FFF3B0, #E6B422, #8A6A0A);
bg-gradient-to-br from-[#FFF3B0] via-[#E6B422] to-[#8A6A0A]
{
"gold": {
"value": "linear-gradient(135deg, #FFF3B0 0%, #E6B422 50%, #8A6A0A 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let goldGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.953, blue: 0.69),
Color(red: 0.902, green: 0.706, blue: 0.133),
Color(red: 0.541, green: 0.416, blue: 0.039)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(goldGradient)val goldColors = listOf(Color(0xFFFFF3B0), Color(0xFFE6B422), Color(0xFF8A6A0A))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = goldColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/gold_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FFF3B0"
android:centerColor="#E6B422"
android:endColor="#8A6A0A"
android:type="linear" />
</shape>const goldGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFFF3B0), Color(0xFFE6B422), Color(0xFF8A6A0A)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: goldGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FFF3B0', '#E6B422', '#8A6A0A']}
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="gold" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FFF3B0" />
<stop offset="50%" stop-color="#E6B422" />
<stop offset="100%" stop-color="#8A6A0A" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#gold)" />
</svg>:root {
--gold-1: #FFF3B0;
--gold-2: #E6B422;
--gold-3: #8A6A0A;
--gold-angle: 135deg;
--gold: linear-gradient(var(--gold-angle), var(--gold-1), var(--gold-2), var(--gold-3));
}
.hero {
background: var(--gold);
}$gold-1: #FFF3B0;
$gold-2: #E6B422;
$gold-3: #8A6A0A;
$gold: linear-gradient(135deg, $gold-1, $gold-2, $gold-3);
@mixin gold-bg {
background: $gold-1;
background: $gold;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Pale yellow | #FFF3B0 | rgb(255, 243, 176) | hsl(51, 100%, 85%) |
| 2 | Orange | #E6B422 | rgb(230, 180, 34) | hsl(45, 80%, 52%) |
| 3 | Yellow | #8A6A0A | rgb(138, 106, 10) | hsl(45, 86%, 29%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Gold gradient uses 3 colours: #FFF3B0, #E6B422 and #8A6A0A, at an angle of 135°.
Paste background: linear-gradient(135deg, #FFF3B0, #E6B422, #8A6A0A); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 10.0:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.