← All gradients
35%How it works
Curated

Black Gold

#D4AF37
#5A4612
#0B0A07
Text readability
Curated WarmDark

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 →

CSS
background: linear-gradient(160deg, #D4AF37, #5A4612, #0B0A07);
Tailwind
bg-[linear-gradient(160deg,#D4AF37,#5A4612,#0B0A07)]
Figma token
{
    "black-gold": {
        "value": "linear-gradient(160deg, #D4AF37 0%, #5A4612 50%, #0B0A07 100%)",
        "type": "color"
    }
}

Black Gold gradient for SwiftUI, Flutter, Android and more

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)

Colours in the Black Gold gradient

StopNameHEXRGBHSL
1Yellow#D4AF37rgb(212, 175, 55)hsl(46, 65%, 52%)
2Deep orange#5A4612rgb(90, 70, 18)hsl(43, 67%, 21%)
3Near-black#0B0A07rgb(11, 10, 7)hsl(45, 22%, 4%)

Black Gold gradient in use

Build something beautifulA hero section on the Black Gold gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Black Gold gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Black Gold gradient?

The Black Gold gradient uses 3 colours: #D4AF37, #5A4612 and #0B0A07, at an angle of 160°.

How do I use the Black Gold gradient in CSS?

Paste background: linear-gradient(160deg, #D4AF37, #5A4612, #0B0A07); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Black Gold gradient?

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.