Terminal theme reports

GitHub

Contrast report for the GitHub terminal theme: dark: 2 of 17 below 4.5:1; light: 4 of 17 below 4.5:1.

GitHub VS Code theme by GitHub (primer/github-vscode-theme) · MIT · source

Dark Default and Light Default terminal colors. Transcribed from the published theme; send a correction if a value is off. 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 #0d1117

2 of 17 colors fall below 4.5:1 on #0d1117: black, bright black.

Each color as text on this variant's background. Terminal text is small and often dim, so 4.5:1 is the bar.
ColorSampleRatioResult
foreground$ ls -la ~/projects16.0:1Pass
black$ ls -la ~/projects2.3:1Below 4.5:1
red$ ls -la ~/projects7.5:1Pass
green$ ls -la ~/projects7.4:1Pass
yellow$ ls -la ~/projects7.5:1Pass
blue$ ls -la ~/projects7.5:1Pass
magenta$ ls -la ~/projects7.5:1Pass
cyan$ ls -la ~/projects9.1:1Pass
white$ ls -la ~/projects9.6:1Pass
bright black$ ls -la ~/projects4.1:1Below 4.5:1
bright red$ ls -la ~/projects9.7:1Pass
bright green$ ls -la ~/projects9.8:1Pass
bright yellow$ ls -la ~/projects9.7:1Pass
bright blue$ ls -la ~/projects9.7:1Pass
bright magenta$ ls -la ~/projects9.7:1Pass
bright cyan$ ls -la ~/projects10.7:1Pass
bright white$ ls -la ~/projects17.4:1Pass

Light variant on #ffffff

4 of 17 colors fall below 4.5:1 on #ffffff: bright blue, bright magenta, bright cyan, bright white.

Each color as text on this variant's background. Terminal text is small and often dim, so 4.5:1 is the bar.
ColorSampleRatioResult
foreground$ ls -la ~/projects14.7:1Pass
black$ ls -la ~/projects14.7:1Pass
red$ ls -la ~/projects5.4:1Pass
green$ ls -la ~/projects7.4:1Pass
yellow$ ls -la ~/projects12.4:1Pass
blue$ ls -la ~/projects5.2:1Pass
magenta$ ls -la ~/projects5.0:1Pass
cyan$ ls -la ~/projects4.9:1Pass
white$ ls -la ~/projects4.5:1Pass
bright black$ ls -la ~/projects6.4:1Pass
bright red$ ls -la ~/projects7.9:1Pass
bright green$ ls -la ~/projects5.1:1Pass
bright yellow$ ls -la ~/projects9.6:1Pass
bright blue$ ls -la ~/projects3.4:1Below 4.5:1
bright magenta$ ls -la ~/projects3.2:1Below 4.5:1
bright cyan$ ls -la ~/projects3.6:1Below 4.5:1
bright white$ ls -la ~/projects3.0:1Below 4.5:1

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.