@revk Messing around a bit; #d0d0d0 for text colour causes less ghosting and meets WCAG AA requirements.

All options but #ffffff fail wcag AAA though as that's only 7.68:1 which is just over the threshold (7:1)

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 #d0d0d0
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 #c4c4c4
OR the darkest is darker than #6c6c6c
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 #d0d0d0 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 #d0d0d0, WCAG 2.x contrast math results are not meaningful, and create inaccessible, often unreadable, color pairs.

Actual Accessibility is where it's at.

#darkmode #Webdesign
#a11y #color #webdev
#colour #wcag #apca

Base Color : C09BDB
Mode : monochrome-dark
#8444B2
#985EC3
#AC7CCF
#C09BDB
#D0D0D0
#E5E5E5
Base Color : C7CD93
Mode : monochrome-dark
#8F974A
#A3AC54
#AFB769
#BBC27E
#C7CD93
#C0C0C0
#D0D0D0
#E0E0E0
Base Color : CDBC7E
Mode : monochrome-dark
#907E3B
#AF9947
#C0AC60
#CDBC7E
#BBBBBB
#D0D0D0
Base Color : B5FE55
Mode : monochrome-dark
#77CD06
#93F90E
#AAFB3E
#B6B6B6
#D0D0D0
Base Color : 67CAE4
Mode : monochrome-dark
#218EAA
#27ACCF
#44BDDD
#67CAE4
#BBBBBB
#D0D0D0
Base Color : B7EE88
Mode : monochrome-dark
#74D522
#8AE23F
#A1E864
#B7EE88
#D0D0D0
#E6E6E6