CSS named color

Lawn Green

#7cfc00

A CSS named color: lawngreen is valid anywhere a color is expected.

RGB
rgb(124 252 0)
HSL
90°, 100%, 49%
OKLCh
88.2% 0.263 136.2

Open in the picker

Lawn Green in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#7cfc00
RGBrgb(124 252 0)
RGB legacyrgb(124, 252, 0)
RGB percentrgb(48.63% 98.82% 0%)
HSLhsl(90.5 100% 49.4%)
HSL legacyhsl(90.5, 100%, 49.4%)
HSV / HSBhsv(90.5, 100%, 98.8%)
HWBhwb(90.5 0% 1.2%)
Nearest namelawngreen
CMYKcmyk(50.8%, 0%, 100%, 1.2%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS color spaces for uniform scales and P3 displays.

OKLChoklch(88.175% 0.26307 136.171)Modern CSS color space for even palettes, better than HSL when building scales.
OKLaboklab(88.175% -0.18978 0.18218)
CIE LChlch(89.05% 103.231 126.446)
CIE Lablab(89.05% -61.327 83.04)
Display P3color(display-p3 0.6169 0.9767 0.3014)
Rec. 2020color(rec2020 0.6659 0.9538 0.2708)
srgb-linearcolor(srgb-linear 0.2016 0.9734 0)Light-linear sRGB: the same numbers a shader wants for math.
CIE XYZ (D65)color(xyz-d65 0.4312 0.739 0.1199)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 - sRGBvec3(0.486, 0.988, 0.0)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 - linearvec3(0.202, 0.973, 0.0)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 - sRGBvec4(0.486, 0.988, 0.0, 1.0)
GLSL vec4 - linearvec4(0.202, 0.973, 0.0, 1.0)
GLSL ivec3ivec3(124, 252, 0)
HLSL float3 - sRGBfloat3(0.486, 0.988, 0.0)
HLSL float3 - linearfloat3(0.202, 0.973, 0.0)
HLSL float4 - sRGBfloat4(0.486, 0.988, 0.0, 1.0)
HLSL half4 - sRGBhalf4(0.486, 0.988, 0.0, 1.0)
WGSL vec3f - sRGBvec3f(0.486, 0.988, 0.0)
WGSL vec4f - sRGBvec4f(0.486, 0.988, 0.0, 1.0)
WGSL vec3<f32> - linearvec3<f32>(0.202, 0.973, 0.0)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(0.486f, 0.988f, 0.0f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(124, 252, 0, 255)
Unreal FLinearColorFLinearColor(0.2016f, 0.9734f, 0.0f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(124, 252, 0, 255)Whole numbers from 0 to 255. Use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.486, 0.988, 0, 1)
Flutter ColorColor(0xFF7CFC00)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(124, 252, 0)
SwiftUI ColorColor(red: 0.486, green: 0.988, blue: 0)
UIKit UIColorUIColor(red: 0.486, green: 0.988, blue: 0, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x7CFC00
0x hex (ARGB)0xFF7CFC00
Array 0–1[0.486, 0.988, 0]
Array 0–255[124, 252, 0]
Decimal integer8190976

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Lawn Green on white1.33:1FailLc 16Not usable for text
Lawn Green on black15.78:1AAALc 88Body text, 18px and up

Lawn Green text on a white background

Lawn Green text on a black background

White text on Lawn Green

Black text on Lawn Green

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#dcffc9
  • 100#baff95
  • 200#94fc59
  • 300#75e622
  • 400#52c900
  • 500#41a600
  • 600#328800
  • 700#246e00
  • 800#195700
  • 900#0f4500
  • 950#032800

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#96fe5c
  • Tint 2#adff85
  • Tint 3#c3ffa7
  • Tint 4#d8ffc6
  • Tint 5#ecffe3
  • Shade 1#60c600
  • Shade 2#459200
  • Shade 3#2c6200
  • Shade 4#153500
  • Shade 5#030e00

Colors that work with Lawn Green

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #f7c0ff
  • #b6dbff
  • #ffc2c5
  • #ebde00
  • #00ffb9

Closest CSS names