Color Contrast जाँच
WCAG 2.x contrast जाँचें, text preview व APCA Lc देखें और पास होने वाला color पाएँ।
इस्तेमाल कैसे करें
Foreground और background colors को Hex, rgb(), hsl() या oklch() में डालें, या native color pickers इस्तेमाल करें। Preview और WCAG 2.x ratio तुरंत बदलते हैं। अलग cards normal text, large text और UI components के AA व AAA results दिखाते हैं। Swap foreground और background उलटता है। Normal text AA से कम हो तो suggestion केवल HSL lightness बदलकर सबसे नज़दीकी passing foreground खोजता है। APCA Lc सिर्फ जानकारी के लिए है, क्योंकि APCA अभी draft model है।
आम सवाल
WCAG में कितना contrast ratio चाहिए?
WCAG 2.x AA में normal text के लिए 4.5:1 और large text के लिए 3:1 चाहिए। AAA में क्रमशः 7:1 और 4.5:1 चाहिए। Non-text UI components का AA threshold 3:1 है।
White background पर #777 की चर्चा क्यों होती है?
White पर #777777 करीब 4.48:1 है, जो normal text के 4.5:1 AA threshold से बस कम है, लेकिन large text और UI components के लिए पास है।
क्या APCA मौजूदा WCAG conformance का हिस्सा है?
नहीं। यह टूल तुलना के लिए APCA 0.0.98G-style Lc दिखाता है, लेकिन WCAG 2.x pass badges normative relative-luminance ratio इस्तेमाल करते हैं।