الانتقال إلى المحتوى الرئيسي

مدقق تباين الألوان

أدوات المطورين

نسب WCAG AA/AAA عبر السطوع النسبي

عرض سريع للإجابة

Color Contrast Checker: WCAG AA/AAA ratios via relative luminance. Color Contrast Checker uses standard developer formulas to compute accurate results instantly.

مثال على النص الأساسي Sample text
عنوان كبير Large heading
نسبة التباين
7.00:1
AAA
AA 正文 4.5:1
اجتياز
AA 大字 3:1
اجتياز
AAA 正文 7:1
اجتياز
AAA 大字 4.5:1
اجتياز

تحديد التباين

Fail
فقط أحرف AA الكبيرة
AA
AAA

7.00:1 — AAA

مقارنة عتبات WCAG 2.1

درجةالنص الأساسيحروف كبيرةالتقييم الحالي
AA≥ 4.5:1≥ 3:1اجتياز
AAA≥ 7:1≥ 4.5:1اجتياز

الحروف الكبيرة = ≥18pt (24px) أو ≥14pt (18.7px) عريضة. واجهة المستخدم غير النصية (مربع التركيز، حدود عنصر التحكم) تحتاج إلى نسبة 3:1.

خطوات الحساب

  1. 1Relative luminance: fg = 0.0999, bg = 1.0000 (sRGB → linear → 0.2126R+0.7152G+0.0722B)
  2. 2التباين = (الأكثر سطوعًا + 0.05) / (الأكثر قتامة + 0.05) = 7.00:1
  3. 3WCAG 2.1: المستوى AA يتطلب نسبة 4.5:1 للنص العادي و 3:1 للنص الكبير (≥18 نقطة أو 14 نقطة عريض)؛ المستوى AAA يتطلب 7:1 / 4.5:1.
حوالي 8% من الرجال لديهم اضطراب في رؤية الألوان الأحمر والأخضر — لا تنقل المعلومات بالألوان فقط، استخدم أيقونات / نصوص معاً. متطلبات التباين تنطبق أيضاً على حدود مكونات واجهة المستخدم (WCAG 1.4.11: يجب أن يكون التباين بين مؤشر التركيز وحافة التحكم 3:1).

هل هذه الأداة مفيدة لك؟

كيفية الاستخدام

  1. Paste or type content: drop code/text into the Color Contrast Checker or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

النقاط الأساسية

  • Color Contrast Checker is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: WCAG AA/AAA ratios via relative luminance.
  • Results come with formulas and reference tables so you can verify every number.

المبادئ والمعادلات

Color Contrast Checker formula

Color Contrast Checker uses standard developer formulas to compute accurate results instantly.

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

How do I use the Color Contrast Checker?
Open the page and fill in the input fields — results update automatically. WCAG AA/AAA ratios via relative luminance.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

الأدوات ذات الصلة

أدلة ذات صلة

المصدر والتحديثات

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

آخر تحديث:

تم مراجعة المعادلات والمحتويات في هذه الصفحة من قبل فريق YiJianSuan، وهي للمرجع التعليمي فقط. يرجى الاعتماد على المصادر الرسمية في العمليات الفعلية.

يتم صيانة المحتوى ومراجعته بشكل دوري من قبل فريق التحرير في YiJianSuan، ويمكن الاطلاع على عمليات التحديث والمراجعة فيالسياسات التحريرية.

استشهد بهذه الصفحة: YiJianSuan. مدقق تباين الألوان[EB/OL]. https://www.yijiansuan.com/ar/c/dev/contrast-check

النتائج التي يقدمها هذا الأداة للمرجع فقط ولا تشكل أي نصيحة مهنية، يرجى الاعتماد على الحسابات الرسمية.