Myndex 🔵 · @Myndex
134 followers · 98 posts · Server techhub.social

For the "it's the law tho" crowd, here's a fix:

APCA to WCAG 2 Backwards Compatibility Chart

For 4.5:1

Backwards 4.5:1 is achieved when:

IF the lightest color is darker than
OR the darkest is darker than #595959
THEN Lc ±60 exceeds 4.5:1

ELSE Lc 72 or Lc -77 exceeds 4.5:1 in all cases

---
For 3:1

Backwards 3:1 is achieved when:

IF the lightest color is darker than
OR the darkest is darker than
THEN Lc ±45 exceeds 3:1

ELSE Lc 57 or Lc -63 exceeds 3:1 in all cases

---
Here's the implication:

If both colors are darker than or at least one is darker than #595959:

Then it's not a matter of "can you?" use APCA, it's a matter of you *should* use APCA.

For color pairs darker than , WCAG 2.x contrast math results are not meaningful, and create inaccessible, often unreadable, color pairs.

Actual Accessibility is where it's at.



#d0d0d0 #c4c4c4 #6c6c6c #darkmode #webdesign #a11y #color #webdev #colour #WCAG #APCA

Last updated 1 year ago

palettes · @palette
634 followers · 35088 posts · Server botsin.space

Base Color : 35A9FF
Mode : monochrome-light






#5a5a5a #6c6c6c #7f7f7f #26A1FC #49B0FD #6DC0FE #90D0FF

Last updated 2 years ago

palettes · @palette
615 followers · 35018 posts · Server botsin.space