Compare two colours
Both values, two named difference metrics with their conditions, and the WCAG contrast between them. A difference is a number under stated conditions, not a judgement.
A · #FFCC00
- sRGB
- rgb(255 204 0)
- OKLCh
- 0.865 0.177 90.4
- OKLab
- 0.865 -0.001 0.177
- CIELAB
- 84.76 8.24 84.79 (D50)
User-specified sRGB value · no record, no historical attribution.
B · #FFD700
- sRGB
- rgb(255 215 0)
- OKLCh
- 0.887 0.182 95.3
- OKLab
- 0.887 -0.017 0.181
- CIELAB
- 87.47 2.91 86.55 (D50)
From record gold css-gold-srgb · CSS named colourspublished value · recorded as srgb 1, 0.8431, 0 · Normative sRGB value #ffd700 (255 215 0) from the specification, divided by 255.UnreviewedW3C CSS Working Group, CSS Color Module Level 4 (2026-10-29), § 6.1 Named Colors, named-color table, gold #ffd700
Difference
| CIEDE2000 ΔE₀₀ | 3.55 | CIELAB, D50 (Bradford adaptation from sRGB’s D65), kL = kC = kH = 1 |
|---|---|---|
| OKLab ΔE (Euclidean) | 0.0271 | OKLab, D65, L on a 0–1 scale; the distance the Dictionary and map use |
| OKLCh by axis | ΔL +0.022 · ΔC +0.005 · Δh 4.9° | B minus A; hue as the smaller arc. Viewing conditions: sRGB as displayed, D65, 2° observer assumed by the conversions. |
No threshold of perceptibility is claimed for either metric: how visible a difference is depends on size, surround, adaptation and the display.
Contrast 1.08:1
- normal text, AA (SC 1.4.3) · at least 4.5:1fails
- normal text, AAA (SC 1.4.6) · at least 7:1fails
- large text, AA (SC 1.4.3) · at least 3:1fails
- large text, AAA (SC 1.4.6) · at least 4.5:1fails
- interface parts and graphics, AA (SC 1.4.11) · at least 3:1fails
WCAG 2.1 ratio between the two sRGB values as displayed; the same in either direction.