Unity Wcag Contrast Checker by thescottcabs - 1


Implements WCAG for Colour Contrast in a custom Unity Editor Window

Unknown VersionGNU General Public License v3.0Updated 1 year agoCreated on November 27th, 2019
Go to source

WCAG Contrast Checker

This project adds a custom Editor Window into Unity to support the Web Content Accessibility Guidelines for contrast between two colours. You can quickly and easily check if two colours used as foreground and background will pass their ‘AA’ or ‘AAA’ ratings.


Installation is simple as it only contains 1 file. You can either:

  • Clone this project and use it as a base for your next Unity Project.
  • Copy the contents of ColorAccessibilityChecker.cs and paste it into a file of the same name inside your Unity Project.
  • Download and import the Unity Package available on the releases page.


The Editor Window is available under a new Menu on your main toolbar. To open it click on Accessibility -> WCAG Contrast Checker. Use the colour pickers to edit the colours as per your requirements.

The window can be used as a floating window or docked depending on your preference. Examples of using the window to check colours can be seen below.

All Colours Passing AA Colours Passing No Colours Passing Random Colours

Show all projects by thescottcabs