#F5D7A1
#C68B59
#7A4B2A
Toffee is a warm 3-colour linear gradient that runs from pale orange (#F5D7A1) through orange (#C68B59) to orange (#7A4B2A) at 150°. It suits hero sections and call-to-action buttons. Black text reads best on it, at a contrast ratio of 7.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(150deg, #F5D7A1, #C68B59, #7A4B2A);
bg-[linear-gradient(150deg,#F5D7A1,#C68B59,#7A4B2A)]
{
"toffee": {
"value": "linear-gradient(150deg, #F5D7A1 0%, #C68B59 50%, #7A4B2A 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let toffeeGradient = LinearGradient(
colors: [
Color(red: 0.961, green: 0.843, blue: 0.631),
Color(red: 0.776, green: 0.545, blue: 0.349),
Color(red: 0.478, green: 0.294, blue: 0.165)
],
startPoint: UnitPoint(x: 0.212, y: 0),
endPoint: UnitPoint(x: 0.789, y: 1)
)
// Usage
Rectangle().fill(toffeeGradient)val toffeeColors = listOf(Color(0xFFF5D7A1), Color(0xFFC68B59), Color(0xFF7A4B2A))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = toffeeColors,
start = Offset(size.width * 0.212f, size.height * 0f),
end = Offset(size.width * 0.789f, size.height * 1f)
)
)
}<!-- res/drawable/toffee_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#F5D7A1"
android:centerColor="#C68B59"
android:endColor="#7A4B2A"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 150deg in CSS is 300°, rounded to 315°. -->const toffeeGradient = LinearGradient(
begin: Alignment(-0.577, -1),
end: Alignment(0.577, 1),
colors: [Color(0xFFF5D7A1), Color(0xFFC68B59), Color(0xFF7A4B2A)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: toffeeGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#F5D7A1', '#C68B59', '#7A4B2A']}
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="toffee" x1="0.212" y1="0" x2="0.789" y2="1">
<stop offset="0%" stop-color="#F5D7A1" />
<stop offset="50%" stop-color="#C68B59" />
<stop offset="100%" stop-color="#7A4B2A" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#toffee)" />
</svg>:root {
--toffee-1: #F5D7A1;
--toffee-2: #C68B59;
--toffee-3: #7A4B2A;
--toffee-angle: 150deg;
--toffee: linear-gradient(var(--toffee-angle), var(--toffee-1), var(--toffee-2), var(--toffee-3));
}
.hero {
background: var(--toffee);
}$toffee-1: #F5D7A1;
$toffee-2: #C68B59;
$toffee-3: #7A4B2A;
$toffee: linear-gradient(150deg, $toffee-1, $toffee-2, $toffee-3);
@mixin toffee-bg {
background: $toffee-1;
background: $toffee;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Pale orange | #F5D7A1 | rgb(245, 215, 161) | hsl(39, 81%, 80%) |
| 2 | Orange | #C68B59 | rgb(198, 139, 89) | hsl(28, 49%, 56%) |
| 3 | Orange | #7A4B2A | rgb(122, 75, 42) | hsl(25, 49%, 32%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Toffee gradient uses 3 colours: #F5D7A1, #C68B59 and #7A4B2A, at an angle of 150°.
Paste background: linear-gradient(150deg, #F5D7A1, #C68B59, #7A4B2A); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 7.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.