Understanding WCAG 2.1 Color Contrast Standards
Web Content Accessibility Guidelines (WCAG) ensure digital content is usable by people with visual impairments, color blindness, and low-vision conditions. Adequate contrast between text and its background is one of the most critical accessibility requirements.
- Normal Text (< 18pt / 24px): Requires a minimum ratio of 4.5:1.
- Large Text (≥ 18pt regular or ≥ 14pt bold): Requires a minimum ratio of 3:1.
- UI Components & Graphics: Form inputs, button borders, and icons require 3:1.
- Normal Text: Requires a minimum ratio of 7:1.
- Large Text: Requires a minimum ratio of 4.5:1.
Frequently Asked Questions
Q: Does color contrast affect SEO?
Yes. Google Lighthouse and mobile page experience algorithms actively audit WCAG accessibility scores. High contrast improves mobile readability in bright sunlight and reduces bounce rates.
Q: What about disabled buttons and placeholder text?
While WCAG exempts inactive UI components, input placeholder text must still provide sufficient contrast or be accompanied by clear permanent labels for optimal UX.