#FBF5B7
#D4AF37
#AA771C
Gold Foil is a warm 3-colour linear gradient that runs from pale yellow (#FBF5B7) through yellow (#D4AF37) to orange (#AA771C) at 120°. It suits hero sections and call-to-action buttons. Black text reads best on it, at a contrast ratio of 10.4:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(120deg, #FBF5B7, #D4AF37, #AA771C);
bg-[linear-gradient(120deg,#FBF5B7,#D4AF37,#AA771C)]
{
"gold-foil": {
"value": "linear-gradient(120deg, #FBF5B7 0%, #D4AF37 50%, #AA771C 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let goldFoilGradient = LinearGradient(
colors: [
Color(red: 0.984, green: 0.961, blue: 0.718),
Color(red: 0.831, green: 0.686, blue: 0.216),
Color(red: 0.667, green: 0.467, blue: 0.11)
],
startPoint: UnitPoint(x: 0, y: 0.212),
endPoint: UnitPoint(x: 1, y: 0.789)
)
// Usage
Rectangle().fill(goldFoilGradient)val goldFoilColors = listOf(Color(0xFFFBF5B7), Color(0xFFD4AF37), Color(0xFFAA771C))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = goldFoilColors,
start = Offset(size.width * 0f, size.height * 0.212f),
end = Offset(size.width * 1f, size.height * 0.789f)
)
)
}<!-- res/drawable/gold-foil_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FBF5B7"
android:centerColor="#D4AF37"
android:endColor="#AA771C"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 120deg in CSS is 330°, rounded to 315°. -->const goldFoilGradient = LinearGradient(
begin: Alignment(-1, -0.577),
end: Alignment(1, 0.577),
colors: [Color(0xFFFBF5B7), Color(0xFFD4AF37), Color(0xFFAA771C)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: goldFoilGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FBF5B7', '#D4AF37', '#AA771C']}
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="gold-foil" x1="0" y1="0.212" x2="1" y2="0.789">
<stop offset="0%" stop-color="#FBF5B7" />
<stop offset="50%" stop-color="#D4AF37" />
<stop offset="100%" stop-color="#AA771C" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#gold-foil)" />
</svg>:root {
--gold-foil-1: #FBF5B7;
--gold-foil-2: #D4AF37;
--gold-foil-3: #AA771C;
--gold-foil-angle: 120deg;
--gold-foil: linear-gradient(var(--gold-foil-angle), var(--gold-foil-1), var(--gold-foil-2), var(--gold-foil-3));
}
.hero {
background: var(--gold-foil);
}$gold-foil-1: #FBF5B7;
$gold-foil-2: #D4AF37;
$gold-foil-3: #AA771C;
$gold-foil: linear-gradient(120deg, $gold-foil-1, $gold-foil-2, $gold-foil-3);
@mixin gold-foil-bg {
background: $gold-foil-1;
background: $gold-foil;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Pale yellow | #FBF5B7 | rgb(251, 245, 183) | hsl(55, 89%, 85%) |
| 2 | Yellow | #D4AF37 | rgb(212, 175, 55) | hsl(46, 65%, 52%) |
| 3 | Orange | #AA771C | rgb(170, 119, 28) | hsl(38, 72%, 39%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Gold Foil gradient uses 3 colours: #FBF5B7, #D4AF37 and #AA771C, at an angle of 120°.
Paste background: linear-gradient(120deg, #FBF5B7, #D4AF37, #AA771C); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 10.4:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.