#FFF1E0
#D2A679
#6B4226
Cocoa Cream is a warm 3-colour linear gradient that runs from off-white (#FFF1E0) through light orange (#D2A679) to orange (#6B4226) at 160°. It suits hero sections and call-to-action buttons. Black text reads best on it, at a contrast ratio of 8.4:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(160deg, #FFF1E0, #D2A679, #6B4226);
bg-[linear-gradient(160deg,#FFF1E0,#D2A679,#6B4226)]
{
"cocoa-cream": {
"value": "linear-gradient(160deg, #FFF1E0 0%, #D2A679 50%, #6B4226 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let cocoaCreamGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.945, blue: 0.878),
Color(red: 0.824, green: 0.651, blue: 0.475),
Color(red: 0.42, green: 0.259, blue: 0.149)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(cocoaCreamGradient)val cocoaCreamColors = listOf(Color(0xFFFFF1E0), Color(0xFFD2A679), Color(0xFF6B4226))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = cocoaCreamColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/cocoa-cream_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#FFF1E0"
android:centerColor="#D2A679"
android:endColor="#6B4226"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const cocoaCreamGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFFFFF1E0), Color(0xFFD2A679), Color(0xFF6B4226)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: cocoaCreamGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FFF1E0', '#D2A679', '#6B4226']}
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="cocoa-cream" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#FFF1E0" />
<stop offset="50%" stop-color="#D2A679" />
<stop offset="100%" stop-color="#6B4226" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#cocoa-cream)" />
</svg>:root {
--cocoa-cream-1: #FFF1E0;
--cocoa-cream-2: #D2A679;
--cocoa-cream-3: #6B4226;
--cocoa-cream-angle: 160deg;
--cocoa-cream: linear-gradient(var(--cocoa-cream-angle), var(--cocoa-cream-1), var(--cocoa-cream-2), var(--cocoa-cream-3));
}
.hero {
background: var(--cocoa-cream);
}$cocoa-cream-1: #FFF1E0;
$cocoa-cream-2: #D2A679;
$cocoa-cream-3: #6B4226;
$cocoa-cream: linear-gradient(160deg, $cocoa-cream-1, $cocoa-cream-2, $cocoa-cream-3);
@mixin cocoa-cream-bg {
background: $cocoa-cream-1;
background: $cocoa-cream;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #FFF1E0 | rgb(255, 241, 224) | hsl(33, 100%, 94%) |
| 2 | Light orange | #D2A679 | rgb(210, 166, 121) | hsl(30, 50%, 65%) |
| 3 | Orange | #6B4226 | rgb(107, 66, 38) | hsl(24, 48%, 28%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Cocoa Cream gradient uses 3 colours: #FFF1E0, #D2A679 and #6B4226, at an angle of 160°.
Paste background: linear-gradient(160deg, #FFF1E0, #D2A679, #6B4226); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 8.4:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.