Monu Tools

فاحص تباين الألوان

افحص نسبة التباين بين لونين مقابل مستويي إتاحة WCAG عند AA وAAA.

كيفية استخدام فاحص التباين

  1. 01

    اختر لون النص ولون الخلفية.

  2. 02

    اقرأ نسبة التباين وشارات النجاح أو الفشل وفق WCAG.

  3. 03

    اضبط الألوان حتى تجتاز المستوى الذي تحتاجه.

What the contrast checker does

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.

Why contrast matters

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.

WCAG AA and AAA thresholds

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.

How the ratio is calculated

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).

Runs in your browser

Everything is calculated in your browser, so it is instant and private. Nothing you pick is uploaded anywhere.

الأسئلة الشائعة

ما نسبة التباين التي أحتاجها؟

يتطلب WCAG عند AA نسبة 4.5:1 للنص العادي و3:1 للنص الكبير (18pt أو 14pt عريض). ويتطلب AAA نسبة 7:1 و4.5:1 على التوالي.

ما الذي يُعدّ نصًا كبيرًا؟

النص الذي حجمه 24px (18pt) على الأقل، أو 18.66px (14pt) عندما يكون عريضًا. يُسمح للنص الكبير بنسبة تباين أقل.

كيف تُحسب النسبة؟

من الإضاءة النسبية لكل لون باستخدام معادلة WCAG الرسمية، فتعطي قيمة من 1:1 (بلا تباين) إلى 21:1 (أسود على أبيض).

المصادر

ضمّن هذه الأداة

أضف هذه الأداة إلى موقعك الخاص. انسخ المقتطف أدناه، ويبقى محدّثاً تلقائياً.

<iframe src="https://monu.tools/embed/ar/color-contrast-checker" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

أدوات ذات صلة