← All gradients
35%How it works
Curated

Mocha

#D7B899
#967259
#4B3621
Text readability
Curated Warm

Mocha is a warm 3-colour linear gradient that runs from light orange (#D7B899) through orange (#967259) to deep orange (#4B3621) at 150°. It suits hero sections and call-to-action buttons. Black text reads best on it, at a contrast ratio of 4.9:1 against the gradient’s average colour (AA). Check every point, not just the average →

CSS
background: linear-gradient(150deg, #D7B899, #967259, #4B3621);
Tailwind
bg-[linear-gradient(150deg,#D7B899,#967259,#4B3621)]
Figma token
{
    "mocha": {
        "value": "linear-gradient(150deg, #D7B899 0%, #967259 50%, #4B3621 100%)",
        "type": "color"
    }
}

Mocha gradient for SwiftUI, Flutter, Android and more

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

let mochaGradient = LinearGradient(
    colors: [
        Color(red: 0.843, green: 0.722, blue: 0.6),
        Color(red: 0.588, green: 0.447, blue: 0.349),
        Color(red: 0.294, green: 0.212, blue: 0.129)
    ],
    startPoint: UnitPoint(x: 0.212, y: 0),
    endPoint: UnitPoint(x: 0.789, y: 1)
)

// Usage
Rectangle().fill(mochaGradient)

Colours in the Mocha gradient

StopNameHEXRGBHSL
1Light orange#D7B899rgb(215, 184, 153)hsl(30, 44%, 72%)
2Orange#967259rgb(150, 114, 89)hsl(25, 26%, 47%)
3Deep orange#4B3621rgb(75, 54, 33)hsl(30, 39%, 21%)

Mocha gradient in use

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

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

The Mocha gradient uses 3 colours: #D7B899, #967259 and #4B3621, at an angle of 150°.

How do I use the Mocha gradient in CSS?

Paste background: linear-gradient(150deg, #D7B899, #967259, #4B3621); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Mocha gradient?

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