Color Contrast Checker / GUIDE
Review button colors in every interaction state
Review button colors in default, hover and focus states so the label stays readable and keyboard users can see which control is active.
List the states
A button may use different colors when hovered, focused, pressed or disabled. Record each combination rather than checking only its default appearance. On touchscreens, hover may never occur, so the initial state needs to communicate the action clearly.
Check the label and the boundary
Use the contrast checker for the text and its background in each relevant state. Also inspect whether the control is recognizable against the surrounding page. A readable label does not automatically guarantee that the button boundary or focus indicator is sufficiently visible.
Test with a keyboard
Move through the page using the keyboard and confirm that focus is easy to follow. Check light and dark themes separately. If a focus ring disappears against one background, revise the style and test it again in the actual component, not only as isolated color swatches.
Before you finish
- Review all interactive states.
- Check both site themes.
- Follow focus using the keyboard.