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 · #D9D9D9
- sRGB
- rgb(217 217 217)
- OKLCh
- 0.885 0.000 none
- OKLab
- 0.885 -0.000 0.000
- CIELAB
- 86.70 0.00 0.00 (D50)
User-specified sRGB value · no record, no historical attribution.
B · #DCDCDC
- sRGB
- rgb(220 220 220)
- OKLCh
- 0.894 0.000 none
- OKLab
- 0.894 -0.000 0.000
- CIELAB
- 87.76 0.00 0.00 (D50)
From record gainsboro css-gainsboro-srgb · CSS named colourspublished value · recorded as srgb 0.8628, 0.8628, 0.8628 · Normative sRGB value #dcdcdc (220 220 220) 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, gainsboro #dcdcdc
Difference
| CIEDE2000 ΔE₀₀ | 0.69 | CIELAB, D50 (Bradford adaptation from sRGB’s D65), kL = kC = kH = 1 |
|---|---|---|
| OKLab ΔE (Euclidean) | 0.0092 | OKLab, D65, L on a 0–1 scale; the distance the Dictionary and map use |
| OKLCh by axis | ΔL +0.009 · ΔC +0.000 · Δh undefined (a neutral) | 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.03: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.