a11y.world example theme, dark variant fixed
Contrast report for the a11y.world example theme, dark variant fixed terminal theme: dark: 0 of 17 below 4.5:1.
The same dark variant with black and bright black lifted to a mid gray. Every color passes. Every value is measured with the same math as the Color Lab: the WCAG 2 contrast ratio of each color as text on that variant's background.
Open this theme in the Color Lab
Dark variant on #0f1720
All 17 colors reach 4.5:1 on #0f1720. Lowest is 5.2:1.
| Color | Sample | Ratio | Result |
|---|---|---|---|
| foreground | $ ls -la ~/projects | 13.2:1 | Pass |
| black | $ ls -la ~/projects | 5.2:1 | Pass |
| red | $ ls -la ~/projects | 5.6:1 | Pass |
| green | $ ls -la ~/projects | 7.1:1 | Pass |
| yellow | $ ls -la ~/projects | 8.0:1 | Pass |
| blue | $ ls -la ~/projects | 6.1:1 | Pass |
| magenta | $ ls -la ~/projects | 6.7:1 | Pass |
| cyan | $ ls -la ~/projects | 7.3:1 | Pass |
| white | $ ls -la ~/projects | 11.3:1 | Pass |
| bright black | $ ls -la ~/projects | 5.9:1 | Pass |
| bright red | $ ls -la ~/projects | 7.6:1 | Pass |
| bright green | $ ls -la ~/projects | 10.4:1 | Pass |
| bright yellow | $ ls -la ~/projects | 11.2:1 | Pass |
| bright blue | $ ls -la ~/projects | 8.3:1 | Pass |
| bright magenta | $ ls -la ~/projects | 9.2:1 | Pass |
| bright cyan | $ ls -la ~/projects | 10.3:1 | Pass |
| bright white | $ ls -la ~/projects | 16.5:1 | Pass |
Light variant
This theme has no light variant.
What the numbers mean
Terminal text is small, often dim, and read for hours, so every color is held to the 4.5:1 body-text bar. A failing color is not unusable; it is a color that some people cannot read without leaning in. Theme authors usually fix a failing dim color by moving it a little toward the foreground, as the gallery entry shows, and the field note explains why light and dark variants fail in different places.
Values were transcribed from the theme's published palette. If one is wrong, send a correction and the report is regenerated.