#D7B899
#967259
#4B3621
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 →
background: linear-gradient(150deg, #D7B899, #967259, #4B3621);
bg-[linear-gradient(150deg,#D7B899,#967259,#4B3621)]
{
"mocha": {
"value": "linear-gradient(150deg, #D7B899 0%, #967259 50%, #4B3621 100%)",
"type": "color"
}
}
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)val mochaColors = listOf(Color(0xFFD7B899), Color(0xFF967259), Color(0xFF4B3621))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = mochaColors,
start = Offset(size.width * 0.212f, size.height * 0f),
end = Offset(size.width * 0.789f, size.height * 1f)
)
)
}<!-- res/drawable/mocha_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#D7B899"
android:centerColor="#967259"
android:endColor="#4B3621"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 150deg in CSS is 300°, rounded to 315°. -->const mochaGradient = LinearGradient(
begin: Alignment(-0.577, -1),
end: Alignment(0.577, 1),
colors: [Color(0xFFD7B899), Color(0xFF967259), Color(0xFF4B3621)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: mochaGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#D7B899', '#967259', '#4B3621']}
start={{ x: 0.212, y: 0 }}
end={{ x: 0.789, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="mocha" x1="0.212" y1="0" x2="0.789" y2="1">
<stop offset="0%" stop-color="#D7B899" />
<stop offset="50%" stop-color="#967259" />
<stop offset="100%" stop-color="#4B3621" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#mocha)" />
</svg>:root {
--mocha-1: #D7B899;
--mocha-2: #967259;
--mocha-3: #4B3621;
--mocha-angle: 150deg;
--mocha: linear-gradient(var(--mocha-angle), var(--mocha-1), var(--mocha-2), var(--mocha-3));
}
.hero {
background: var(--mocha);
}$mocha-1: #D7B899;
$mocha-2: #967259;
$mocha-3: #4B3621;
$mocha: linear-gradient(150deg, $mocha-1, $mocha-2, $mocha-3);
@mixin mocha-bg {
background: $mocha-1;
background: $mocha;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Light orange | #D7B899 | rgb(215, 184, 153) | hsl(30, 44%, 72%) |
| 2 | Orange | #967259 | rgb(150, 114, 89) | hsl(25, 26%, 47%) |
| 3 | Deep orange | #4B3621 | rgb(75, 54, 33) | hsl(30, 39%, 21%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Mocha gradient uses 3 colours: #D7B899, #967259 and #4B3621, at an angle of 150°.
Paste background: linear-gradient(150deg, #D7B899, #967259, #4B3621); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
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.