← All gradients
35%How it works
UI

Toast Success

#22C55E
#16A34A
Text readability
Ui CoolBold

Toast Success is a cool and bold 2-colour linear gradient that runs from green (#22C55E) to green (#16A34A) at 135°. It suits dashboards and SaaS landing pages and banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 7.7:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #22C55E, #16A34A);
Tailwind
bg-gradient-to-br from-[#22C55E] to-[#16A34A]
Figma token
{
    "toast-success": {
        "value": "linear-gradient(135deg, #22C55E 0%, #16A34A 100%)",
        "type": "color"
    }
}

Toast Success gradient for SwiftUI, Flutter, Android and more

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

let toastSuccessGradient = LinearGradient(
    colors: [
        Color(red: 0.133, green: 0.773, blue: 0.369),
        Color(red: 0.086, green: 0.639, blue: 0.29)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(toastSuccessGradient)

Colours in the Toast Success gradient

StopNameHEXRGBHSL
1Green#22C55Ergb(34, 197, 94)hsl(142, 71%, 45%)
2Green#16A34Argb(22, 163, 74)hsl(142, 76%, 36%)

Toast Success gradient in use

Build something beautifulA hero section on the Toast Success gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Toast Success 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 Toast Success gradient?

The Toast Success gradient uses 2 colours: #22C55E and #16A34A, at an angle of 135°.

How do I use the Toast Success gradient in CSS?

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

What text colour works on the Toast Success gradient?

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