Nakodo has 76 public pages, all of them built from the same colour tokens. I have written about the 866 lines of CSS those tokens live in and about the design report that chose them , but I had never actually measured a single contrast ratio. I just assumed the palette was fine, which is the same as not knowing.
So I measured every piece of text on all 76 pages. Here is what came back.
13,403 text runs, of which 15 are invisible on purpose
2,745 distinct combinations of colour, background, size, weight and tag
25 distinct foreground-on-background pairs in the whole site
13,386 of 13,388 visible runs pass WCAG AA
9,257 of them, 69.1 per cent, reach AAA
one failure, at 3.48:1, on a 12px badge that appears twice on the home page
Getting a real sRGB value out of the browser
The first problem is that nothing in this app is written in a colour space you can do arithmetic on.…