← All gradients
35%How it works
Curated

White and Gold

#FFFFFF
#F7EFD2
#D9B84A
Text readability
Curated WarmPastel

White and Gold is a warm and pastel 3-colour linear gradient that runs from off-white (#FFFFFF) through light grey (#F7EFD2) to yellow (#D9B84A) at 135°. It suits hero sections and call-to-action buttons and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 16.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #FFFFFF, #F7EFD2, #D9B84A);
Tailwind
bg-gradient-to-br from-[#FFFFFF] via-[#F7EFD2] to-[#D9B84A]
Figma token
{
    "white-and-gold": {
        "value": "linear-gradient(135deg, #FFFFFF 0%, #F7EFD2 50%, #D9B84A 100%)",
        "type": "color"
    }
}

White and Gold gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let whiteAndGoldGradient = LinearGradient(
    colors: [
        Color(red: 1, green: 1, blue: 1),
        Color(red: 0.969, green: 0.937, blue: 0.824),
        Color(red: 0.851, green: 0.722, blue: 0.29)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(whiteAndGoldGradient)

Colours in the White and Gold gradient

StopNameHEXRGBHSL
1Off-white#FFFFFFrgb(255, 255, 255)hsl(0, 0%, 100%)
2Light grey#F7EFD2rgb(247, 239, 210)hsl(47, 70%, 90%)
3Yellow#D9B84Argb(217, 184, 74)hsl(46, 65%, 57%)

White and Gold gradient in use

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

White and 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 White and Gold gradient?

The White and Gold gradient uses 3 colours: #FFFFFF, #F7EFD2 and #D9B84A, at an angle of 135°.

How do I use the White and Gold gradient in CSS?

Paste background: linear-gradient(135deg, #FFFFFF, #F7EFD2, #D9B84A); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the White and Gold gradient?

Black text has the best contrast, at 16.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.