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
Yellow Green in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #9acd32 | |
|---|---|---|
| RGB | rgb(154 205 50) | |
| RGB legacy | rgb(154, 205, 50) | |
| RGB percent | rgb(60.39% 80.39% 19.61%) | |
| HSL | hsl(79.7 60.8% 50%) | |
| HSL legacy | hsl(79.7, 60.8%, 50%) | |
| HSV / HSB | hsv(79.7, 75.6%, 80.4%) | |
| HWB | hwb(79.7 19.6% 19.6%) | |
| Nearest name | yellowgreen | |
| CMYK | cmyk(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.
| OKLCh | oklch(78.485% 0.18374 126.636)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(78.485% -0.10964 0.14744) | |
| CIE LCh | lch(76.769% 73.5 116.763) | |
| CIE Lab | lab(76.769% -33.097 65.626) | |
| Display P3 | color(display-p3 0.6454 0.7983 0.3109) | |
| Rec. 2020 | color(rec2020 0.6328 0.7637 0.2682) | |
| srgb-linear | color(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 — sRGB | vec3(0.604, 0.804, 0.196)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.323, 0.61, 0.032)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.604, 0.804, 0.196, 1.0) | |
| GLSL vec4 — linear | vec4(0.323, 0.61, 0.032, 1.0) | |
| GLSL ivec3 | ivec3(154, 205, 50) | |
| HLSL float3 — sRGB | float3(0.604, 0.804, 0.196) | |
| HLSL float3 — linear | float3(0.323, 0.61, 0.032) | |
| HLSL float4 — sRGB | float4(0.604, 0.804, 0.196, 1.0) | |
| HLSL half4 — sRGB | half4(0.604, 0.804, 0.196, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.604, 0.804, 0.196) | |
| WGSL vec4f — sRGB | vec4f(0.604, 0.804, 0.196, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.323, 0.61, 0.032) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new 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 Color32 | new Color32(154, 205, 50, 255) | |
| Unreal FLinearColor | FLinearColor(0.3231f, 0.6105f, 0.0319f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(154, 205, 50, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.604, 0.804, 0.196, 1) | |
| Flutter Color | Color(0xFF9ACD32)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(154, 205, 50) | |
| SwiftUI Color | Color(red: 0.604, green: 0.804, blue: 0.196) | |
| UIKit UIColor | UIColor(red: 0.604, green: 0.804, blue: 0.196, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x9ACD32 | |
|---|---|---|
| 0x hex (ARGB) | 0xFF9ACD32 | |
| Array 0–1 | [0.604, 0.804, 0.196] | |
| Array 0–255 | [154, 205, 50] | |
| Decimal integer | 10145074 |
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 |
|---|---|---|---|---|
| Yellow Green on white | 1.88:1 | Fail | Lc 36 | Non-text elements only |
| Yellow Green on black | 11.15:1 | AAA | Lc 67 | Headings 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 matchlimegreenΔEok 0.085darkkhakiΔEok 0.101lightgreenΔEok 0.102darkseagreenΔEok 0.116mediumaquamarineΔEok 0.126