2 ms·
"(L1 + 0.05) / (L2 + 0.05), where - L1 is the relative luminance of the lighter of the colors, and - L2 is the relative luminance of the darker of the colors.
by zamadatix 8y ago
"(L1 + 0.05) / (L2 + 0.05), where
- L1 is the relative luminance of the lighter of the colors, and
- L2 is the relative luminance of the darker of the colors."
https://www.w3.org/TR/WCAG20/#contrast-ratiodef https://www.w3.org/TR/WCAG20/#contrast-ratiodef