← All gradients
35%How it works
Stack Overflow ↗

Stack Overflow Gradient

#F48024
#222426
Text readability
Brand WarmDark Tech

Stack Overflow Gradient is a warm and dark 2-colour linear gradient that runs from orange (#F48024) to charcoal (#222426) at 135°. It is inspired by Stack Overflow’s brand colours, a reference point for tech interfaces. White text reads best on it, at a contrast ratio of 6.3:1 against the gradient’s average colour (AA). Check every point, not just the average →

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

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

Stack Overflow Gradient for SwiftUI, Flutter, Android and more

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

let stackOverflowGradient = LinearGradient(
    colors: [
        Color(red: 0.957, green: 0.502, blue: 0.141),
        Color(red: 0.133, green: 0.141, blue: 0.149)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(stackOverflowGradient)

Colours in the Stack Overflow Gradient

StopNameHEXRGBHSL
1Orange#F48024rgb(244, 128, 36)hsl(27, 90%, 55%)
2Charcoal#222426rgb(34, 36, 38)hsl(210, 6%, 14%)

Stack Overflow Gradient in use

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

Stack Overflow 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 Stack Overflow Gradient?

The Stack Overflow Gradient uses 2 colours: #F48024 and #222426, at an angle of 135°.

How do I use the Stack Overflow Gradient in CSS?

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

What text colour works on the Stack Overflow Gradient?

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