CSS named color

LightGreen #90EE90

lightgreen rgb(144, 238, 144)

LightGreen is a light green with the hex code #90EE90, which converts to rgb(144, 238, 144). Open #90EE90 in the converter to tweak it.

LightGreen color values

HEX#90EE90
HEX (shorthand)—
RGBrgb(144, 238, 144)
RGBArgba(144, 238, 144, 1)
8-digit HEX#90EE90FF
HSLhsl(120, 73%, 75%)
HSV / HSB120°, 39%, 93%
CMYK39%, 0%, 39%, 7%
RGB 0–10.565, 0.933, 0.565
Decimal9498256
CSS keywordlightgreen

How #90EE90 converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: 90 → 144, EE → 238, 90 → 144. That gives rgb(144, 238, 144). The step-by-step guide explains the math.

Shades of LightGreen

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of LightGreen

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of LightGreen on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Complementary

Analogous

Split-complementary

Triadic

Tetradic (square)

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White LightGreen 1.41:1Fail
Black LightGreen 14.81:1AAA

Use black text on a lightgreen background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use LightGreen in CSS

.element {
  color: lightgreen;                         /* keyword */
  background-color: #90EE90;            /* hex */
  border-color: rgb(144 238 144 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #90EE9080 is LightGreen at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for LightGreen?

The CSS named color lightgreen is #90EE90 in hexadecimal. In CSS you can write color: lightgreen; or color: #90EE90; — both produce the same pixel.

What is LightGreen in RGB?

LightGreen is rgb(144, 238, 144): red 144, green 238, blue 144 on the 0–255 scale. As normalized 0–1 floats that is (0.565, 0.933, 0.565).

Is white or black text more readable on LightGreen?

Black text is more readable. White on #90EE90 has a contrast ratio of 1.41:1 (Fail), black on #90EE90 has 14.81:1 (AAA). WCAG AA needs 4.5:1 for normal text.

Copied!