#0B3D2E
#1E6F4C
#D4AF37
Green and Gold is a dark and bold 3-colour linear gradient that runs from deep teal (#0B3D2E) through green (#1E6F4C) to yellow (#D4AF37) at 135°. It suits dark-mode interfaces and footers and banners and attention-grabbing headers. White text reads best on it, at a contrast ratio of 5.3:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(135deg, #0B3D2E, #1E6F4C, #D4AF37);
bg-gradient-to-br from-[#0B3D2E] via-[#1E6F4C] to-[#D4AF37]
{
"green-and-gold": {
"value": "linear-gradient(135deg, #0B3D2E 0%, #1E6F4C 50%, #D4AF37 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let greenAndGoldGradient = LinearGradient(
colors: [
Color(red: 0.043, green: 0.239, blue: 0.18),
Color(red: 0.118, green: 0.435, blue: 0.298),
Color(red: 0.831, green: 0.686, blue: 0.216)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(greenAndGoldGradient)val greenAndGoldColors = listOf(Color(0xFF0B3D2E), Color(0xFF1E6F4C), Color(0xFFD4AF37))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = greenAndGoldColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/green-and-gold_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#0B3D2E"
android:centerColor="#1E6F4C"
android:endColor="#D4AF37"
android:type="linear" />
</shape>const greenAndGoldGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF0B3D2E), Color(0xFF1E6F4C), Color(0xFFD4AF37)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: greenAndGoldGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#0B3D2E', '#1E6F4C', '#D4AF37']}
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="green-and-gold" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#0B3D2E" />
<stop offset="50%" stop-color="#1E6F4C" />
<stop offset="100%" stop-color="#D4AF37" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#green-and-gold)" />
</svg>:root {
--green-and-gold-1: #0B3D2E;
--green-and-gold-2: #1E6F4C;
--green-and-gold-3: #D4AF37;
--green-and-gold-angle: 135deg;
--green-and-gold: linear-gradient(var(--green-and-gold-angle), var(--green-and-gold-1), var(--green-and-gold-2), var(--green-and-gold-3));
}
.hero {
background: var(--green-and-gold);
}$green-and-gold-1: #0B3D2E;
$green-and-gold-2: #1E6F4C;
$green-and-gold-3: #D4AF37;
$green-and-gold: linear-gradient(135deg, $green-and-gold-1, $green-and-gold-2, $green-and-gold-3);
@mixin green-and-gold-bg {
background: $green-and-gold-1;
background: $green-and-gold;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Deep teal | #0B3D2E | rgb(11, 61, 46) | hsl(162, 69%, 14%) |
| 2 | Green | #1E6F4C | rgb(30, 111, 76) | hsl(154, 57%, 28%) |
| 3 | Yellow | #D4AF37 | rgb(212, 175, 55) | hsl(46, 65%, 52%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Green and Gold gradient uses 3 colours: #0B3D2E, #1E6F4C and #D4AF37, at an angle of 135°.
Paste background: linear-gradient(135deg, #0B3D2E, #1E6F4C, #D4AF37); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 5.3:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.