Witch of DesignENDE

Tricks · 04

Can they read it?

The opening hours on a website. Use the slider: make the grey as light as you like, as long as it can still be read.

Use the sliders. Then press Measure it.

What she’s measuring

Contrast is the difference in brightness between the text and what’s behind it. It’s written as a ratio, from 1 to 1 for the same colour twice, up to 21 to 1 for black on white.

The web standard, WCAG, asks for at least 4.5 to 1 for text of normal size. Large headlines may go down to 3 to 1, and large here means about 24 px, or about 19 px in bold. It’s a web standard, and it’s a sensible yardstick for a flyer too.

Your eye is a poor judge of this. Pale grey looks elegant on your own screen in a dim room and disappears on a phone in the sun. On white, #767676 passes at 4.54 to 1, and #777777 just misses at 4.48. Colour names tell you nothing either: white on her magenta #E5007E passes at 4.53, white on her cyan #00A7E1 fails at 2.76, and white on her yellow #FFE600 is 1.27, close to invisible.

So the fixes are simple. If the text has to stay white, darken the colour behind it until it holds. On a light colour, make the text dark: near-black on that same yellow reaches 14.8.

She measures with the WCAG formula, and the line is 4.5 to 1.

Next lesson: Is it on one edge?