Terminal theme reports

Gruvbox

Contrast report for the Gruvbox terminal theme: dark: 6 of 17 below 4.5:1; light: 11 of 17 below 4.5:1.

Gruvbox by Pavel Pertsev and contributors · MIT · source

Dark and light variants with different sixteen-color sets. Transcribed from the published palette. 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 #282828

6 of 17 colors fall below 4.5:1 on #282828: black, red, blue, magenta, bright black, bright red.

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 ~/projects10.7:1Pass
black$ ls -la ~/projects1.0:1Below 4.5:1
red$ ls -la ~/projects2.7:1Below 4.5:1
green$ ls -la ~/projects4.8:1Pass
yellow$ ls -la ~/projects5.9:1Pass
blue$ ls -la ~/projects3.5:1Below 4.5:1
magenta$ ls -la ~/projects3.5:1Below 4.5:1
cyan$ ls -la ~/projects4.6:1Pass
white$ ls -la ~/projects5.3:1Pass
bright black$ ls -la ~/projects4.0:1Below 4.5:1
bright red$ ls -la ~/projects4.3:1Below 4.5:1
bright green$ ls -la ~/projects7.1:1Pass
bright yellow$ ls -la ~/projects8.7:1Pass
bright blue$ ls -la ~/projects5.5:1Pass
bright magenta$ ls -la ~/projects5.4:1Pass
bright cyan$ ls -la ~/projects7.0:1Pass
bright white$ ls -la ~/projects10.7:1Pass

Light variant on #fbf1c7

11 of 17 colors fall below 4.5:1 on #fbf1c7: black, green, yellow, blue, magenta, cyan, white, bright black, bright green, bright yellow, bright cyan.

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 ~/projects10.2:1Pass
black$ ls -la ~/projects1.0:1Below 4.5:1
red$ ls -la ~/projects4.8:1Pass
green$ ls -la ~/projects2.7:1Below 4.5:1
yellow$ ls -la ~/projects2.2:1Below 4.5:1
blue$ ls -la ~/projects3.7:1Below 4.5:1
magenta$ ls -la ~/projects3.7:1Below 4.5:1
cyan$ ls -la ~/projects2.8:1Below 4.5:1
white$ ls -la ~/projects4.3:1Below 4.5:1
bright black$ ls -la ~/projects3.2:1Below 4.5:1
bright red$ ls -la ~/projects7.6:1Pass
bright green$ ls -la ~/projects4.3:1Below 4.5:1
bright yellow$ ls -la ~/projects3.3:1Below 4.5:1
bright blue$ ls -la ~/projects5.8:1Pass
bright magenta$ ls -la ~/projects5.9:1Pass
bright cyan$ ls -la ~/projects4.4:1Below 4.5:1
bright white$ ls -la ~/projects10.2:1Pass

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.