Ensure your website meets WCAG accessibility standards with our Color Contrast Calculator. Quickly determine if your text and background color combinations provide sufficient contrast for users with visual impairments, achieving AA or AAA compliance.
Formula:
Ratio = (L1 + 0.05) / (L2 + 0.05)
Where:
L1= Relative luminance of the lighter color.L2= Relative luminance of the darker color.
Relative luminance is calculated based on the sRGB color space, considering human perception of light.