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

Open in the picker

Light Yellow in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#ffffe0
RGBrgb(255 255 224)
RGB legacyrgb(255, 255, 224)
RGB percentrgb(100% 100% 87.84%)
HSLhsl(60 100% 93.9%)
HSL legacyhsl(60, 100%, 93.9%)
HSV / HSBhsv(60, 12.2%, 100%)
HWBhwb(60 87.8% 0%)
Nearest namelightyellow
CMYKcmyk(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.

OKLChoklch(99.201% 0.04024 107.111)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(99.201% -0.01184 0.03846)
CIE LChlch(99.4% 15.365 104.286)
CIE Lablab(99.4% -3.791 14.89)
Display P3color(display-p3 1 1 0.8902)
Rec. 2020color(rec2020 0.9945 0.9986 0.8792)
srgb-linearcolor(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 — sRGBvec3(1.0, 1.0, 0.878)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(1.0, 1.0, 0.745)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(1.0, 1.0, 0.878, 1.0)
GLSL vec4 — linearvec4(1.0, 1.0, 0.745, 1.0)
GLSL ivec3ivec3(255, 255, 224)
HLSL float3 — sRGBfloat3(1.0, 1.0, 0.878)
HLSL float3 — linearfloat3(1.0, 1.0, 0.745)
HLSL float4 — sRGBfloat4(1.0, 1.0, 0.878, 1.0)
HLSL half4 — sRGBhalf4(1.0, 1.0, 0.878, 1.0)
WGSL vec3f — sRGBvec3f(1.0, 1.0, 0.878)
WGSL vec4f — sRGBvec4f(1.0, 1.0, 0.878, 1.0)
WGSL vec3<f32> — linearvec3<f32>(1.0, 1.0, 0.745)

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

Unity Colornew 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 Color32new Color32(255, 255, 224, 255)
Unreal FLinearColorFLinearColor(1.0f, 1.0f, 0.7454f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(255, 255, 224, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(1, 1, 0.878, 1)
Flutter ColorColor(0xFFFFFFE0)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(255, 255, 224)
SwiftUI ColorColor(red: 1, green: 1, blue: 0.878)
UIKit UIColorUIColor(red: 1, green: 1, blue: 0.878, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0xFFFFE0
0x hex (ARGB)0xFFFFFFE0
Array 0–1[1, 1, 0.878]
Array 0–255[255, 255, 224]
Decimal integer16777184

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
Light Yellow on white1.02:1FailLc 0Not usable for text
Light Yellow on black20.63:1AAALc 107Body 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 match
  • cornsilkΔEok 0.017
  • lightgoldenrodyellowΔEok 0.021
  • ivoryΔEok 0.021
  • lemonchiffonΔEok 0.023
  • honeydewΔEok 0.027