← All gradients
35%How it works
McDonald's ↗

McDonald’s Gradient

#FFC300
#DA291C
Text readability
Brand WarmBold Food

McDonald’s Gradient is a warm and bold 2-colour linear gradient that runs from yellow (#FFC300) to red (#DA291C) at 135°. It is inspired by McDonald's’s brand colours, a reference point for food interfaces. Black 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 →

Unofficial reference: inspired by McDonald's’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by McDonald's. McDonald's is a trademark of its owner. The CSS is free to use, but don’t use these colours to make your own product look like McDonald's’s. Terms

CSS
background: linear-gradient(135deg, #FFC300, #DA291C);
Tailwind
bg-gradient-to-br from-[#FFC300] to-[#DA291C]
Figma token
{
    "mcdonald-8217-s": {
        "value": "linear-gradient(135deg, #FFC300 0%, #DA291C 100%)",
        "type": "color"
    }
}

McDonald’s Gradient for SwiftUI, Flutter, Android and more

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

let mcdonald8217SGradient = LinearGradient(
    colors: [
        Color(red: 1, green: 0.765, blue: 0),
        Color(red: 0.855, green: 0.161, blue: 0.11)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(mcdonald8217SGradient)

Colours in the McDonald’s Gradient

StopNameHEXRGBHSL
1Yellow#FFC300rgb(255, 195, 0)hsl(46, 100%, 50%)
2Red#DA291Crgb(218, 41, 28)hsl(4, 77%, 48%)

McDonald’s Gradient in use

Build something beautifulA hero section on the McDonald’s GradientGet started
Button
Card accentAs a border or progress bar
Gradient text

McDonald’s 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 McDonald’s Gradient?

The McDonald’s Gradient uses 2 colours: #FFC300 and #DA291C, at an angle of 135°.

How do I use the McDonald’s Gradient in CSS?

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

What text colour works on the McDonald’s Gradient?

Black 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.