← All gradients
35%How it works
UI

Badge Green

#DCFCE7
#BBF7D0
Text readability
Ui CoolPastel

Badge Green is a cool and pastel 2-colour linear gradient that runs from off-white (#DCFCE7) to pale green (#BBF7D0) at 135°. It suits dashboards and SaaS landing pages and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 18.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
Tailwind
bg-gradient-to-br from-[#DCFCE7] to-[#BBF7D0]
Figma token
{
    "badge-green": {
        "value": "linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%)",
        "type": "color"
    }
}

Badge Green gradient for SwiftUI, Flutter, Android and more

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

let badgeGreenGradient = LinearGradient(
    colors: [
        Color(red: 0.863, green: 0.988, blue: 0.906),
        Color(red: 0.733, green: 0.969, blue: 0.816)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(badgeGreenGradient)

Colours in the Badge Green gradient

StopNameHEXRGBHSL
1Off-white#DCFCE7rgb(220, 252, 231)hsl(141, 84%, 93%)
2Pale green#BBF7D0rgb(187, 247, 208)hsl(141, 79%, 85%)

Badge Green gradient in use

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

Badge Green 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 Badge Green gradient?

The Badge Green gradient uses 2 colours: #DCFCE7 and #BBF7D0, at an angle of 135°.

How do I use the Badge Green gradient in CSS?

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

What text colour works on the Badge Green gradient?

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