#D4AF37
#5A4612
#0B0A07
Black Gold is a warm and dark 3-colour linear gradient that runs from yellow (#D4AF37) through deep orange (#5A4612) to near-black (#0B0A07) at 160°. It suits hero sections and call-to-action buttons and dark-mode interfaces and footers. White text reads best on it, at a contrast ratio of 7.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(160deg, #D4AF37, #5A4612, #0B0A07);
bg-[linear-gradient(160deg,#D4AF37,#5A4612,#0B0A07)]
{
"black-gold": {
"value": "linear-gradient(160deg, #D4AF37 0%, #5A4612 50%, #0B0A07 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let blackGoldGradient = LinearGradient(
colors: [
Color(red: 0.831, green: 0.686, blue: 0.216),
Color(red: 0.353, green: 0.275, blue: 0.071),
Color(red: 0.043, green: 0.039, blue: 0.027)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(blackGoldGradient)val blackGoldColors = listOf(Color(0xFFD4AF37), Color(0xFF5A4612), Color(0xFF0B0A07))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = blackGoldColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/black-gold_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#D4AF37"
android:centerColor="#5A4612"
android:endColor="#0B0A07"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const blackGoldGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFFD4AF37), Color(0xFF5A4612), Color(0xFF0B0A07)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: blackGoldGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#D4AF37', '#5A4612', '#0B0A07']}
start={{ x: 0.318, y: 0 }}
end={{ x: 0.682, 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="black-gold" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#D4AF37" />
<stop offset="50%" stop-color="#5A4612" />
<stop offset="100%" stop-color="#0B0A07" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#black-gold)" />
</svg>:root {
--black-gold-1: #D4AF37;
--black-gold-2: #5A4612;
--black-gold-3: #0B0A07;
--black-gold-angle: 160deg;
--black-gold: linear-gradient(var(--black-gold-angle), var(--black-gold-1), var(--black-gold-2), var(--black-gold-3));
}
.hero {
background: var(--black-gold);
}$black-gold-1: #D4AF37;
$black-gold-2: #5A4612;
$black-gold-3: #0B0A07;
$black-gold: linear-gradient(160deg, $black-gold-1, $black-gold-2, $black-gold-3);
@mixin black-gold-bg {
background: $black-gold-1;
background: $black-gold;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Yellow | #D4AF37 | rgb(212, 175, 55) | hsl(46, 65%, 52%) |
| 2 | Deep orange | #5A4612 | rgb(90, 70, 18) | hsl(43, 67%, 21%) |
| 3 | Near-black | #0B0A07 | rgb(11, 10, 7) | hsl(45, 22%, 4%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Black Gold gradient uses 3 colours: #D4AF37, #5A4612 and #0B0A07, at an angle of 160°.
Paste background: linear-gradient(160deg, #D4AF37, #5A4612, #0B0A07); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 7.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.