Photo in the color Lawn green
Pictured: Lawn green
rgb(124, 252, 0)
#7CFC00

Lawn Green #7CFC00 RGB Color Code

CSS keyword lawngreen.

Lawn Green (#7CFC00) is a very vivid, very light green. In RGB it is made of 49% red, 99% green and 0% blue (R 124, G 252, B 0). The green channel is the strongest. In HSL it has a hue of 90°, 100% saturation and 49% lightness. Its relative luminance is 0.739, so black text is easier to read on top of it. For print, a rough CMYK match is 51% cyan, 0% magenta, 100% yellow and 1% black. Check it against your printer's ICC profile before you print. It is a cool color. It goes well with warm oranges and reds for contrast. For a calm, matching look, use nearby cool tones.

Open in color picker

Lawn Green color codes

#7CFC00 in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #7CFC00 Valid CSS
CSS name lawngreen Valid CSS
RGB rgb(124, 252, 0) Valid CSS
HSL hsl(90, 100%, 49%) Valid CSS
HSV / HSB hsv(90, 100%, 99%) Not a CSS format
HWB hwb(90 0% 1%) Valid CSS
CMYK cmyk(51%, 0%, 100%, 1%) Approximate (no ICC profile)
OKLCH oklch(88.18% 0.2631 136.17) Valid CSS
OKLab oklab(88.18% -0.1898 0.1822) Valid CSS
CIELAB lab(89.05% -61.33 83.04) D50, as in CSS
CIELCH lch(89.05% 103.23 126.45) Valid CSS
Display P3 color(display-p3 0.6169 0.9767 0.3014) Valid CSS
XYZ (D65) color(xyz-d65 0.4312 0.739 0.1199) Valid CSS
Decimal 8190976 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.7391. Nearest web-safe color: #66FF00.

Mix Lawn Green with other colors

See what #7CFC00 makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Lawn Green in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--lawn-green: #7CFC00;
Sass variable$lawn-green: #7CFC00;
Tailwind CSS v4@theme { --color-lawn-green: #7CFC00; }
Tailwind CSS v3 configcolors: { 'lawn-green': '#7CFC00' }
SwiftUIColor(red: 0.486, green: 0.988, blue: 0)
UIKitUIColor(red: 0.486, green: 0.988, blue: 0, alpha: 1)
Android XML<color name="lawn_green">#FF7CFC00</color>
Flutter and Jetpack ComposeColor(0xFF7CFC00)

Accessibility and contrast

Black text works best on #7CFC00 (15.78:1, AAA). Here is how #7CFC00 does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
1.33:1 on white
APCA Lc 16
Fails AATry #3F8700
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
15.78:1 on black
APCA Lc -88
AAA

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Lawn Green

#7CFC00 next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#7CFC00 stays easy to tell apart from its complement and triadic colors for the common types of color blindness. Try your own colors in the color blindness simulator.

About the color Lawn Green

From the X11 list to CSS

Lawn green is the CSS keyword lawngreen. Like most named web colors, it started in the X11 color list, a text file of color names for Unix screens. That list first shipped in 1986, and a much longer version came with X11 release 4 in 1989. Browsers took the names from there, and the W3C later wrote them into the CSS color specification.

Almost the same as chartreuse

The code #7CFC00 is odd. Green is 252 instead of the full 255, and red is 124. The web color chartreuse is #7FFF00, so the two look almost the same on screen. Lawn green has a hue of 90 degrees, which puts it halfway between yellow and pure green. The ISCC-NBS system calls it brilliant yellow green.

Real grass is much darker than this. On a white page lawn green has a contrast ratio of only 1.33 to 1, so it is no good for text. Black text on it scores 15.78 to 1. For a softer neighbor, look at green yellow, or test pairs on the contrast checker.

Lawn Green in a user interface

A sample app screen with #7CFC00 as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #7CFC00 as it is. On the light theme, #7CFC00 is too hard to read as text (1.33:1), so links, the badge and outline text use #3F8700 there (4.49:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Lawn Green

These schemes turn the hue of #7CFC00 around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Lawn Green

Four CSS gradients made from #7CFC00. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #EAFFE0, #7CFC00);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #7CFC00, #1E4700);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #FAFC00, #7CFC00, #00FC02);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #7CFC00, #32C4B7, #007CFC);

Edit in the gradient generator

Shades, tints and tones of Lawn Green

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Lawn Green sits at step 200. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    E8FFDF
  2. 100
    CAFFB2
  3. 200
    7CFC00
  4. 300
    7ADE3B
  5. 400
    5CBF00
  6. 500
    4B9D00
  7. 600
    3B7F00
  8. 700
    2D6500
  9. 800
    224F00
  10. 900
    173A00
  11. 950
    0B2400

Closest RAL, Tailwind and CSS colors

The nearest match to #7CFC00 in three color systems that designers and builders use.

ΔE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (ΔE in OKLab). Browse all shades of green or search the color library.