← All gradients
35%How it works
Curated

Citrus

#FDC830
#F37335
Text readability
Curated WarmBold

Citrus is a warm and bold 2-colour linear gradient that runs from orange (#FDC830) to orange (#F37335) at 135°. It suits hero sections and call-to-action buttons and banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 9.9:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #FDC830, #F37335);
Tailwind
bg-gradient-to-br from-[#FDC830] to-[#F37335]
Figma token
{
    "citrus": {
        "value": "linear-gradient(135deg, #FDC830 0%, #F37335 100%)",
        "type": "color"
    }
}

Citrus gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let citrusGradient = LinearGradient(
    colors: [
        Color(red: 0.992, green: 0.784, blue: 0.188),
        Color(red: 0.953, green: 0.451, blue: 0.208)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(citrusGradient)

Colours in the Citrus gradient

StopNameHEXRGBHSL
1Orange#FDC830rgb(253, 200, 48)hsl(44, 98%, 59%)
2Orange#F37335rgb(243, 115, 53)hsl(20, 89%, 58%)

Citrus gradient in use

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

Citrus 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 Citrus gradient?

The Citrus gradient uses 2 colours: #FDC830 and #F37335, at an angle of 135°.

How do I use the Citrus gradient in CSS?

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

What text colour works on the Citrus gradient?

Black text has the best contrast, at 9.9:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.