Palette maker

Lime Green Gradient: Colors, Hex Codes and CSS

A lime green gradient blends a light lime such as into lime green , and often finishes in forest green for depth. The CSS is linear-gradient(135deg, #CCFF66, #32CD32, #228B22).

Type
135°
 

More lime green gradients to try

On this page
  1. Hex codes
  2. Lime vs limegreen
  3. CSS code
  4. Angles
  5. Smooth blends
  6. Contrast
  7. Pairings
  8. Web and brand
  9. Print
  10. Mistakes
  11. FAQ

Lime is a color I reach for often, and one that punishes careless use faster than almost any other. Below you will find exact values, CSS you can paste, contrast ratios I calculated myself, and notes for screen and print. Use the gradient studio above to change the stops, angle and type, then copy the CSS.

Lime Green Gradient Colors, Hex Codes and Values

The main gradient on this page uses three stops that move from sunny to leafy. Light Lime is the highlight, Lime Green is the body and Forest Green anchors the dark end. The first stop has a hue of 80 degrees, a little toward yellow, while the other two sit at exactly 120 degrees. So the blend shifts from yellowish to true green, then simply gets darker.

Color HEX RGB HSL CMYK
Light Lime 204, 255, 102 80°, 100%, 70% 20, 0, 60, 0
Lime Green 50, 205, 50 120°, 61%, 50% 76, 0, 76, 20
Forest Green 34, 139, 34 120°, 61%, 34% 76, 0, 76, 45

Halfway between the first two stops, a plain sRGB blend lands on , a fresh spring green. The CMYK numbers above are straight mathematical conversions. Real print output depends on the paper and the profile, which I cover further down.

Lime vs Lime Green vs Light Lime: Which One Do You Need?

The names collide in CSS. The keyword lime is pure , the full-strength green of the RGB model. The keyword limegreen is , calmer and a touch darker, with 61% saturation instead of 100%. The keyword green is , darker again. If you write background: lime and expect a soft citrus tone, you will get something much closer to a highlighter pen.

Which hex code does the CSS keyword lime produce?

The keyword lime is pure #00FF00, while limegreen is the softer #32CD32.

Light Lime is not a CSS keyword. It is a tint pushed toward yellow, in the same neighborhood as chartreuse and greenyellow but lighter and gentler. For the wider family of greens and how they combine, see our green gradient guide.

Copy-Ready CSS for a Lime Green Gradient

This is the version I start from on most projects. The first line is a flat fallback, and the stop positions give the bright lime more room than the dark end, so the gradient feels fresh rather than heavy.

.lime-gradient {
  background: #32CD32; /* fallback */
  background: linear-gradient(135deg, #CCFF66 0%, #32CD32 55%, #228B22 100%);
}

Two shorter variations are worth keeping close. For a light, airy panel use linear-gradient(90deg, #CCFF66, #32CD32). For a richer surface use linear-gradient(180deg, #32CD32, #228B22). Store your favorite in a custom property such as --lime-gradient so every component pulls from one source.

Which Angle and Gradient Type Suit Lime Best?

A 135 degree diagonal is my default for lime because it mimics light falling across a leaf: bright in the top left corner, deeper at the bottom right. Use 90 degrees for progress bars and horizontal banners, and 180 degrees for buttons and cards, where a top-to-bottom shift reads as gentle depth.

The three gradient types behave quite differently with this color:

  • Linear suits almost everything: backgrounds, buttons, headers and text fills.
  • Radial works for glows and spotlights, for example radial-gradient(circle at 30% 30%, #CCFF66, #32CD32) behind a product shot.
  • Conic is best for dials, loaders and charts, such as conic-gradient(#CCFF66, #32CD32, #228B22, #CCFF66).

Whichever you pick, keep the light source consistent across a page. A lime highlight that jumps from top left to bottom right between neighboring cards makes the layout feel restless.

How to Keep Lime Gradients Smooth and Vivid

Browsers blend in sRGB by default, which is fine for lime into green. You can ask for a perceptually even blend with the in oklch keyword, which is part of modern CSS color syntax:

Two gradient bars from lime to violet, one with a gray muddy middle and one fixed with a teal midpoint stop
Adding a teal midpoint stop keeps a lime-to-violet gradient vivid instead of gray.
background: linear-gradient(in oklch 90deg, #CCFF66, #32CD32);

Keep the plain version on the line above as a fallback for older browsers. The difference is subtle between close greens, but it grows the moment you blend lime into something far away on the wheel, such as blue or purple, where sRGB can pass through a flat gray.

Try this: Write the same two-stop lime gradient twice, once with the default blend and once with in oklch. Put them side by side on your phone and compare the middle of each bar.

Large light gradients can also show faint stripes called banding. Adding a third stop, or a very low-opacity texture over the top, hides it without changing the look.

Is Lime Green Accessible? Contrast Ratios You Can Trust

WCAG 2 asks for a 4.5:1 contrast ratio for normal text and 3:1 for large text and interface components such as icon outlines. I calculated the ratios for each stop against pure white and pure black:

Color Against white Against black
1.16:1 18.06:1
2.12:1 9.92:1
4.39:1 4.79:1

The pattern is clear. Lime is a light color in terms of luminance, so it wants dark text. On a fitness app I worked on, the team had white labels on a button because it matched the brand mood. The labels were hard to read in sunlight, and switching them to near-black fixed it without touching the button color.

Which text color is safest on a #32CD32 button?

Black on #32CD32 measures about 9.92:1, while white manages only about 2.12:1.

For green text or links on a white page, will not pass. A deeper green such as reaches about 5.44:1 on white. If text sits on a gradient, test it against the worst point of that gradient, not the average.

Seven-step ladder from light tint to dark shade of lime green showing where text flips from black to white
Black text works from the lightest tint down to #228B22; deeper shades need white text.

Colors That Pair Well with a Lime Green Gradient

Lime is loud, so the best partners either calm it down or give it a strong contrast to push against. These are the pairings I return to most:

  • Charcoal or near-black () makes lime look electric and keeps text readable.
  • Violet and deep purple sit opposite lime on the wheel for maximum energy. See our purple gradient for ready stops.
  • Teal and blue-green make a cool, natural blend. Our blue green gradient page has tested combinations.
  • Mint and soft blue give a gentler, spa-like feel, covered in mint and blue.
  • Cream and off-white soften the whole composition.

The four palettes below put these pairings into five-color sets you can drop straight into a design file or stylesheet.

Lime Soda

Fresh app headers, wellness brands and bright landing page hero sections.

Lime and Charcoal

Sharp dashboards, sports kits and tech brands that want one loud accent.

Lime Sherbet

Playful packaging, kids' products and summer campaign graphics.

Leaf and Violet

Event posters and bold branding where green meets a rich purple.

Using Lime Green Gradients in Web and Brand Design

On screens, lime works best as a signal: a primary button, an active tab, a progress bar, a success state or a single hero panel. Fill an entire interface with it and the eye has nowhere to rest. In dark mode lime is especially strong, because a gradient like into into glows against the dark surface without needing any shadow.

One lime moment per screen

Give the gradient to the single element you most want clicked, and keep everything around it neutral.

For branding, lime says fresh, energetic and a little irreverent. It suits food and drink, sport, wellness, fintech startups and anything that wants to look new. If a client finds it too sharp, move one step toward a muted green for the secondary color and keep lime for the accents.

Lime Green in Print, Interiors and Fashion

Print is where lime surprised me most. I once sent a brand brochure to press with as the main color, and the proof came back noticeably duller than the monitor. Bright, saturated greens sit near the edge of what CMYK inks can reproduce, so the naive values of 76, 0, 76, 20 give only an approximation. Always ask for a physical proof, and for large runs consider a spot or fluorescent ink for the brightest stops.

In interiors, lime is a strong accent rather than a wall color: a single painted panel, cushions, a door or a bookcase back. Pair it with warm white and natural wood so it reads as fresh rather than synthetic. In fashion, light lime like shows up in sportswear and spring collections, often against black, gray or denim blue.

Common Lime Gradient Mistakes and Easy Fixes

The most frequent mistake is white text on a bright lime stop, covered above. The second is blending lime straight into a distant hue. A lime-to-turquoise blend looks great when the middle is controlled, and our turquoise gradient page shows how to place the mid stop so it stays clean.

Other problems are easier to spot. Too many stops make the gradient look like a rainbow stripe, while stops that are too similar make it look flat. A very dark end on a small element, such as on a thin button, can look like a dirty shadow. When something feels off, remove a stop, shorten the distance between hues or lighten the darkest end, and compare again in a real browser rather than a design mockup.

The colors behind these gradients

Lime Green Gradient: questions people ask

What is the hex code for a lime green gradient?

The classic version runs from Light Lime #CCFF66 through Lime Green #32CD32 to Forest Green #228B22. In CSS that is linear-gradient(135deg, #CCFF66, #32CD32, #228B22). For a simpler two-color blend, drop the last stop.

What colors make lime green?

Lime green sits between yellow and green. On a screen you get it with a strong green channel and low red and blue, as in rgb(50, 205, 50). With paint, mix a yellow-leaning green with a little extra yellow, and add white for the lighter tints.

Is lime green the same as neon green?

Not quite. Lime green #32CD32 is vivid but sits at 61% saturation, while neon greens such as #00FF00 or brighter yellow-greens go to full saturation and look like they glow. Lime green is easier to live with in interfaces and large areas.

Can I put white text on a lime green gradient?

Usually not. White on #32CD32 measures about 2.12:1, well below the 4.5:1 that WCAG asks for normal text. Use black or a very dark green instead, or darken the gradient to a deep green first.

How do I stop a lime gradient from looking muddy?

Keep the stops close in hue, add a mid stop rather than jumping straight to a dark color, and try interpolating in OKLCH. Blending lime into blue or purple in plain sRGB can pass through gray, so a bridging color helps.

Keep exploring