Palette maker

Green Gradient: Color Combinations, Hex Codes and CSS

The classic green gradient runs from light green through green to dark green . It sweeps from spring lime to deep forest, and 135 degrees is the angle that shows it off best.

Type
135°
 

More green gradients to try

On this page
  1. Why it works
  2. Color codes
  3. Shade differences
  4. CSS
  5. Combinations
  6. Fixing muddy
  7. Contrast
  8. Web and brand
  9. Print
  10. Interiors and art
  11. FAQ

I’m Calder Wynne, and I’ve spent 12 years building color systems for brands, apps and print. Below you’ll find the exact codes, ready-to-paste CSS, real contrast numbers and the habits that keep a green gradient looking clean instead of cheap.

What Makes This Green Gradient Work

The studio above lets you move the stops, change the angle, switch the gradient type and copy the CSS in one click. Drag the middle stop first. With at 30% the gradient feels like sunlight through leaves, and at 70% it feels heavy and shaded.

The trio works because it changes two things at once. Lightness falls from 63% to 49% to 22%, while hue drifts from a yellow-leaning 87° to a cooler 151°. That small warm-to-cool shift gives the blend life. A gradient that only darkens a single hue often looks like a flat gray-green smear.

Green Gradient Color Codes: HEX, RGB, HSL and CMYK

Here are the three values, converted directly from their hex codes. The CMYK numbers are plain mathematical conversions, so treat them as a starting point, not a press-ready recipe.

Name HEX RGB HSL CMYK
Light Green 168, 224, 99 87°, 67%, 63% 25, 0, 56, 12
Green 46, 204, 113 145°, 63%, 49% 77, 0, 45, 20
Dark Green 5, 107, 58 151°, 91%, 22% 95, 0, 46, 58

Don’t confuse these with the CSS keywords. The keyword lime is pure , while green is a darker . Both are raw RGB values, far harsher than the tuned greens above, which is why gradients built from keywords tend to look like a 1998 website.

Side-by-side panels comparing three green gradient stops as screen HEX and RGB values versus duller CMYK print values
Bright greens like #2ECC71 look vivid on screen but print flatter in CMYK.

Light Green vs Green vs Dark Green: What Changes

Light green is the warm one. Its hue sits close to yellow, so it reads as new growth, citrus peel and fresh lawn. It is softer than a true lime, which makes it a friendly starting stop rather than a neon one.

Green is the balanced middle, a clean emerald that turns up in many flat UI palettes. Dark green keeps 91% saturation at only 22% lightness, and that is why it feels deep rather than muddy. Olive and army greens lose saturation as they darken, so they look dusty by comparison.

Quick way to tell them apart

Light green leans yellow and bright, green is balanced and vivid, dark green leans slightly cool and carries weight. Squint at a swatch strip: lightness differences show first, hue differences second.

Green Gradient CSS to Copy and Paste

This is the main gradient with evenly spaced stops:

background: linear-gradient(135deg, #A8E063 0%, #2ECC71 50%, #056B3A 100%);

Angles do different jobs. Use 90deg for buttons and progress bars, 180deg for headers that fade downward, and 135deg for cards and hero panels, where the diagonal gives the three colors the most room.

For smoother blends, add a solid fallback first and a modern color-space version after it. Browsers that don’t understand the last line ignore it and keep the one before.

.hero {
  background-color: #2ECC71;
  background-image: linear-gradient(135deg, #A8E063, #2ECC71, #056B3A);
  background-image: linear-gradient(in oklch 135deg, #A8E063, #2ECC71, #056B3A);
}

Radial and conic versions suit spotlights, avatars and badges. A corner glow looks natural with radial-gradient(circle at 30% 20%, #A8E063, #2ECC71 45%, #056B3A), and a conic gradient with the same stops makes a tidy loader ring.

Green Gradient Color Combinations That Work

Green is forgiving. It blends easily with its neighbors on the color wheel and holds its own beside warm accents. These pairings keep working for me:

  • Cool white: a faint tint such as #F5FCFF as the top stop gives an airy fade into .
  • Teal: swap the last stop for something close to pastel teal for a spa-like, watery finish.
  • Warm yellow: place before for a sunny, juicy look.
  • Orange: citrus and outdoor brands love it, and our orange gradient page has matching stops.

For an earthy turn, put dark green beside a brown gradient and it reads as bark and moss. The palettes below package these ideas as five-color sets.

Spring Meadow

Eco brands, wellness sites and clean packaging that need a fresh start.

Sea Glass

Spa pages, skincare labels and calm onboarding screens with a watery feel.

Citrus Orchard

Juice bars, food labels and playful summer campaigns that want sunny energy.

Midnight Forest

Dark mode dashboards, finance headers and premium invitations with a deep green base.

Why Some Green Gradients Turn Muddy or Banded

Muddiness shows up when two stops sit far apart in hue. Green to red or pink passes through a dull gray-brown in the middle, because the color channels pull against each other. If a design needs both, keep them apart: put a red gradient beside the green and let a neutral gap do the separating.

Your green gradient looks gray in the middle. What should you try first?

Gray middles come from distant hues cancelling each other out, so a bridging stop brings the color back.

Banding is the other problem. It appears as visible stripes across large, gentle gradients, especially in dark greens, because the screen can only show so many steps between two close tones. These fixes work in order of effort:

  1. Add a mid stop with an in-between hue instead of letting two distant colors meet directly.
  2. Interpolate in oklch where supported, as in the CSS above.
  3. Lay a subtle noise or grain image over large backgrounds to break up stripes.
  4. Widen the lightness gap, or shrink the area the gradient covers.

Text Contrast on a Green Gradient

WCAG asks for 4.5:1 for normal text and 3:1 for large text. I calculated the ratios for the three stops. White text reaches 6.6:1 on , which passes AA but misses the 7:1 AAA mark. On , black reaches 10.0:1 and white drops to 2.1:1. On , black gives 13.5:1 and white only 1.6:1. Dark green text on light green lands at about 4.3:1, just under AA.

Which text color is safest on #2ECC71?

Near-black clears the 4.5:1 WCAG minimum easily, while white falls well short.

Judge a gradient by its worst point under the text. A simple rule: white text only over the dark half, near-black over the light and middle. I once fixed a habit-tracking app whose white button labels on failed at 2.1:1. Switching to near-black solved it, and nobody missed the white. Also avoid using green alone to signal success, since red-green color blindness is common. Add an icon or a label.

Try this: Put white text over your gradient in the studio and slide it from the light end to the dark end. Note where it stops being readable, then switch to near-black on that half and compare.

Four Aa text samples on light, mid and dark green with contrast ratios and AA pass or fail marks
White text fails on the light and middle greens; only black or the dark stop passes AA.

Green Gradients for Websites, Apps and Brands

Websites and apps

Green already means “go”, so these gradients suit success states, progress bars, savings cards and onboarding screens. Keep the gradient on large surfaces like headers and cards, and keep buttons and form fields flat so the interface stays calm. One strong gradient per screen is a good limit.

Dark mode

On dark interfaces, let the dark end slide toward near-black such as and then , so cards separate from the background without borders. Our black gradient guide covers the neutral side of this approach, including how to keep text legible on deep backgrounds.

Branding

Green carries nature, health, money and growth, so the territory is crowded. A gradient is a cheap way to look distinct: lime to forest suggests freshness and depth at once. Define it as a design token with fixed stop positions so every team reproduces the same result, and keep a flat version for small icons, favicons and one-color uses where a gradient turns to mush.

Printing a Green Gradient Without Surprises

Screens emit light, and bright greens are among the colors CMYK struggles to match. A vivid hex like usually prints flatter than it looks on a monitor. I once approved a packaging mockup where the green band looked electric on screen and came back from the printer’s proof clearly duller. Since then I ask for a physical proof before any green-heavy job.

A few habits help. Ask the printer for their ICC profile and convert with it instead of a generic one. Keep the lightest end of the gradient from fading to nothing where an edge might show. Use a spot green for logos that must match exactly, and add a light grain to long, gentle gradients, which are the ones most likely to show steps.

Green Gradients in Interiors, Fashion and Art

Paint can’t blend itself, but ombre walls work with a little patience: darker green low on the wall, lighter above, so the room feels taller. Natural water does the same thing, shifting from pale shallows to deep channels, as you can see in our beach color palettes. Light changes how greens read, so test a swatch in the morning and the evening before committing.

In fashion, dip-dyed silk and ombre knitwear often run from pale sage to forest, and the trick is keeping the hue steady so the fade looks intentional. Painters get the same effect with wet-on-wet watercolor: lay first, let it drift into on the paper, and drop in last so the darkest pigment doesn’t flood the lighter ones. In digital illustration, a gradient map can assign these three tones to shadows, midtones and highlights.

The colors behind these gradients

Green Gradient: questions people ask

What are the best hex codes for a green gradient?

A reliable three-stop gradient uses #A8E063, #2ECC71 and #056B3A, running from light green to dark green. For a softer look, start with a pale tint such as #BDF5D3 and end on #2ECC71.

How do I make a green gradient in CSS?

Use background: linear-gradient(135deg, #A8E063, #2ECC71, #056B3A); and add a solid background-color before it as a fallback. Change the angle to 90deg for horizontal bars or 180deg for top-to-bottom fades.

What colors go well with a green gradient?

Cool white, teal, warm yellow, orange and earthy brown all pair well. Near-black or very dark green works best for text and dark mode surfaces.

Can I put white text on a green gradient?

Only on the dark end. White on #056B3A reaches about 6.6:1, but on #2ECC71 it drops to about 2.1:1 and on #A8E063 to about 1.6:1, so use near-black text there.

Why does my green gradient look gray or striped?

Gray usually means the stops are too far apart in hue, so add a bridging stop. Stripes (banding) appear on large, gentle gradients, and a subtle grain overlay or a wider lightness range fixes them.

Keep exploring