Skip to content

Sonokai

Sonokai is a dark terminal color scheme with a #2c2e34 background and #e2e2e3 text (10.5:1 contrast)

Get config
Background
#2c2e34
Foreground
#e2e2e3
Text contrast
10.48:1AAA
Accent contrast
6.60:1min 4.52
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
❯

Sonokai configs

16 formats, all from one palette

Sonokai

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

More Ghostty themes
Raw file
# Theme: Sonokai (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/en/schemes/sonokai?format=ghostty

palette = 0=#181819
palette = 1=#fc5d7c
palette = 2=#9ed072
palette = 3=#e7c664
palette = 4=#76cce0
palette = 5=#b39df3
palette = 6=#f39660
palette = 7=#e2e2e3
palette = 8=#7f8490
palette = 9=#fc5d7c
palette = 10=#9ed072
palette = 11=#e7c664
palette = 12=#76cce0
palette = 13=#b39df3
palette = 14=#f39660
palette = 15=#e2e2e3
background = #2c2e34
foreground = #e2e2e3
cursor-color = #e2e2e3
cursor-text = #2c2e34
selection-background = #414550
selection-foreground = #e2e2e3

Sonokai palette

Palette color values and WCAG contrast ratios against the background
ColorSlotHEXRGBHSLOKLCHContrast
Backgroundbackground#2c2e34rgb(44 46 52)hsl(225 8% 19%)oklch(30.2% 0.011 271.0)—
Foregroundforeground#e2e2e3rgb(226 226 227)hsl(240 2% 89%)oklch(91.3% 0.001 286.4)10.48 AAA
Cursorcursor#e2e2e3rgb(226 226 227)hsl(240 2% 89%)oklch(91.3% 0.001 286.4)10.48 AAA
Cursor textcursorText#2c2e34rgb(44 46 52)hsl(225 8% 19%)oklch(30.2% 0.011 271.0)1.00 Fail
Selectionselection#414550rgb(65 69 80)hsl(224 10% 28%)oklch(39.1% 0.019 269.6)1.42 Fail
Selection textselectionText#e2e2e3rgb(226 226 227)hsl(240 2% 89%)oklch(91.3% 0.001 286.4)10.48 AAA
Blackcolor0#181819rgb(24 24 25)hsl(240 2% 10%)oklch(20.9% 0.002 286.2)1.31 Fail
Redcolor1#fc5d7crgb(252 93 124)hsl(348 96% 68%)oklch(69.4% 0.194 12.0)4.52 AA
Greencolor2#9ed072rgb(158 208 114)hsl(92 50% 63%)oklch(80.1% 0.134 131.7)7.57 AAA
Yellowcolor3#e7c664rgb(231 198 100)hsl(45 73% 65%)oklch(83.6% 0.123 91.0)8.18 AAA
Bluecolor4#76cce0rgb(118 204 224)hsl(191 63% 67%)oklch(79.8% 0.088 214.4)7.42 AAA
Magentacolor5#b39df3rgb(179 157 243)hsl(255 78% 78%)oklch(74.8% 0.123 295.0)5.84 AA
Cyancolor6#f39660rgb(243 150 96)hsl(22 86% 66%)oklch(75.8% 0.132 49.9)6.04 AA
Whitecolor7#e2e2e3rgb(226 226 227)hsl(240 2% 89%)oklch(91.3% 0.001 286.4)10.48 AAA
Bright Blackcolor8#7f8490rgb(127 132 144)hsl(222 7% 53%)oklch(61.3% 0.019 267.7)3.62 AA Large
Bright Redcolor9#fc5d7crgb(252 93 124)hsl(348 96% 68%)oklch(69.4% 0.194 12.0)4.52 AA
Bright Greencolor10#9ed072rgb(158 208 114)hsl(92 50% 63%)oklch(80.1% 0.134 131.7)7.57 AAA
Bright Yellowcolor11#e7c664rgb(231 198 100)hsl(45 73% 65%)oklch(83.6% 0.123 91.0)8.18 AAA
Bright Bluecolor12#76cce0rgb(118 204 224)hsl(191 63% 67%)oklch(79.8% 0.088 214.4)7.42 AAA
Bright Magentacolor13#b39df3rgb(179 157 243)hsl(255 78% 78%)oklch(74.8% 0.123 295.0)5.84 AA
Bright Cyancolor14#f39660rgb(243 150 96)hsl(22 86% 66%)oklch(75.8% 0.132 49.9)6.04 AA
Bright Whitecolor15#e2e2e3rgb(226 226 227)hsl(240 2% 89%)oklch(91.3% 0.001 286.4)10.48 AAA

About Sonokai

Sonokai is a dark terminal color scheme built on a neutral #2c2e34 background with #e2e2e3 as the default foreground. Body text reaches a 10.48:1 WCAG contrast ratio (AAA), while the 12 ANSI accent colors average 6.60:1 (minimum 4.52:1).

Its palette is moderately saturated, anchored by #fc5d7c red, #9ed072 green, #76cce0 blue, and #b39df3 magenta. Part of the Monokai 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 Sonokai

Source: iTerm2 Color Schemes (MIT)