A response to Kevin’s Comment, Fatigue is especially caused by excess brightness and low contrast. Making text grayer makes the problem worse.

Hi Kevin,
UXmovement is one of the sites on the internet most known for posting irresponsibly bad, misleading, or incorrect content. You can disregard them and be better off for it.
Kevin said "...the contrast of black on white for body increases eye strain and reduces readability..."
This is not true, especially not for body text. As I stated in the article, it is not contrast that causes fatigue but excess brightness.
For light mode, fatigue is especially caused by excess brightness when coupled with low contrast, not high contrast. Making text grayer makes the problem worse.
The Power of the Dark Mode’s Glare
For dark mode, the situation is similar but different: excess luminance in the text can cause glare, halation, and other issues. In this case, reducing contrast by making the black background lighter can help, and is a decent choice when in a light ambient environment.
In a dark environment with dark mode, reducing the text lightness is usually a better solution. And this is why having two separate dark modes is helpful: one for day use and one for night/dark use.

Medium White
Medium's text is rgba(0,0,0,0.8) when against white becomes #333333 or rgb(51,51,51). Except not in production, where an #fff page background gets a CSS class for text that renders at #242424 or rgb(36,36,36).
And as I've written about elsewhere, for light mode there is no real, functional difference for body text if #000 or #222 ... that is, unless font-smoothing is used. The -webkit-font-smoothing property blends the font into the background, with a significant effect of reducing contrast, because it substantially reduces the apparent weight of the font.
In the example below, the minor stroke of the M in Medium’s body text, there is an increase in spatial frequency resulting in a reduction in contrast sensitivity by as much as an order of magnitude. Apple created -webkit-font-smoothing, but when Apple uses it, they use it with a font that is meaty enough to tolerate the weight reduction.

Medium Gray
The problem increases though, and if I wasn't clear perhaps I should edit the article to hit this point home. In Medium's Fischer-Price-simple system, the author can set the background color but not the text color.
If for example, I want to reduce the eye-blazing #fff to a reasonable #e8e2dd or rgb(232,226,221), a background that does work well with #001 text. But if you do, Medium's system makes their text an even lighter grey than with #fff, at #3d3a36 or rgb(61,58,54) with some elements at #696561 or rgb(105,101,97) . Here’s the example of that again:

This lighter grey text, combined with -webkit-font-smoothing, which cuts the effective font weight substantially, is the bigger problem I'm talking about.
"L* for body text on black..." Use APCA and go for a Lc -75. #ccc works well against black as not too bright, but still good contrast, at least, so long as yuo use a proper font weight.
Again: it's more about the weight or line thickness than the color.
Thank you for reading.
Regarding Black Text was originally published in Tangled Web on Medium, where people are continuing the conversation by highlighting and responding to this story.





