CSS named colour

Lime

#00ff00

A CSS named colour: lime is valid anywhere a colour is expected.

RGB
rgb(0 255 0)
HSL
120°, 100%, 50%
OKLCh
86.6% 0.295 142.5

Open in the picker

Lime in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#00ff00
RGBrgb(0 255 0)
RGB legacyrgb(0, 255, 0)
RGB percentrgb(0% 100% 0%)
HSLhsl(120 100% 50%)
HSL legacyhsl(120, 100%, 50%)
HSV / HSBhsv(120, 100%, 100%)
HWBhwb(120 0% 0%)
Nearest namelime
CMYKcmyk(100%, 0%, 100%, 0%)Naive conversion. Real print work needs an ICC profile.

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

OKLChoklch(86.644% 0.29483 142.495)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(86.644% -0.23389 0.1795)
CIE LChlch(87.819% 113.332 134.384)
CIE Lablab(87.819% -79.271 80.995)
Display P3color(display-p3 0.4584 0.9853 0.2983)
Rec. 2020color(rec2020 0.5675 0.9593 0.269)
srgb-linearcolor(srgb-linear 0 1 0)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.3576 0.7152 0.1192)

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

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

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

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

Raw valuesPacked integers and plain arrays.

0x hex0x00FF00
0x hex (ARGB)0xFF00FF00
Array 0–1[0, 1, 0]
Array 0–255[0, 255, 0]
Decimal integer65280

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
Lime on white1.37:1FailLc 17Not usable for text
Lime on black15.30:1AAALc 86Body text, 18px and up

Lime text on a white background

Lime text on a black background

White text on Lime

Black text on Lime

Tonal scale

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

  • 50#d8ffd3
  • 100#b3ffac
  • 200#64ff5d
  • 300#2fed2a
  • 400#00cf00
  • 500#00ab00
  • 600#008d00
  • 700#007100
  • 800#005a00
  • 900#004700
  • 950#002a00

Tints and shades

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

  • Tint 1#62ff5b
  • Tint 2#8cff84
  • Tint 3#adffa6
  • Tint 4#caffc5
  • Tint 5#e5ffe2
  • Shade 1#00c800
  • Shade 2#009400
  • Shade 3#006300
  • Shade 4#003600
  • Shade 5#000f00

Colours that work with Lime

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

  • #ffb1ff
  • #b5d4ff
  • #ffbbb7
  • #d7df00
  • #00fac6

Closest CSS names

  • limeexact match
  • lawngreenΔEok 0.047
  • chartreuseΔEok 0.050
  • springgreenΔEok 0.072
  • greenyellowΔEok 0.096
  • mediumspringgreenΔEok 0.108