You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some color syntaxes allow out-of-gamut colors that are retained as-is until they're ultimately gamut-mapped for display. Examples include rgb(2 2 2) andcolor(srgb 2 2 2). Luminance contrast computation should ideally reflect the contrast of the colors being displayed.
To that end, I believe the CIE Y Luminance could be clamped to [0, 1] in the computation of wcag2 contrast, and other contrast keywords / functions.