CSS named colour

Yellow Green

#9acd32

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

RGB
rgb(154 205 50)
HSL
80°, 61%, 50%
OKLCh
78.5% 0.184 126.6

Open in the picker

Yellow Green in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#9acd32
RGBrgb(154 205 50)
RGB legacyrgb(154, 205, 50)
RGB percentrgb(60.39% 80.39% 19.61%)
HSLhsl(79.7 60.8% 50%)
HSL legacyhsl(79.7, 60.8%, 50%)
HSV / HSBhsv(79.7, 75.6%, 80.4%)
HWBhwb(79.7 19.6% 19.6%)
Nearest nameyellowgreen
CMYKcmyk(24.9%, 0%, 75.6%, 19.6%)Naive conversion. Real print work needs an ICC profile.

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

OKLChoklch(78.485% 0.18374 126.636)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(78.485% -0.10964 0.14744)
CIE LChlch(76.769% 73.5 116.763)
CIE Lablab(76.769% -33.097 65.626)
Display P3color(display-p3 0.6454 0.7983 0.3109)
Rec. 2020color(rec2020 0.6328 0.7637 0.2682)
srgb-linearcolor(srgb-linear 0.3231 0.6105 0.0319)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.3573 0.5076 0.1093)

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

GLSL vec3 — sRGBvec3(0.604, 0.804, 0.196)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.323, 0.61, 0.032)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.604, 0.804, 0.196, 1.0)
GLSL vec4 — linearvec4(0.323, 0.61, 0.032, 1.0)
GLSL ivec3ivec3(154, 205, 50)
HLSL float3 — sRGBfloat3(0.604, 0.804, 0.196)
HLSL float3 — linearfloat3(0.323, 0.61, 0.032)
HLSL float4 — sRGBfloat4(0.604, 0.804, 0.196, 1.0)
HLSL half4 — sRGBhalf4(0.604, 0.804, 0.196, 1.0)
WGSL vec3f — sRGBvec3f(0.604, 0.804, 0.196)
WGSL vec4f — sRGBvec4f(0.604, 0.804, 0.196, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.323, 0.61, 0.032)

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

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

Raw valuesPacked integers and plain arrays.

0x hex0x9ACD32
0x hex (ARGB)0xFF9ACD32
Array 0–1[0.604, 0.804, 0.196]
Array 0–255[154, 205, 50]
Decimal integer10145074

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
Yellow Green on white1.88:1FailLc 36Non-text elements only
Yellow Green on black11.15:1AAALc 67Headings and large text

Yellow Green text on a white background

Yellow Green text on a black background

White text on Yellow Green

Black text on Yellow Green

Tonal scale

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

  • 50#e3ffb0
  • 100#d4ff93
  • 200#c2ef7a
  • 300#aad957
  • 400#8cbc24
  • 500#6e9d00
  • 600#588100
  • 700#456800
  • 800#365200
  • 900#294100
  • 950#152500

Tints and shades

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

  • Tint 1#aad661
  • Tint 2#bbdf85
  • Tint 3#cce7a5
  • Tint 4#ddefc4
  • Tint 5#eef7e1
  • Shade 1#78a025
  • Shade 2#577619
  • Shade 3#394e0d
  • Shade 4#1d2904
  • Shade 5#050900

Colours that work with Yellow Green

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

  • #d599ff
  • #67c0ff
  • #ff8ba8
  • #dbb700
  • #1adb87

Closest CSS names

  • yellowgreenexact match
  • limegreenΔEok 0.085
  • darkkhakiΔEok 0.101
  • lightgreenΔEok 0.102
  • darkseagreenΔEok 0.116
  • mediumaquamarineΔEok 0.126