You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, for main content, though there are issues worth discussing for both light and dark mode.
This is spawned from a thread in CSS.
Light mode first
With a bright background, #ffffff can promote eye blistering fatigue, depending on how bright the display is relative to the eye's adaptation state. Considering that many modern devices easily exceed 1000 nits, visual fatigue is an ever-present problem.
One aspect of fatigue results from viewing high luminance relative to adaptation. If it is caused by a greater bleaching of cone opsins than can be replenished, aka the snow blind effect (this is not actual photokeratitis which is exposure to excess UV, but a loss in sensitivity due to high luminance), or from blue or HEV light, is a subject of continuing study.
There are some rather unfortunately misunderstandings floating around the internet suggesting that text be light grey, or that you don't want "too much contrast". Most of these ideas are bunk. One in particular seems to be sourced from an 2018 article at UXMovement, which is a source of much false or misleading information.
In light mode, text should ideally be black. Feelings of "too much contrast" are due to too much luminance. This problem led to the following:
The Paper Reading Experience
Something we've been working on, The Paper Reading Experience, is a design guideline for light mode, intended to emulate the nature of reading black ink on diffuse white paper, but presented on a self-illuminated display.
The problem with just using an off white like #eeeeee is that #eeeeee will simply become the peak adaptation level within a minute or two, and therefore no different than #ffffff.
Click for full size
So, to make an "off white" background useful, there needs to be a full white #ffffff in the peripheral vision in order to anchor the adaptation state to the peak white of the display.
The APC-Readability Criterion site uses this technique. (note this is a draft, and the responsive aspect of the site is a little buggy on cell phones.)
Unlike light mode, there is a level of "too much contrast" in dark mode because of the darker adaptation resulting in wider pupils, and the nature of glare, scatter particularly of point sources, and especially for those with astigmatism. Halation is more problematic in dark mode than in light mode.
We are evaluating a max contrast for dark mode, testing $L^c\ -90$ for text smaller than 24px, and $L^c\ -85$ for larger/bolder text. Thread to discuss maximum contrast.
How dark should the background be in dark mode? IMO that is relative to the surrounding environment. At night, in a dark environment, a full black BG could be fine, provided the text is also dimmer. For a #000000 BG, text is ideally between #cccccc and #e4e4e4.
A lighter dark mode BG such as #444444 and #f4f4f4 might be preferred by some for a lighter environment.
Examples:
Summary
For SDR displays
In light mode, text is ideally full black #000, but the background is better as off white, 80%-85%, with peripheral elements at #fff to anchor adaptation.
In dark mode, text brightness needs to be relative to the background, and the background is ideally relative to the larger surround.
Currently testing $L^c\ -85$ to $L^c\ -90$ as maximums for dark mode text.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Regarding slightly off white:
Yes, for main content, though there are issues worth discussing for both light and dark mode.
This is spawned from a thread in CSS.
Light mode first
With a bright background,
#ffffff
can promote eye blistering fatigue, depending on how bright the display is relative to the eye's adaptation state. Considering that many modern devices easily exceed 1000 nits, visual fatigue is an ever-present problem.One aspect of fatigue results from viewing high luminance relative to adaptation. If it is caused by a greater bleaching of cone opsins than can be replenished, aka the snow blind effect (this is not actual photokeratitis which is exposure to excess UV, but a loss in sensitivity due to high luminance), or from blue or HEV light, is a subject of continuing study.
There are some rather unfortunately misunderstandings floating around the internet suggesting that text be light grey, or that you don't want "too much contrast". Most of these ideas are bunk. One in particular seems to be sourced from an 2018 article at UXMovement, which is a source of much false or misleading information.
In light mode, text should ideally be black. Feelings of "too much contrast" are due to too much luminance. This problem led to the following:
The Paper Reading Experience
Something we've been working on, The Paper Reading Experience, is a design guideline for light mode, intended to emulate the nature of reading black ink on diffuse white paper, but presented on a self-illuminated display.
The problem with just using an off white like
#eeeeee
is that#eeeeee
will simply become the peak adaptation level within a minute or two, and therefore no different than#ffffff
.Click for full size
So, to make an "off white" background useful, there needs to be a full white
#ffffff
in the peripheral vision in order to anchor the adaptation state to the peak white of the display.The APC-Readability Criterion site uses this technique. (note this is a draft, and the responsive aspect of the site is a little buggy on cell phones.)
Background: 80% Edge: 100%
Earlier Experiments still up
Comments are welcome at Paper Reading Experience Discussion
Dark Mode
Unlike light mode, there is a level of "too much contrast" in dark mode because of the darker adaptation resulting in wider pupils, and the nature of glare, scatter particularly of point sources, and especially for those with astigmatism. Halation is more problematic in dark mode than in light mode.
We are evaluating a max contrast for dark mode, testing$L^c\ -90$ for text smaller than 24px, and $L^c\ -85$ for larger/bolder text. Thread to discuss maximum contrast.
How dark should the background be in dark mode? IMO that is relative to the surrounding environment. At night, in a dark environment, a full black BG could be fine, provided the text is also dimmer. For a
#000000
BG, text is ideally between#cccccc
and#e4e4e4
.A lighter dark mode BG such as
#444444
and#f4f4f4
might be preferred by some for a lighter environment.Examples:
Summary
#000
, but the background is better as off white, 80%-85%, with peripheral elements at#fff
to anchor adaptation.Beta Was this translation helpful? Give feedback.
All reactions