← All gradients
35%How it works
Curated

Mojito

#1D976C
#93F9B9
Text readability
Curated CoolBold

Mojito is a cool and bold 2-colour linear gradient that runs from green (#1D976C) to light green (#93F9B9) 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 10.1:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #1D976C, #93F9B9);
Tailwind
bg-gradient-to-br from-[#1D976C] to-[#93F9B9]
Figma token
{
    "mojito": {
        "value": "linear-gradient(135deg, #1D976C 0%, #93F9B9 100%)",
        "type": "color"
    }
}

Mojito gradient for SwiftUI, Flutter, Android and more

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

let mojitoGradient = LinearGradient(
    colors: [
        Color(red: 0.114, green: 0.592, blue: 0.424),
        Color(red: 0.576, green: 0.976, blue: 0.725)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(mojitoGradient)

Colours in the Mojito gradient

StopNameHEXRGBHSL
1Green#1D976Crgb(29, 151, 108)hsl(159, 68%, 35%)
2Light green#93F9B9rgb(147, 249, 185)hsl(142, 89%, 78%)

Mojito gradient in use

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

Mojito 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 Mojito gradient?

The Mojito gradient uses 2 colours: #1D976C and #93F9B9, at an angle of 135°.

How do I use the Mojito gradient in CSS?

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

What text colour works on the Mojito gradient?

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