對照 WCAG AA 和 AAA 無障礙級別檢查兩種顏色之間的對比度。
如何使用 對比度檢查器
選擇文字顏色和背景顏色。
查看對比度以及 WCAG 通過或未通過的標記。
調整顏色,直到達到你需要的級別。
This is a WCAG color contrast checker that shows the exact contrast ratio between a text color and a background color, and whether it meets the AA and AAA accessibility levels. Pick colors with the swatch or by hex code and see a live preview.
Adjust the two colors until the badges pass the level you need, and the result updates instantly as you go.
Text that is too close in lightness to its background is hard or impossible to read, especially for people with low vision or color vision deficiencies, or for anyone on a phone in bright sunlight. Enough contrast keeps your content legible for everyone.
The Web Content Accessibility Guidelines (WCAG) set the standard. AA, the level most sites aim for and that many accessibility laws reference, requires a ratio of 4.5:1 for normal text and 3:1 for large text. AAA is stricter at 7:1 and 4.5:1.
Large text gets a lower threshold because bigger letters stay legible at less contrast. It counts as large at roughly 24px (18pt), or 18.66px (14pt) when bold.
The ratio comes from the relative luminance of the two colors using the official WCAG formula, producing a value from 1:1 (no contrast, identical colors) up to 21:1 (black on white).
Everything is calculated in your browser, so it is instant and private. Nothing you pick is uploaded anywhere.
常見問題
WCAG AA 要求一般文字 4.5:1,大字號文字(18pt 或 14pt 粗體)3:1。AAA 分別要求 7:1 和 4.5:1。
至少 24px(18pt)的文字,或粗體時 18.66px(14pt)。大字號文字允許更低的對比度。
根據每種顏色的相對亮度,使用官方 WCAG 公式計算,得出從 1:1(無對比)到 21:1(白底黑字)的值。
嵌入此工具
將此工具加入你自己的網站。複製下方的程式碼片段,它會自動保持最新。
<iframe src="https://monu.tools/embed/zh-Hant/color-contrast-checker" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>相關工具