#F1DFA0
#B5A642
#6B5B1B
Brass is a warm 3-colour linear gradient that runs from pale yellow (#F1DFA0) through yellow (#B5A642) to deep yellow (#6B5B1B) at 135°. It suits hero sections and call-to-action buttons. Black text reads best on it, at a contrast ratio of 8.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #F1DFA0, #B5A642, #6B5B1B);
bg-gradient-to-br from-[#F1DFA0] via-[#B5A642] to-[#6B5B1B]
{
"brass": {
"value": "linear-gradient(135deg, #F1DFA0 0%, #B5A642 50%, #6B5B1B 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let brassGradient = LinearGradient(
colors: [
Color(red: 0.945, green: 0.875, blue: 0.627),
Color(red: 0.71, green: 0.651, blue: 0.259),
Color(red: 0.42, green: 0.357, blue: 0.106)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(brassGradient)val brassColors = listOf(Color(0xFFF1DFA0), Color(0xFFB5A642), Color(0xFF6B5B1B))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = brassColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/brass_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#F1DFA0"
android:centerColor="#B5A642"
android:endColor="#6B5B1B"
android:type="linear" />
</shape>const brassGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFF1DFA0), Color(0xFFB5A642), Color(0xFF6B5B1B)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: brassGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#F1DFA0', '#B5A642', '#6B5B1B']}
start={{ x: 0, y: 0 }}
end={{ x: 1, 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="brass" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#F1DFA0" />
<stop offset="50%" stop-color="#B5A642" />
<stop offset="100%" stop-color="#6B5B1B" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#brass)" />
</svg>:root {
--brass-1: #F1DFA0;
--brass-2: #B5A642;
--brass-3: #6B5B1B;
--brass-angle: 135deg;
--brass: linear-gradient(var(--brass-angle), var(--brass-1), var(--brass-2), var(--brass-3));
}
.hero {
background: var(--brass);
}$brass-1: #F1DFA0;
$brass-2: #B5A642;
$brass-3: #6B5B1B;
$brass: linear-gradient(135deg, $brass-1, $brass-2, $brass-3);
@mixin brass-bg {
background: $brass-1;
background: $brass;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Pale yellow | #F1DFA0 | rgb(241, 223, 160) | hsl(47, 74%, 79%) |
| 2 | Yellow | #B5A642 | rgb(181, 166, 66) | hsl(52, 47%, 48%) |
| 3 | Deep yellow | #6B5B1B | rgb(107, 91, 27) | hsl(48, 60%, 26%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Brass gradient uses 3 colours: #F1DFA0, #B5A642 and #6B5B1B, at an angle of 135°.
Paste background: linear-gradient(135deg, #F1DFA0, #B5A642, #6B5B1B); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 8.0:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.