A Sketch plugin that calculates the color contrast of two selected layers and evaluates it against the WCAG2.0
Latest commit 9d436e1 Dec 12, 2016 @getflourish committed on GitHub Merge pull request #11 from Arkkimaagi/patch-1
Update to follow WCAG consensus on rounding

Readme.md

Color Contrast Analyser for Sketch

A Sketch plugin that calculates the color contrast of two layers and evaluates it against the WCAG. If only a single layer is selected, than it will calculate with its artboard background color. The test may pass AAA, AA or fail because of a lack of contrast. And even when you do not need to meet those requirements, you can get a feeling for the contrast when you get used to the values. This might help you design accessible content.

Sketch Color Contrast

AA requirements

Color contrast of 4.5:1 or 3.0:1 for large text

AAA requirements

Color contrast of 7.0:1 or 4.5:1 for large text.

Notes