CSS named colour
Lawn Green
#7cfc00
A CSS named colour: lawngreen is valid anywhere a colour is expected.
- RGB
- rgb(124 252 0)
- HSL
- 90°, 100%, 49%
- OKLCh
- 88.2% 0.263 136.2
Lawn Green in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #7cfc00 | |
|---|---|---|
| RGB | rgb(124 252 0) | |
| RGB legacy | rgb(124, 252, 0) | |
| RGB percent | rgb(48.63% 98.82% 0%) | |
| HSL | hsl(90.5 100% 49.4%) | |
| HSL legacy | hsl(90.5, 100%, 49.4%) | |
| HSV / HSB | hsv(90.5, 100%, 98.8%) | |
| HWB | hwb(90.5 0% 1.2%) | |
| Nearest name | lawngreen | |
| CMYK | cmyk(50.8%, 0%, 100%, 1.2%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(88.175% 0.26307 136.171)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(88.175% -0.18978 0.18218) | |
| CIE LCh | lch(89.05% 103.231 126.446) | |
| CIE Lab | lab(89.05% -61.327 83.04) | |
| Display P3 | color(display-p3 0.6169 0.9767 0.3014) | |
| Rec. 2020 | color(rec2020 0.6659 0.9538 0.2708) | |
| srgb-linear | color(srgb-linear 0.2016 0.9734 0)Light-linear sRGB — the same numbers a shader wants for maths. | |
| 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 — sRGB | vec3(0.486, 0.988, 0.0)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.202, 0.973, 0.0)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.486, 0.988, 0.0, 1.0) | |
| GLSL vec4 — linear | vec4(0.202, 0.973, 0.0, 1.0) | |
| GLSL ivec3 | ivec3(124, 252, 0) | |
| HLSL float3 — sRGB | float3(0.486, 0.988, 0.0) | |
| HLSL float3 — linear | float3(0.202, 0.973, 0.0) | |
| HLSL float4 — sRGB | float4(0.486, 0.988, 0.0, 1.0) | |
| HLSL half4 — sRGB | half4(0.486, 0.988, 0.0, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.486, 0.988, 0.0) | |
| WGSL vec4f — sRGB | vec4f(0.486, 0.988, 0.0, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.202, 0.973, 0.0) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new 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 Color32 | new Color32(124, 252, 0, 255) | |
| Unreal FLinearColor | FLinearColor(0.2016f, 0.9734f, 0.0f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(124, 252, 0, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.486, 0.988, 0, 1) | |
| Flutter Color | Color(0xFF7CFC00)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(124, 252, 0) | |
| SwiftUI Color | Color(red: 0.486, green: 0.988, blue: 0) | |
| UIKit UIColor | UIColor(red: 0.486, green: 0.988, blue: 0, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x7CFC00 | |
|---|---|---|
| 0x hex (ARGB) | 0xFF7CFC00 | |
| Array 0–1 | [0.486, 0.988, 0] | |
| Array 0–255 | [124, 252, 0] | |
| Decimal integer | 8190976 |
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.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Lawn Green on white | 1.33:1 | Fail | Lc 16 | Not usable for text |
| Lawn Green on black | 15.78:1 | AAA | Lc 88 | Body 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
Colours 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
lawngreenexact matchchartreuseΔEok 0.009limeΔEok 0.047greenyellowΔEok 0.051springgreenΔEok 0.070mediumspringgreenΔEok 0.102