Re: [csswg-drafts] [css-color-5] color-contrast() with automatic continuous lightness adjustment (#5153)

Hi @LeaVerou and @svgeesus 

This is an old issue, but I see it's still open, so: 

In WCAG 2.x, as a color pair gets darker, the reported contrast becomes increasingly inaccurate, so I am concerned that "automated" contrast methods using WCAG 2.x math could have negative consequences, if there is no designer watching to manually boost the contrast.

I have a couple Gists with examples you might like to see on this:

[**Orange You Wondering About Contrast?**](https://gist.github.com/Myndex/1dadb6dcac596f1cd7a5686a076f697f#orange-you-wondering-about-contrast)

[**The Lighter Side of Dark Backgrounds**](https://gist.github.com/Myndex/c30dba273aa5eca426ad9f5200917c9d)


## Constant Contrast in APCA

On the subject of constant contrast within a range of lightnesses, at the SAPC site there is "Research Mode", and in that mode, select the "Constant Contrast" radio button. At the far left of the control slider is a numeric entry for the target contrast, and the slider allows you to adjust the lightness/darkness. The light-green range on the slider is the "constant contrast range", and the other ranges indicate when either the hi or lo color is at max `#ff or #00`, or the dark color is below 4.0Y or so.  The slider control is in the middle between the hi and low color.

Here's the SAPC research version link: https://www.myndex.com/SAPC/

Lemme know if questions...


Thank you


Andy


-- 
GitHub Notification of comment by Myndex
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5153#issuecomment-787796386 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 1 March 2021 09:21:21 UTC