← All gradients
35%How it works
Segment ↗

Segment Gradient

#52BD94
#02907A
Text readability
Brand Cool Tech

Segment Gradient is a cool 2-colour linear gradient that runs from green (#52BD94) to teal (#02907A) at 135°. It is inspired by Segment’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 6.9:1 against the gradient’s average colour (AA). Check every point, not just the average →

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

CSS
background: linear-gradient(135deg, #52BD94, #02907A);
Tailwind
bg-gradient-to-br from-[#52BD94] to-[#02907A]
Figma token
{
    "segment": {
        "value": "linear-gradient(135deg, #52BD94 0%, #02907A 100%)",
        "type": "color"
    }
}

Segment Gradient for SwiftUI, Flutter, Android and more

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

let segmentGradient = LinearGradient(
    colors: [
        Color(red: 0.322, green: 0.741, blue: 0.58),
        Color(red: 0.008, green: 0.565, blue: 0.478)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(segmentGradient)

Colours in the Segment Gradient

StopNameHEXRGBHSL
1Green#52BD94rgb(82, 189, 148)hsl(157, 45%, 53%)
2Teal#02907Argb(2, 144, 122)hsl(171, 97%, 29%)

Segment Gradient in use

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

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

The Segment Gradient uses 2 colours: #52BD94 and #02907A, at an angle of 135°.

How do I use the Segment Gradient in CSS?

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

What text colour works on the Segment Gradient?

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