← All gradients
35%How it works
Curated

Gold Foil

#FBF5B7
#D4AF37
#AA771C
Text readability
Curated Warm

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 →

CSS
background: linear-gradient(120deg, #FBF5B7, #D4AF37, #AA771C);
Tailwind
bg-[linear-gradient(120deg,#FBF5B7,#D4AF37,#AA771C)]
Figma token
{
    "gold-foil": {
        "value": "linear-gradient(120deg, #FBF5B7 0%, #D4AF37 50%, #AA771C 100%)",
        "type": "color"
    }
}

Gold Foil gradient for SwiftUI, Flutter, Android and more

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)

Colours in the Gold Foil gradient

StopNameHEXRGBHSL
1Pale yellow#FBF5B7rgb(251, 245, 183)hsl(55, 89%, 85%)
2Yellow#D4AF37rgb(212, 175, 55)hsl(46, 65%, 52%)
3Orange#AA771Crgb(170, 119, 28)hsl(38, 72%, 39%)

Gold Foil gradient in use

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

Gold Foil 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 Gold Foil gradient?

The Gold Foil gradient uses 3 colours: #FBF5B7, #D4AF37 and #AA771C, at an angle of 120°.

How do I use the Gold Foil gradient in CSS?

Paste background: linear-gradient(120deg, #FBF5B7, #D4AF37, #AA771C); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Gold Foil gradient?

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.