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 · #228B22
- sRGB
- rgb(34 139 34)
- OKLCh
- 0.558 0.169 142.9
- OKLab
- 0.558 -0.135 0.102
- CIELAB
- 50.64 -45.72 44.03 (D50)
User-specified sRGB value · no record, no historical attribution.
B · #008000
- sRGB
- rgb(0 128 0)
- OKLCh
- 0.520 0.177 142.5
- OKLab
- 0.520 -0.140 0.108
- CIELAB
- 46.28 -47.55 48.59 (D50)
From record 緑 ja-midori-srgb-ichiran · JIS Z 8102modern approximation · recorded as srgb 0, 0.502, 0 · sRGB hex #008000 as listed on the cited page (which calls its values approximate examples and names no source), divided by 255.Display approximationWikipedia contributors (Japanese), 日本の色の一覧, entry 緑 (みどり), hex #008000
Difference
| CIEDE2000 ΔE₀₀ | 4.56 | CIELAB, D50 (Bradford adaptation from sRGB’s D65), kL = kC = kH = 1 |
|---|---|---|
| OKLab ΔE (Euclidean) | 0.0389 | OKLab, D65, L on a 0–1 scale; the distance the Dictionary and map use |
| OKLCh by axis | ΔL -0.038 · ΔC +0.008 · Δh 0.4° | 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.17: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.