Dev

Terminal Colour Schemes, Ranked

Solarized, Dracula, Gruvbox, Nord and more scored on contrast, ANSI clarity and long-session comfort.

By darkscreen.online crew4 min read
Terminal Colour Schemes, Ranked>_ devterminal colourschemes, ranked

Your terminal has sixteen ANSI colours, a background and a foreground, and most people never check whether they work together. We loaded ten popular schemes into the same terminal, ran ls --color, git diff, a compiler error dump and htop, and measured contrast. Here is the ranking.

How we scored

  • Base contrast between background and foreground (WCAG ratio).
  • ANSI clarity: are the “bright black” (comments, dim output) and blue entries still readable? These are where most schemes fail.
  • Diff readability: red and green must be easy to tell apart, including for people with red-green colour deficiency.
  • Long-session comfort: four hours of real work.

Base values

SchemeBackgroundForegroundContrast
Tokyo Night#1A1B26#C0CAF510.6:1
Catppuccin Mocha#1E1E2E#CDD6F411.3:1
Dracula#282A36#F8F8F213.4:1
Gruvbox Dark#282828#EBDBB210.7:1
One Half Dark#282C34#DCDFE410.5:1
Nord#2E3440#D8DEE99.2:1
Tomorrow Night#1D1F21#C5C8C69.8:1
Monokai#272822#F8F8F213.9:1
Solarized Dark#002B36#8394964.7:1
Campbell (Windows Terminal)#0C0C0C#CCCCCC12.2:1

The ranking

  1. Catppuccin Mocha. Excellent base contrast, pastel ANSI that never clashes, readable bright black. Best all-rounder.
  2. Tokyo Night. Gorgeous, calm, strong foreground in the terminal variant. Blues are slightly close to each other.
  3. Dracula. Very readable and punchy. Diffs pop. Bright black is a little dim for comments.
  4. One Half Dark. Underrated. Clean, balanced, sensible ANSI.
  5. Gruvbox Dark. Warm, low blue, lovely at night. Some yellows and oranges blur together.
  6. Tomorrow Night. Neutral and dependable. A little flat.
  7. Monokai. High contrast, but the palette was designed for editors; some ANSI entries are harsh in a terminal.
  8. Nord. Beautiful, but low ANSI separation makes dense output hard to scan.
  9. Campbell. Windows Terminal default. High contrast on near-black, dark blue is barely readable.
  10. Solarized Dark. Lowest base contrast here, and bright black is nearly invisible on the default background.

The dark blue problem

ANSI blue (colour 4) is the classic failure. Many schemes set it dark, and tools like ls use it for directories. If folder names vanish, raise ANSI 4 or remap directory colours with LS_COLORS. The same goes for bright black (colour 8), used by many prompts and linters for secondary text.

Diff colours and colour blindness

Red-green colour deficiency affects around 8% of men of Northern European descent. If you pair with others, pick a scheme where diff red and green also differ in lightness, or switch git to a colour-blind friendly palette with git config color.diff.new "blue bold".

Picking a background

  • Very dark (#0C0C0C to #1A1B26): high contrast, can smear on OLED.
  • Mid-dark (#1E1E2E to #282C34): comfortable for most people.
  • Lifted (#2E3440): soft, but ANSI contrast drops.

Preview your background at full screen against a gunmetal or #111111 field to see how it sits in your room.

Font matters too

A heavier weight, such as JetBrains Mono Medium, rescues low-contrast schemes. Enable font ligatures only if you like them; they do not change readability much.

Installing schemes

Most popular schemes ship ready-made for every major terminal. Windows Terminal: paste the scheme JSON into the schemes array in settings.json, then select it per profile. iTerm2: import the .itermcolors file. Alacritty, Kitty and WezTerm: add the colours to your config file; most schemes publish official snippets. Keep your scheme in version control with your dotfiles, so a new machine looks right on day one.

tmux, vim and prompts

A scheme only works if everything inside the terminal uses it. Set tmux to use true colour (set -g default-terminal "tmux-256color" with RGB support) so your editor theme is not quantised. Use the matching vim or Neovim theme, and pick a prompt that relies on the 16 ANSI slots rather than hard-coded colours. Otherwise one bright prompt segment undoes the whole scheme.

Making your own

If no scheme fits, start from one you nearly like and edit only the problem slots. Keep the background and foreground contrast above 7:1 for long sessions, make ANSI blue and bright black at least 4.5:1 against the background, and give diff red and green different lightness as well as hue. Test with real output: a failing test run, a long git log --graph, and htop. Preview the background at full screen against our dark slate or dark fields to see it in your room.

Verdict

Start with Catppuccin Mocha or Tokyo Night. Fix ANSI blue and bright black whatever you pick. Match your terminal and editor; our VS Code theme tests use the same method, and pick a background that does not smear on your panel.

Last thing: lighting. A scheme that looks perfect at night can feel dim in a sunny office, and a punchy one can feel harsh in the dark. Many terminals support switching schemes with the system theme, so you can run a lighter variant by day and a darker one at night without thinking about it. Catppuccin, Tokyo Night and Gruvbox all ship matching light variants.

FAQ

Among popular schemes, Catppuccin Mocha, Dracula and the Windows Campbell default all score high. Solarized Dark is lowest.

ANSI blue is set too dark for your background. Raise it in your terminal profile or change LS_COLORS.

Not necessarily. Very dark backgrounds can feel harsh and smear on OLED. A mid-dark background is often more comfortable.

Next up

Partner with us

Put your link in front of devs, gamers and night owls

Sponsored links in tested guides, featured tool slots and newsletter shout-outs for dev tools, peripherals and gaming hardware. Labelled, relevant, never inside the fullscreen screen.

One email a month. No spam, unsubscribe any time.