Skip to content

CSS named color

LimeGreen #32CD32

LimeGreen (CSS keyword limegreen) has the hex code #32CD32 and the RGB value rgb(50, 205, 50): a light, vivid green.

LimeGreen#32CD32

A bright, slightly softened green (#32cd32), less intense than lime. A frequent choice for "online" status dots and success icons.

Color codes for LimeGreen

Color codes for LimeGreen
CSS keywordlimegreen
HEX#32CD32
RGBrgb(50, 205, 50)
HSLhsl(120, 61%, 50%)
HWBhwb(120 20% 20%)
OKLCHoklch(74.2% 0.229 142.8)
CMYK (naive, no ICC profile)cmyk(76%, 0%, 76%, 20%)
Decimal3,329,330
Hue familyGreens

Contrast and accessibility

On limegreen, black text has a contrast ratio of 9.91:1 and passes AAA at any text size; white text reaches 2.11:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on limegreen9.91:1PassPassPassPass63.0
White text on limegreen2.11:1FailFailFailFail−45.5
Limegreen text on white2.11:1FailFailFailFail40.9
Limegreen text on black9.91:1PassPassPassPass−61.4

Tints and shades

Each step mixes limegreen with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, limegreen, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #3cd03c
  2. 15%
    #51d551
  3. 25%
    #65da65
  4. 35%
    #7adf7a
  5. 45%
    #8ee48e
  6. 55%
    #a3e9a3
  7. 65%
    #b7eeb7
  8. 75%
    #ccf3cc
  9. 85%
    #e0f8e0
  10. 95%
    #f5fdf5

Shades (mixed with black)

  1. 5%
    #30c330
  2. 15%
    #2bae2b
  3. 25%
    #269a26
  4. 35%
    #218521
  5. 45%
    #1c711c
  6. 55%
    #165c16
  7. 65%
    #124812
  8. 75%
    #0d330d
  9. 85%
    #081f08
  10. 95%
    #030a03

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, limegreen's complementary color is #EC6EFD (close to violet), its analogous colors are #AEB600 and #00CCA1, and its triadic partners are #76A9FF and #FF7574. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#ec6efd
Analogous−30°, +30°#aeb600#00cca1
Triadic+120°, +240°#76a9ff#ff7574
Split-complementary+150°, +210°#b193ff#ff66b7

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

LimeGreen is a cool color: its hue is 120° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
yellowgreen#9acd328.5
mediumseagreen#3cb37110.9
springgreen#00ff7f13.7

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
green-500#00c9503.4
lime-500#7ccf005.5
green-400#05df726.4

Code snippets

CSS
.element {
  color: limegreen;
  background-color: #32cd32;
  border-color: rgb(50 205 50);
  outline-color: oklch(74.2% 0.229 142.8);
}
Tailwind CSS
<div class="bg-[#32cd32] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-limegreen: #32cd32;
}
/* then use bg-limegreen, text-limegreen, border-limegreen */
SwiftUI
import SwiftUI

extension Color {
  static let limegreen = Color(red: 0.196, green: 0.804, blue: 0.196)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Limegreen = Color(0xFF32CD32)
Flutter
import 'package:flutter/material.dart';

const limegreen = Color(0xFF32CD32);
Android XML
<!-- res/values/colors.xml -->
<color name="limegreen">#32CD32</color>

Frequently asked questions

What is the hex code for limegreen?
The hex code for limegreen is #32CD32. The same color is rgb(50, 205, 50), hsl(120, 61%, 50%) and oklch(74.2% 0.229 142.8), and in CSS you can also write the keyword limegreen directly.
Is limegreen a warm or cool color?
LimeGreen is a cool color: its hue is 120° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
What colors go with limegreen?
Rotating the hue in OKLCH while keeping lightness and chroma, limegreen's complementary color is #EC6EFD (close to violet), its analogous colors are #AEB600 and #00CCA1, and its triadic partners are #76A9FF and #FF7574. For text on top, black gives the higher contrast.
Can you use white text on limegreen?
White text on limegreen has a contrast ratio of 2.11:1, which fails AA even for large text under WCAG 2.2. Black text reaches 9.91:1 and passes both AA and AAA. In APCA terms that is Lc −45.5 for white and Lc 63.0 for black.
What is the RGB value of limegreen?
LimeGreen is rgb(50, 205, 50): red 50, green 205 and blue 50 on the 0 to 255 scale, or 19.6%, 80.4% and 19.6%. As a decimal integer it is 3329330.

Last reviewed by Arielton Oberek.