#5C3D2E
#3B2418
#1A0F0A
Coffee Bean is a warm and dark 3-colour linear gradient that runs from deep orange (#5C3D2E) through charcoal (#3B2418) to near-black (#1A0F0A) at 160°. It suits hero sections and call-to-action buttons and dark-mode interfaces and footers. White text reads best on it, at a contrast ratio of 14.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(160deg, #5C3D2E, #3B2418, #1A0F0A);
bg-[linear-gradient(160deg,#5C3D2E,#3B2418,#1A0F0A)]
{
"coffee-bean": {
"value": "linear-gradient(160deg, #5C3D2E 0%, #3B2418 50%, #1A0F0A 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let coffeeBeanGradient = LinearGradient(
colors: [
Color(red: 0.361, green: 0.239, blue: 0.18),
Color(red: 0.231, green: 0.141, blue: 0.094),
Color(red: 0.102, green: 0.059, blue: 0.039)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(coffeeBeanGradient)val coffeeBeanColors = listOf(Color(0xFF5C3D2E), Color(0xFF3B2418), Color(0xFF1A0F0A))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = coffeeBeanColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/coffee-bean_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#5C3D2E"
android:centerColor="#3B2418"
android:endColor="#1A0F0A"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const coffeeBeanGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFF5C3D2E), Color(0xFF3B2418), Color(0xFF1A0F0A)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: coffeeBeanGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#5C3D2E', '#3B2418', '#1A0F0A']}
start={{ x: 0.318, y: 0 }}
end={{ x: 0.682, 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="coffee-bean" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#5C3D2E" />
<stop offset="50%" stop-color="#3B2418" />
<stop offset="100%" stop-color="#1A0F0A" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#coffee-bean)" />
</svg>:root {
--coffee-bean-1: #5C3D2E;
--coffee-bean-2: #3B2418;
--coffee-bean-3: #1A0F0A;
--coffee-bean-angle: 160deg;
--coffee-bean: linear-gradient(var(--coffee-bean-angle), var(--coffee-bean-1), var(--coffee-bean-2), var(--coffee-bean-3));
}
.hero {
background: var(--coffee-bean);
}$coffee-bean-1: #5C3D2E;
$coffee-bean-2: #3B2418;
$coffee-bean-3: #1A0F0A;
$coffee-bean: linear-gradient(160deg, $coffee-bean-1, $coffee-bean-2, $coffee-bean-3);
@mixin coffee-bean-bg {
background: $coffee-bean-1;
background: $coffee-bean;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Deep orange | #5C3D2E | rgb(92, 61, 46) | hsl(20, 33%, 27%) |
| 2 | Charcoal | #3B2418 | rgb(59, 36, 24) | hsl(21, 42%, 16%) |
| 3 | Near-black | #1A0F0A | rgb(26, 15, 10) | hsl(19, 44%, 7%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Coffee Bean gradient uses 3 colours: #5C3D2E, #3B2418 and #1A0F0A, at an angle of 160°.
Paste background: linear-gradient(160deg, #5C3D2E, #3B2418, #1A0F0A); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 14.3:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.