What contrast ratio passes WCAG AA?
WCAG 2.2 success criterion 1.4.3 (Contrast Minimum, level AA) asks for a contrast ratio of at least 4.5:1 between normal text and its background, and at least 3:1 for large text. The stricter AAA level (criterion 1.4.6) raises those to 7:1 and 4.5:1. Ratios run from 1:1, the same color twice, up to 21:1, black on white.