← All gradients
35%How it works
Minecraft ↗

Minecraft Gradient

#4E7F1C
#3D6316
Text readability
Brand CoolBold Media

Minecraft Gradient is a cool and bold 2-colour linear gradient that runs from green (#4E7F1C) to deep green (#3D6316) at 135°. It is inspired by Minecraft’s brand colours, a reference point for media interfaces. White text reads best on it, at a contrast ratio of 5.8:1 against the gradient’s average colour (AA). Check every point, not just the average →

Unofficial reference: inspired by Minecraft’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Minecraft. Minecraft is a trademark of its owner. The CSS is free to use, but don’t use these colours to make your own product look like Minecraft’s. Terms

CSS
background: linear-gradient(135deg, #4E7F1C, #3D6316);
Tailwind
bg-gradient-to-br from-[#4E7F1C] to-[#3D6316]
Figma token
{
    "minecraft": {
        "value": "linear-gradient(135deg, #4E7F1C 0%, #3D6316 100%)",
        "type": "color"
    }
}

Minecraft Gradient for SwiftUI, Flutter, Android and more

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

let minecraftGradient = LinearGradient(
    colors: [
        Color(red: 0.306, green: 0.498, blue: 0.11),
        Color(red: 0.239, green: 0.388, blue: 0.086)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(minecraftGradient)

Colours in the Minecraft Gradient

StopNameHEXRGBHSL
1Green#4E7F1Crgb(78, 127, 28)hsl(90, 64%, 30%)
2Deep green#3D6316rgb(61, 99, 22)hsl(90, 64%, 24%)

Minecraft Gradient in use

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

Minecraft 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 Minecraft Gradient?

The Minecraft Gradient uses 2 colours: #4E7F1C and #3D6316, at an angle of 135°.

How do I use the Minecraft Gradient in CSS?

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

What text colour works on the Minecraft Gradient?

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