Re:How Far Back in Time Can I Take My Website's Design?
by cratermoon on Thursday September 14, 2023 @11:46AM
(#37510530)
Web accessibility guidelines suggest a minimum contrast ratio of 4.5:1, or for AAA success 7:1. https://webaim.org/articles/contrast/
At 13.5:1, the contrast ratio on your site (#D8DAD7/#0F100F) is a bit much. With a background of #444444 the ratio would be 6.92:1, just shy of a AAA result.
You can check your colors at https://webaim.org/resources/contrastchecker/
Re:How Far Back in Time Can I Take My Website's Design?
by selfsimilar on Thursday September 14, 2023 @12:05PM
(#37510765)
WCAG doesn't define a maximum contrast.
edit:
Interesting discussion about the effect of fonts, dyslexia, and dark-mode wrt "too much contrast" in this UX StackExchange thread. https://ux.stackexchange.com/questions/123504/maximum-contra...
Re:How Far Back in Time Can I Take My Website's Design?
by cratermoon on Thursday September 14, 2023 @12:58PM
(#37511543)
Yes, I know. The question was about what is "dark enough", given a light foreground text. #444444 is dark enough.
Re:How Far Back in Time Can I Take My Website's Design?
by Andrex on Thursday September 14, 2023 @11:52AM
(#37510607)
I'm out of date then, I thought high contrast was desirable.
Edit- also I'm not the OP.
Re:How Far Back in Time Can I Take My Website's Design?
by zamadatix on Thursday September 14, 2023 @12:35PM
(#37511190)
I don't think you're out of date rather the parent is conflating WCAG saying "don't have contrast less than" as if it meant "your contrast should be near".
Re:How Far Back in Time Can I Take My Website's Design?
by cratermoon on Thursday September 14, 2023 @12:59PM
(#37511562)
No, the question was about what background is "dark enough", i.e. sufficiently dark to provide good contrast with the foreground color.
Re:How Far Back in Time Can I Take My Website's Design?
by zamadatix on Thursday September 14, 2023 @01:22PM
(#37511922)
Ah, that is definitely true and I agree with your conclusion about it. I think these two replies were specifically in response to the "At 13.5:1, the contrast ratio on your site (#D8DAD7/#0F100F) is a bit much" portion though, it read as if 13.5:1 was too much contrast instead of just more than the minimum. Sorry for misinterpreting that bit!
Re:How Far Back in Time Can I Take My Website's Design?
by cratermoon on Thursday September 14, 2023 @03:06PM
(#37513333)
Thank you for helping me clarify my point; I definitely could have done better.
Anything #666 or higher is way too light for an aesthetically-pleasing dark background imo.