by chrismorgan · 6y ago · 0 comments
For good figures, you need a non-linear perceptual scale, and to consider hue, saturation, ambient lighting (meaning both lighting in the room—good luck on that one!—and on the rest of the surface you control), and the nature of illuminated displays of various kinds. And probably other things too.
https://github.com/w3c/wcag/issues/695 is a good discussion of the issues and possible solutions, with https://www.myndex.com/SAPC/ demonstrating the work in progress. As you can see, it’s very much a research area.
In the short term, if you want to use the WCAG contrast ratio: if you’re using a light background, the 3 and 4.5 recommendations are probably OK, but if you’re using a dark background, bump up your requirements a fair way: go for at least one, probably two (so maybe 4.5 and 6 instead of 3 and 4.5).
One other thing that people routinely completely ignore in colour contrast matters is font weight. If the font is thinner, the contrast needs to be stronger to balance it out. I’m pleased that the SAPC/APCA work that’s happening takes this into account.
Thanks for the links, interesting discussion to follow up on