← All gradients
35%How it works
Seasonal

Christmas Tree

#0A2E1C
#146B3A
#F8B229
Text readability
Seasonal DarkBold

Christmas Tree is a dark and bold 3-colour linear gradient that runs from near-black (#0A2E1C) through deep green (#146B3A) to orange (#F8B229) at 160°. 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.6:1 against the gradient’s average colour (AA). Check every point, not just the average →

CSS
background: linear-gradient(160deg, #0A2E1C, #146B3A, #F8B229);
Tailwind
bg-[linear-gradient(160deg,#0A2E1C,#146B3A,#F8B229)]
Figma token
{
    "christmas-tree": {
        "value": "linear-gradient(160deg, #0A2E1C 0%, #146B3A 50%, #F8B229 100%)",
        "type": "color"
    }
}

Christmas Tree gradient for SwiftUI, Flutter, Android and more

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

let christmasTreeGradient = LinearGradient(
    colors: [
        Color(red: 0.039, green: 0.18, blue: 0.11),
        Color(red: 0.078, green: 0.42, blue: 0.227),
        Color(red: 0.973, green: 0.698, blue: 0.161)
    ],
    startPoint: UnitPoint(x: 0.318, y: 0),
    endPoint: UnitPoint(x: 0.682, y: 1)
)

// Usage
Rectangle().fill(christmasTreeGradient)

Colours in the Christmas Tree gradient

StopNameHEXRGBHSL
1Near-black#0A2E1Crgb(10, 46, 28)hsl(150, 64%, 11%)
2Deep green#146B3Argb(20, 107, 58)hsl(146, 69%, 25%)
3Orange#F8B229rgb(248, 178, 41)hsl(40, 94%, 57%)

Christmas Tree gradient in use

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

Christmas Tree 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 Christmas Tree gradient?

The Christmas Tree gradient uses 3 colours: #0A2E1C, #146B3A and #F8B229, at an angle of 160°.

How do I use the Christmas Tree gradient in CSS?

Paste background: linear-gradient(160deg, #0A2E1C, #146B3A, #F8B229); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Christmas Tree gradient?

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