Practical ‘lightest’ shade of grey for contrast with white

I often use a light shade of grey such as rgb(242,242,242) in my designs to provide a subtle contrast to white, e.g. for the background of alternating rows in a table.

I can easily distinguish between this grey and white on my display (a 27″ 4K) but on other displays this is not always the case, which reflects badly on my designs and could impact user experience.

Reasons might include badly calibrated / poor quality displays.

Assuming all accessibility standards have been met, is there a ‘lightest’ shade of grey that:

  • Provides a contrast with a white background
  • Does not significantly impact the legibility of dark foreground text
  • Will be reliably displayed for most users under normal conditions

Do disabled buttons still need to be contrast compliant for accessibility?

Very related to this question: Accessible Disabled State but that is about how to style disabled buttons to make them accessibility compliant, but my question is slightly different.

Is it actually an accessibility requirement for disabled features to be contrast compliant?

You are not hiding functionality from visually impaired people by making it grey on grey because the feature is unavailable to everyone, so they are not missing out on features because of this. Yes, it’s always better for everything to be contrast compliant, but that might not be relevant here.

The situation is this – we have to disable features of our web application when the system is undergoing scheduled maintenance. Therefore we don’t want to remove the buttons altogether because we want the user to know that the feature is only temporarily unavailable. Additional messaging is provided on the page stating that some features are unavailable.

We designed a standard inactive state button (dark grey text on lighter grey button background) but it has come back to us with the concern that it may be failing DDA compliance. However I disagree with that concern for the reasons I state above. Am I mistaken, or is it OK to have grey-on-grey buttons for such situations?

Note: I’m not looking for any alternative solutions (leave that to the linked questions) my query is specifically about whether or not this is an accessibility concern.

Why color contrast is important and example of current online companies using it?

Can someone give me examples of color contrast for accessibility which big companies websites use?

I am only able to find 2 live website examples—————————

I am doing toggle switch contrast switch for my e-commerce website but was not able to find any other e-commerce website doing so.

Can someone give me a reference to this color contrast which other websites are using it?

I want a reference for those sites which actually uses this feature

Button passes contrast test however button’s background and div’s background are low contrast

I have been going back and forth with design about this. I think there should be a contrast with the button and the div that holds the button, however, design says there is no rule about that. I try to research about this topic all around the internet and this is my last resource to find out about this. Here is an image that shows what I am talking about. enter image description here

The button color and the text are accessible, however the background of the div and the background of the text have low resolution.

Please help and thank you in advance:


Should websites provide high contrast or alternate schemes?

With regards to Accessibility, many sites focus on font-size adjustments either the browser’s / OS’s native controls or via a control on the page (usually denoted by 3 capital A’s of varying size).

However, there are some instances where a contrast adjustment may be needed. Webpages can be affected by the OS’s high contrast mode (mentioned here with screen shot); however, depending on the stylesheet, this may end up being a mess.

Because of this, should websites that have higher accessibility requirements provide options for the visitor to select a style / color scheme that provides a higher contrast than the default? If so, should there be varying degrees or just normal and the extreme high contrast mode that’s look like the OS’s version?

iMac 2011 27″ Screen, Contrast Gone

iMac 27″ from 2011, OS El Capitain 10.11.6. Tried to increase screen contrast in Accessibility pref. pane, but instead got almost no contrast and very light colors! Can hardly see the grid in Excel and it is even worse in the Calendar app where there are no visible lines separating the dates. Under Display Profiles for this Display there are 2 named iMac. I can see that they are not identical.One says iMac-48812E13-8A483-7A3C-C675A9008885.icc, the otheriMac-00000610-0000-A007-0000-00000428001C0.icc Which one should I use and how do I select it? Anyone knows how to get the previous setting back?

The display contrast on my new iMac (the Retina 4k 21.5″ model) is too high. Can it be lowered past the lowest setting?

Just looking at my new iMac was giving me a headache: the “Retina” display was so high-contrast, even at the lowest contrast setting, that it was searing my retinas.

Is there a way to reduce the contrast past the lowest keyboard setting?

WCAG 2.1 contrast issue for Google/Angular Material Design

I’m relatively new to accessibility compliance, but my research has found a confusing anomaly: The Angular Material buttons, links, etc are apparently WCAG compliant, yet do not seem to have the required focus state contrast to pass. So I’m a little perplexed.

I’m talking specifically about the change in color when (for example) a button receives focus. From what I can tell from the WCAG it should have at least a 3:1 contrast ratio, but Material design elements are nowhere close to that.

For reference, here are some links to the Angular Material design:

Thanks in advance for the help.