Re: [csswg-drafts] [css-color-5][css-images-4] Are these features ready to ship? (#7310)

> I.e. at 100Y we have black text, as the bg gets darker, at 42Y or so, small black text starts getting harder to read, but flipping to white isn't much help either. With a 0Y bg, we have white text, but as the bg gets brighter than 34Y ish, we're loosing readability with small text. So in this 34-42Y range, you could kinda have either black or white text, but you'd want to increase the size or weight so that it's large enough for this lowered contrast range.

Well put.

> At 24px and above you can more or less say "flip point is 37Y"

For those not as familiar, this is the luminance Y on a 0 to 100 scale. So expressed in terms of CSS syntax, with a D65 white, that would be [`color(srgb-linear 0.37 0.37 0.37)`](https://colorjs.io/apps/convert/?color=color(srgb-linear%200.37%200.37%200.37)&precision=4) which is `color(xyz-d65 0.352 0.37 0.403)`,  `oklab(71.8% 0 0)` or `rgb(64.2% 64.2% 64.2%)`

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


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

Received on Thursday, 16 June 2022 11:04:47 UTC