#F4F49E
#A7F8AA
Lemon Basil is a warm and pastel 2-colour linear gradient that runs from pale yellow (#F4F49E) to pale green (#A7F8AA) at 60°. It suits hero sections and call-to-action buttons and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 17.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(60deg, #F4F49E, #A7F8AA);
bg-[linear-gradient(60deg,#F4F49E,#A7F8AA)]
{
"lemon-basil": {
"value": "linear-gradient(60deg, #F4F49E 0%, #A7F8AA 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let lemonBasilGradient = LinearGradient(
colors: [
Color(red: 0.957, green: 0.957, blue: 0.62),
Color(red: 0.655, green: 0.973, blue: 0.667)
],
startPoint: UnitPoint(x: 0, y: 0.789),
endPoint: UnitPoint(x: 1, y: 0.212)
)
// Usage
Rectangle().fill(lemonBasilGradient)val lemonBasilColors = listOf(Color(0xFFF4F49E), Color(0xFFA7F8AA))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = lemonBasilColors,
start = Offset(size.width * 0f, size.height * 0.789f),
end = Offset(size.width * 1f, size.height * 0.212f)
)
)
}<!-- res/drawable/lemon-basil_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="45"
android:startColor="#F4F49E"
android:endColor="#A7F8AA"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 60deg in CSS is 30°, rounded to 45°. -->const lemonBasilGradient = LinearGradient(
begin: Alignment(-1, 0.577),
end: Alignment(1, -0.577),
colors: [Color(0xFFF4F49E), Color(0xFFA7F8AA)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: lemonBasilGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#F4F49E', '#A7F8AA']}
start={{ x: 0, y: 0.789 }}
end={{ x: 1, y: 0.212 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="lemon-basil" x1="0" y1="0.789" x2="1" y2="0.212">
<stop offset="0%" stop-color="#F4F49E" />
<stop offset="100%" stop-color="#A7F8AA" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#lemon-basil)" />
</svg>:root {
--lemon-basil-1: #F4F49E;
--lemon-basil-2: #A7F8AA;
--lemon-basil-angle: 60deg;
--lemon-basil: linear-gradient(var(--lemon-basil-angle), var(--lemon-basil-1), var(--lemon-basil-2));
}
.hero {
background: var(--lemon-basil);
}$lemon-basil-1: #F4F49E;
$lemon-basil-2: #A7F8AA;
$lemon-basil: linear-gradient(60deg, $lemon-basil-1, $lemon-basil-2);
@mixin lemon-basil-bg {
background: $lemon-basil-1;
background: $lemon-basil;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Pale yellow | #F4F49E | rgb(244, 244, 158) | hsl(60, 80%, 79%) |
| 2 | Pale green | #A7F8AA | rgb(167, 248, 170) | hsl(122, 85%, 81%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Lemon Basil gradient uses 2 colours: #F4F49E and #A7F8AA, at an angle of 60°.
Paste background: linear-gradient(60deg, #F4F49E, #A7F8AA); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 17.3:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.