Choose six-digit HEX text and background colors, calculate relative luminance, and check AA and AAA thresholds for normal and large text.
#1F2937
#F9FAFB
Large text sample Aa 0123456789
Body text sample: read every word clearly.
14.0467:1
Four decimal places are displayed; AA/AAA decisions use the unrounded ratio.