Skip to content

Github Contrast

Github Contrast is a dark terminal color scheme with a #111111 background and #ffffff text (18.9:1 contrast)

Get config
Background
#111111
Foreground
#ffffff
Text contrast
18.88:1AAA
Accent contrast
8.44:1min 2.87
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ ls -la
drwxr-xr-x 12 ada staff 384 Oct 30 09:12 .
drwxr-xr-x 8 ada staff 256 Oct 29 18:40 ..
-rw-r--r-- 1 ada staff 1.2K Oct 30 09:10 .gitignore
drwxr-xr-x 5 ada staff 160 Oct 30 09:12 src
drwxr-xr-x 3 ada staff 96 Oct 28 11:02 public
-rwxr-xr-x 1 ada staff 2.4K Oct 30 08:57 build.sh
-rw-r--r-- 1 ada staff 4.1K Oct 30 09:01 package.json
lrwxr-xr-x 1 ada staff 18 Oct 27 14:33 node_modules -> ../cache/modules
-rw-r--r-- 1 ada staff 48K Oct 26 10:15 logo.png
-rw-r--r-- 1 ada staff 9.8M Oct 25 21:47 backup.tar.gz
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ git status
On branch main
Your branch is ahead of 'origin/main' by 2 commits.
Changes to be committed:
new file: src/theme.css
modified: README.md
Changes not staged for commit:
modified: src/app.tsx
deleted: legacy/colors.js
Untracked files:
notes.md
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯

Github Contrast configs

16 formats, all from one palette

Github Contrast

Save to ~/.config/ghostty/themes/Github Contrast, then set theme = Github Contrast in config or config.ghostty

More Ghostty themes
Raw file
# Theme: Github Contrast (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/en/schemes/github-contrast?format=ghostty

palette = 0=#1e1e1e
palette = 1=#ba0e2e
palette = 2=#7385bc
palette = 3=#66c4c4
palette = 4=#e53d67
palette = 5=#cccccc
palette = 6=#5a6fad
palette = 7=#ffffff
palette = 8=#373737
palette = 9=#e61f44
palette = 10=#b8c1dd
palette = 11=#b0e0e0
palette = 12=#f197ad
palette = 13=#ffffff
palette = 14=#9eaacf
palette = 15=#ffffff
background = #111111
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #ffffff
selection-background = #008080
selection-foreground = #ffffff

Github Contrast palette

Palette color values and WCAG contrast ratios against the background
ColorSlotHEXRGBHSLOKLCHContrast
Backgroundbackground#111111rgb(17 17 17)hsl(0 0% 7%)oklch(17.8% 0.000 0)—
Foregroundforeground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.88 AAA
Cursorcursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.88 AAA
Cursor textcursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.88 AAA
Selectionselection#008080rgb(0 128 128)hsl(180 100% 25%)oklch(54.3% 0.093 194.8)3.96 AA Large
Selection textselectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.88 AAA
Blackcolor0#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)1.13 Fail
Redcolor1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.87 Fail
Greencolor2#7385bcrgb(115 133 188)hsl(225 35% 59%)oklch(62.4% 0.086 269.9)5.22 AA
Yellowcolor3#66c4c4rgb(102 196 196)hsl(180 44% 58%)oklch(76.3% 0.089 195.4)9.22 AAA
Bluecolor4#e53d67rgb(229 61 103)hsl(345 76% 57%)oklch(62.0% 0.204 11.1)4.67 AA
Magentacolor5#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)11.76 AAA
Cyancolor6#5a6fadrgb(90 111 173)hsl(225 34% 52%)oklch(55.2% 0.100 268.8)3.88 AA Large
Whitecolor7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.88 AAA
Bright Blackcolor8#373737rgb(55 55 55)hsl(0 0% 22%)oklch(33.7% 0.000 0)1.59 Fail
Bright Redcolor9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.18 AA Large
Bright Greencolor10#b8c1ddrgb(184 193 221)hsl(225 35% 79%)oklch(81.3% 0.041 271.4)10.53 AAA
Bright Yellowcolor11#b0e0e0rgb(176 224 224)hsl(180 44% 78%)oklch(87.3% 0.050 196.3)13.11 AAA
Bright Bluecolor12#f197adrgb(241 151 173)hsl(345 76% 77%)oklch(77.4% 0.111 4.1)8.79 AAA
Bright Magentacolor13#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.88 AAA
Bright Cyancolor14#9eaacfrgb(158 170 207)hsl(225 34% 72%)oklch(74.1% 0.055 270.9)8.19 AAA
Bright Whitecolor15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.88 AAA

About Github Contrast

Github Contrast is a dark terminal color scheme built on a neutral #111111 background with #ffffff as the default foreground. Body text reaches a 18.88:1 WCAG contrast ratio (AAA), while the 12 ANSI accent colors average 8.44:1 (minimum 2.87:1).

Its palette is moderately saturated, anchored by #ba0e2e red, #7385bc green, #e53d67 blue, and #cccccc magenta. Part of the GitHub theme family.

Ready-to-use configs can be exported for Ghostty, iTerm2, Kitty, Alacritty, WezTerm, Windows Terminal, Warp, foot, Rio, XFCE4 Terminal, and Xresources, along with VS Code and Zed integrated terminals, CSS variables, Tailwind CSS, and JSON.

Schemes similar to Github Contrast

Source: Rainglow (MIT)