← All gradients
35%How it works
IMDb ↗

IMDb Gradient

#F5C518
#121212
Text readability
Brand WarmDark Media

IMDb Gradient is a warm and dark 2-colour linear gradient that runs from yellow (#F5C518) to near-black (#121212) at 135°. It is inspired by IMDb’s brand colours, a reference point for media interfaces. White text reads best on it, at a contrast ratio of 5.1:1 against the gradient’s average colour (AA). Check every point, not just the average →

Unofficial reference: inspired by IMDb’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by IMDb. IMDb 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 IMDb’s. Terms

CSS
background: linear-gradient(135deg, #F5C518, #121212);
Tailwind
bg-gradient-to-br from-[#F5C518] to-[#121212]
Figma token
{
    "imdb": {
        "value": "linear-gradient(135deg, #F5C518 0%, #121212 100%)",
        "type": "color"
    }
}

IMDb Gradient for SwiftUI, Flutter, Android and more

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

let imdbGradient = LinearGradient(
    colors: [
        Color(red: 0.961, green: 0.773, blue: 0.094),
        Color(red: 0.071, green: 0.071, blue: 0.071)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(imdbGradient)

Colours in the IMDb Gradient

StopNameHEXRGBHSL
1Yellow#F5C518rgb(245, 197, 24)hsl(47, 92%, 53%)
2Near-black#121212rgb(18, 18, 18)hsl(0, 0%, 7%)

IMDb Gradient in use

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

IMDb 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 IMDb Gradient?

The IMDb Gradient uses 2 colours: #F5C518 and #121212, at an angle of 135°.

How do I use the IMDb Gradient in CSS?

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

What text colour works on the IMDb Gradient?

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