CSS named colour
Light Yellow
#ffffe0
A CSS named colour: lightyellow is valid anywhere a colour is expected.
- RGB
- rgb(255 255 224)
- HSL
- 60°, 100%, 94%
- OKLCh
- 99.2% 0.040 107.1
Light Yellow in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #ffffe0 | |
|---|---|---|
| RGB | rgb(255 255 224) | |
| RGB legacy | rgb(255, 255, 224) | |
| RGB percent | rgb(100% 100% 87.84%) | |
| HSL | hsl(60 100% 93.9%) | |
| HSL legacy | hsl(60, 100%, 93.9%) | |
| HSV / HSB | hsv(60, 12.2%, 100%) | |
| HWB | hwb(60 87.8% 0%) | |
| Nearest name | lightyellow | |
| CMYK | cmyk(0%, 0%, 12.2%, 0%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(99.201% 0.04024 107.111)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(99.201% -0.01184 0.03846) | |
| CIE LCh | lch(99.4% 15.365 104.286) | |
| CIE Lab | lab(99.4% -3.791 14.89) | |
| Display P3 | color(display-p3 1 1 0.8902) | |
| Rec. 2020 | color(rec2020 0.9945 0.9986 0.8792) | |
| srgb-linear | color(srgb-linear 1 1 0.7454)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.9045 0.9816 0.8471) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(1.0, 1.0, 0.878)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(1.0, 1.0, 0.745)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(1.0, 1.0, 0.878, 1.0) | |
| GLSL vec4 — linear | vec4(1.0, 1.0, 0.745, 1.0) | |
| GLSL ivec3 | ivec3(255, 255, 224) | |
| HLSL float3 — sRGB | float3(1.0, 1.0, 0.878) | |
| HLSL float3 — linear | float3(1.0, 1.0, 0.745) | |
| HLSL float4 — sRGB | float4(1.0, 1.0, 0.878, 1.0) | |
| HLSL half4 — sRGB | half4(1.0, 1.0, 0.878, 1.0) | |
| WGSL vec3f — sRGB | vec3f(1.0, 1.0, 0.878) | |
| WGSL vec4f — sRGB | vec4f(1.0, 1.0, 0.878, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(1.0, 1.0, 0.745) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(1.0f, 1.0f, 0.878f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(255, 255, 224, 255) | |
| Unreal FLinearColor | FLinearColor(1.0f, 1.0f, 0.7454f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(255, 255, 224, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(1, 1, 0.878, 1) | |
| Flutter Color | Color(0xFFFFFFE0)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(255, 255, 224) | |
| SwiftUI Color | Color(red: 1, green: 1, blue: 0.878) | |
| UIKit UIColor | UIColor(red: 1, green: 1, blue: 0.878, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xFFFFE0 | |
|---|---|---|
| 0x hex (ARGB) | 0xFFFFFFE0 | |
| Array 0–1 | [1, 1, 0.878] | |
| Array 0–255 | [255, 255, 224] | |
| Decimal integer | 16777184 |
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 |
|---|---|---|---|---|
| Light Yellow on white | 1.02:1 | Fail | Lc 0 | Not usable for text |
| Light Yellow on black | 20.63:1 | AAA | Lc 107 | Body text at any size |
Light Yellow text on a white background
Light Yellow text on a black background
White text on Light Yellow
Black text on Light Yellow
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#f9f9e2
- 100#efefd8
- 200#dedec5
- 300#c8c8ad
- 400#acab8f
- 500#8e8d71
- 600#747359
- 700#5d5d44
- 800#4a4933
- 900#3a3926
- 950#212011
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#ffffe5
- Tint 2#ffffeb
- Tint 3#fffff0
- Tint 4#fffff5
- Tint 5#fffffa
- Shade 1#c8c8af
- Shade 2#949481
- Shade 3#636356
- Shade 4#36362e
- Shade 5#0f0f0b
Colours that work with Light Yellow
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #fbfaff
- #e6ffff
- #fff5ff
- #fffadf
- #f0ffe9
Closest CSS names
lightyellowexact matchcornsilkΔEok 0.017lightgoldenrodyellowΔEok 0.021ivoryΔEok 0.021lemonchiffonΔEok 0.023honeydewΔEok 0.027