← All gradients
35%How it works
Hugging Face ↗

Hugging Face Gradient

#FFD21E
#FF9D00
Text readability
Brand WarmBold Tech

Hugging Face Gradient is a warm and bold 2-colour linear gradient that runs from yellow (#FFD21E) to orange (#FF9D00) at 135°. It is inspired by Hugging Face’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 12.1:1 against the gradient’s average colour (AAA). Check every point, not just the average →

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

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

Hugging Face Gradient for SwiftUI, Flutter, Android and more

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

let huggingFaceGradient = LinearGradient(
    colors: [
        Color(red: 1, green: 0.824, blue: 0.118),
        Color(red: 1, green: 0.616, blue: 0)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(huggingFaceGradient)

Colours in the Hugging Face Gradient

StopNameHEXRGBHSL
1Yellow#FFD21Ergb(255, 210, 30)hsl(48, 100%, 56%)
2Orange#FF9D00rgb(255, 157, 0)hsl(37, 100%, 50%)

Hugging Face Gradient in use

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

Hugging Face 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 Hugging Face Gradient?

The Hugging Face Gradient uses 2 colours: #FFD21E and #FF9D00, at an angle of 135°.

How do I use the Hugging Face Gradient in CSS?

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

What text colour works on the Hugging Face Gradient?

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