by sssilver · 4y ago · 0 comments
Correct, nothing is, and your #000000 won’t be either once it’s shown on a physical screen.
[1] https://news.ycombinator.com/item?id=31421666
[2] https://news.ycombinator.com/item?id=31420938 (397 points by marban 1 day ago, 376 comments) - https://tangledweb.xyz/please-stop-using-grey-text-3d3e71acf...
There’s a massive difference between the contrast of that outdoors on a shitty panel (where you’re lucky to get 5:1 contrast) and indoors in a light-controlled environment (where 200:1 contrast is easily reached).
And yes, that 200:1 contrast can get painful, especially if you’ve got astigmatism.
There are knobs for these on most displays.
If you bought a monitor at any point in the past 18 years that can’t show enough contrast, that’s on you.
What you described here is greatly related to The Gell-Mann Amnesia.
The thing about pure black isn't that it's unnatural, but that when paired with white its contrast can actually be uncomfortable and less accessible than a slightly toned down color combination (especially on full brightness).
Then turn down the brightness. Pure black/white should never be uncomfortable, if it is then your monitor needs adjusted. In fact I suspect a lot of this stupid low-contrast trend comes from designers who don't know that and are trying to compensate for it in software.
Monitors come with the brightness set ridiculously high so they'll look good in a showroom (and possibly to make the backlight wear out faster, but that's another rant...), but it's definitely not where normal use should be, unless you're in direct sunlight.
On all my computers? And my phone? And my tablet? And my...
You could say the same about sites where the body text is set unreadably small. "Just zoom in!" It does not persist across devices, sessions, users etc the way a well-designed site would.
Can you find a citation for that statement? WCAG 2.1[0] mentions minimum contrast, but not maximum. The success criterion page itself is written in #000 on #fff. :)
https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum...
However, I agree with the generell sentiment that in modern web design, contrast is often too low.
A lot of high contrast combinations are less accessible and even if it doesn't make the text illegible, too much contrast is going to be a strain on the eyes for most people.
Generally, WCAG AA or AAA is enough for most people and you hit that already with #555 on a white background. Something like #1a1a1a is close to the darkest I'd use in most cases.
As far as I can tell based on what I've read, there can be a conflict between users with accessibility needs, where you may want as high contrast as possible, and typical users, where excess contrast may impair readability in some cases. The WCAG minimums are within the realm of reasonable for both sets of users though, so there isn't really an excuse not to meet those minimums.
For those with fuzzy vision (obviously an extremely common situation), contrast is reduced naturally when the black and white bleed into each other. Reducing contrast harms those users, belying your "actually less accessible" assertion.
But hey, at least it had some contrast I guess?
That being said, it's easy using the prefers-contrast CSS property to override that to #000000 for people who are hard of sight.
It's supported by edge, safari, chrome, opera but it's a bit finnicky in Firefox.
Dark greys didn't have this effect.
I suspect a lot of these "dark grey text" conventions may be related to this hardware issue.
Edit: note this is per-subpixel, so you need to set some value in each color channel.
this comment reminds of the statement made by Jobs about the round corners in the physical world.
;)