← All gradients
35%How it works
Subway ↗

Subway Gradient

#009B48
#007A38
Text readability
Brand Cool Food

Subway Gradient is a cool 2-colour linear gradient that runs from green (#009B48) to deep green (#007A38) at 135°. It is inspired by Subway’s brand colours, a reference point for food interfaces. Black text reads best on it, at a contrast ratio of 4.7:1 against the gradient’s average colour (AA). Check every point, not just the average →

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

CSS
background: linear-gradient(135deg, #009B48, #007A38);
Tailwind
bg-gradient-to-br from-[#009B48] to-[#007A38]
Figma token
{
    "subway": {
        "value": "linear-gradient(135deg, #009B48 0%, #007A38 100%)",
        "type": "color"
    }
}

Subway Gradient for SwiftUI, Flutter, Android and more

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

let subwayGradient = LinearGradient(
    colors: [
        Color(red: 0, green: 0.608, blue: 0.282),
        Color(red: 0, green: 0.478, blue: 0.22)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(subwayGradient)

Colours in the Subway Gradient

StopNameHEXRGBHSL
1Green#009B48rgb(0, 155, 72)hsl(148, 100%, 30%)
2Deep green#007A38rgb(0, 122, 56)hsl(148, 100%, 24%)

Subway Gradient in use

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

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

The Subway Gradient uses 2 colours: #009B48 and #007A38, at an angle of 135°.

How do I use the Subway Gradient in CSS?

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

What text colour works on the Subway Gradient?

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