CSS color names · Greens

Lawn Green color: hex #7cfc00, RGB and HSL

Lawn Green is the CSS keyword lawngreen, hex #7cfc00, rgb(124, 252, 0), hsl(90, 100%, 49%). 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
lawngreen
Hex
#7cfc00
RGB
rgb(124, 252, 0)
HSL
hsl(90, 100%, 49%)
On white
1.33:1 — fails AA; use as a fill, not text
On black
15.78:1 — passes AA for body text
.example {
  color: lawngreen;          /* keyword */
  color: #7cfc00;          /* hex */
  color: rgb(124, 252, 0); /* rgb */
  color: hsl(90, 100%, 49%); /* hsl */
}

What colors go with lawn green

Each match keeps lawn green'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 lawn green 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.

#8000fc

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.

#0200fc
#fc00fa

Triadic

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

#007cfc
#fc007c

Analogous

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

#fafc00
#00fc02

Tints and shades of lawn green

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

Tints (lighter)

#92ff28
#a8ff53
#bdff7e
#d3ffa9
#e9ffd4

Shades (darker)

#67d200
#53a800
#3e7e00
#295400
#152a00

A UI color palette built from lawn green

The eight semantic roles an interface actually uses, derived from lawn green 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
#7cfc00
secondary
#0200fc
accent
#fc00fa
background
#fcfdfc
surface
#f5f7f3
text
#192211
muted
#728f56
border
#e5ecdf
Dark mode
primary
#8aff1a
secondary
#1b1aff
accent
#ff1afd
background
#141b0e
surface
#1e2815
text
#f5f6f3
muted
#a5b894
border
#384927

Using lawn green 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 lawn green 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 Lawn Green?
Lawn Green is #7cfc00. In CSS the keyword lawngreen, the hex #7cfc00, rgb(124, 252, 0) and hsl(90, 100%, 49%) all paint the same color.
What colors go with Lawn Green?
Its complement is #8000fc, the split-complementary pair is #0200fc and #fc00fa, the triadic partners are #007cfc and #fc007c, and the analogous neighbors are #fafc00 and #00fc02. In an interface, use Lawn Green for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Lawn Green on the color wheel?
The opposite (complementary) color is #8000fc, 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 Lawn Green for text?
Lawn Green as text on white has a contrast ratio of 1.33:1, which fails WCAG AA for body text (4.5:1) and for large text (3:1). On black it is 15.78: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.