Contrast Check: #000000 on #FFFFFF
Black (#000000) on White (#FFFFFF) — 21.00:1, passes AAA normal.
At a glance
- Contrast ratio
- 21.00:1
- WCAG AA (normal text)
- Pass
- WCAG AA (large text)
- Pass
- WCAG AAA (normal text)
- Pass
- UI components / non-text
- Pass
Black text on a white background is one of the most frequently checked combinations in web design. The measured WCAG 2.1 contrast ratio is 21.00:1. It passes WCAG AAA for body text — the strictest standard. It is the maximum contrast a screen can produce — the bar against which every other combination is measured.
Frequently asked questions
Is #000000 on #FFFFFF accessible?
For WCAG 2.1 AA — the most common conformance target — the answer is yes for normal-size body text. Normal text needs 4.5:1 and this combination measures 21.00:1. Large text (18pt+ or 14pt+ bold) needs only 3:1, so this combination passes for headings and large UI labels. AAA conformance demands 7:1; this combination passes that bar.
Where is this combination commonly used?
Default body text in print, ebooks, and most documentation. The W3C and WCAG quick-reference itself uses essentially this pair.
How is this ratio calculated?
WCAG 2.1 contrast ratio is
(L1 + 0.05) / (L2 + 0.05) where L1 and L2 are the relative luminances of the lighter and darker colors. Each channel is gamma-corrected (linearized) before applying coefficients 0.2126·R + 0.7152·G + 0.0722·B. The two formulas weight green most because the human eye is most sensitive to green wavelengths.What if I need a higher ratio than 21.00:1?
This pair already passes AAA — the strictest WCAG 2.1 tier — for body text. You can safely use it anywhere.
Related Tools
More Developer Tools- CSS GradientVisual CSS background generator & code.Free • In browser
- CSS CheatsheetQuick reference for CSS selectors, Flexbox, Grid, typography, animations, and modern CSS. Search and copy instantly.Free • In browser
- Color PaletteExtract colors from images or generate harmonious palettes.Free • In browser
Also useful: Color Gradient TestLogo Maker