CSS color names · Greens

Lime color: hex #00ff00, RGB and HSL

Lime is the CSS keyword lime, hex #00ff00, rgb(0, 255, 0), hsl(120, 100%, 50%). It is a medium, fully saturated green in the greens family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
lime
Hex
#00ff00
RGB
rgb(0, 255, 0)
HSL
hsl(120, 100%, 50%)
On white
1.37:1 — fails AA; use as a fill, not text
On black
15.3:1 — passes AA for body text
.example {
  color: lime;          /* keyword */
  color: #00ff00;          /* hex */
  color: rgb(0, 255, 0); /* rgb */
  color: hsl(120, 100%, 50%); /* hsl */
}

What colors go with lime

Each match keeps lime's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside lime as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#8000ff
#ff0080

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#80ff00
#00ff80

Tints and shades of lime

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as lime — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#2bff2b
#55ff55
#80ff80
#aaffaa
#d4ffd4

Shades (darker)

#00d400
#00aa00
#008000 · green
#005500
#002b00

A UI color palette built from lime

The eight semantic roles an interface actually uses, derived from lime as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#00ff00
secondary
#8000ff
accent
#ff0080
background
#fcfdfc
surface
#f3f7f3
text
#112211
muted
#568f56
border
#dfecdf
Dark mode
primary
#1aff1a
secondary
#8c1aff
accent
#ff1a8c
background
#0e1b0e
surface
#152815
text
#f3f6f3
muted
#94b894
border
#274927

Using lime in an interface

Green means success and 'on' — reserve one green for that job before you use another as a brand color. Sea green, forest green and teal are calm enough to lead a palette; the neon greens are for dark-mode accents and little else. Whichever role lime takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Lime?
Lime is #00ff00. In CSS the keyword lime, the hex #00ff00, rgb(0, 255, 0) and hsl(120, 100%, 50%) all paint the same color.
What colors go with Lime?
Its complement is #ff00ff, the split-complementary pair is #8000ff and #ff0080, the triadic partners are #0000ff and #ff0000, and the analogous neighbors are #80ff00 and #00ff80. In an interface, use Lime for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Lime on the color wheel?
The opposite (complementary) color is #ff00ff, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Lime for text?
Lime as text on white has a contrast ratio of 1.37:1, which fails WCAG AA for body text (4.5:1) and for large text (3:1). On black it is 15.3:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.

Similar named colors

More greens

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.