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
659 followers · 35191 posts · Server botsin.space

Base Color : F73662
Mode : monochrome-dark






#a30a2d #c60c36 #e90d3f #f42756 #a0a0a0 #b2b2b2 #c4c4c4

Last updated 2 years ago

palettes · @palette
633 followers · 35082 posts · Server botsin.space

Base Color : 7AC2B9
Mode : monochrome-dark




#3E7F77 #4DA298 #69B9AF #ababab #c4c4c4

Last updated 2 years ago