← All gradients
35%How it works
Curated

Lemon Basil

#F4F49E
#A7F8AA
Text readability
Curated WarmPastel

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 →

CSS
background: linear-gradient(60deg, #F4F49E, #A7F8AA);
Tailwind
bg-[linear-gradient(60deg,#F4F49E,#A7F8AA)]
Figma token
{
    "lemon-basil": {
        "value": "linear-gradient(60deg, #F4F49E 0%, #A7F8AA 100%)",
        "type": "color"
    }
}

Lemon Basil gradient for SwiftUI, Flutter, Android and more

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)

Colours in the Lemon Basil gradient

StopNameHEXRGBHSL
1Pale yellow#F4F49Ergb(244, 244, 158)hsl(60, 80%, 79%)
2Pale green#A7F8AArgb(167, 248, 170)hsl(122, 85%, 81%)

Lemon Basil gradient in use

Build something beautifulA hero section on the Lemon Basil gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Lemon Basil gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Lemon Basil gradient?

The Lemon Basil gradient uses 2 colours: #F4F49E and #A7F8AA, at an angle of 60°.

How do I use the Lemon Basil gradient in CSS?

Paste background: linear-gradient(60deg, #F4F49E, #A7F8AA); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Lemon Basil gradient?

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.