What to check
The visual parts needed to identify a button, form control, focus indicator, icon, or meaningful graphic generally need at least 3:1 contrast against nearby colors. Do not use color as the only way to communicate a result or category.
Passing examples
These examples meet this check:
- An empty checkbox outline measures at least 3:1 against the page.
- A keyboard focus outline measures at least 3:1 against nearby colors.
- A chart uses text labels as well as different colors.
- An approved result includes the word Approved and a checkmark.
- An information icon is clearly visible against its background.
Failing examples
These examples need attention:
- An unchecked box blends into the page background.
- A focus outline is too faint to see.
- Red and green chart lines have no labels or patterns.
- A colored dot is the only indication of a result.
- An icon needed to complete an action has less than 3:1 contrast.
Helpful note
Text inside controls still needs the text contrast covered in the separate text contrast check.
