Every “best VS Code themes” list is vibes. We wanted numbers. So we took twelve of the most installed dark themes, pulled their editor background and default foreground hex values, measured contrast, then lived in each for a full workday of TypeScript, Python and Markdown. Here is what held up.
How we tested
- Contrast: WCAG 2 ratio between editor background and default text colour. 4.5:1 is the accessibility floor; 7:1 is AAA.
- Syntax separation: can you tell strings, keywords, types and comments apart at a glance on a 1440p 27" at 100% scaling?
- OLED behaviour: does a near-zero background smear when you scroll fast on an OLED laptop?
- Fatigue: subjective, logged after eight hours. Not science, but honest.
The contrast numbers
| Theme | Editor bg | Default fg | Contrast |
|---|---|---|---|
| GitHub Dark Default | #0D1117 | #E6EDF3 | 16.0:1 |
| Tokyo Night | #1A1B26 | #A9B1D6 | 8.1:1 |
| Night Owl | #011627 | #D6DEEB | 13.5:1 |
| Catppuccin Mocha | #1E1E2E | #CDD6F4 | 11.3:1 |
| Dracula | #282A36 | #F8F8F2 | 13.4:1 |
| One Dark Pro | #282C34 | #ABB2BF | 6.6:1 |
| Gruvbox Dark | #282828 | #EBDBB2 | 10.7:1 |
| Nord | #2E3440 | #D8DEE9 | 9.2:1 |
| Monokai Pro | #2D2A2E | #FCFCFA | 13.8:1 |
| Ayu Dark | #0B0E14 | #BFBDB6 | 10.3:1 |
| Solarized Dark | #002B36 | #839496 | 4.7:1 |
| Default Dark Modern | #1F1F1F | #CCCCCC | 10.3:1 |
Values are the themes’ published defaults at the time of writing. Variants (Storm, Moon, Soft, High Contrast) shift these a lot, so check the one you actually run.
Tier list
S tier
- GitHub Dark Default: very high contrast, near-black background, restrained syntax colours. Feels like the web UI you already stare at all day.
- Catppuccin Mocha: soft pastel syntax on a deep blue-grey. Contrast is high without being harsh. The best balance for long sessions in our group.
- Tokyo Night: low-saturation foreground on #1A1B26. Beautiful, calm, great token separation. Default text is a bit dim, so bump font weight if you squint.
A tier
- Dracula: classic for a reason. Bright foreground, loud purples and pinks. Great for demos; some find it busy by hour six.
- One Dark Pro: everyone’s first dark theme. Lower contrast than the S tier, and comments get lost.
- Night Owl: designed with accessibility in mind and it shows. Very readable; the navy background is divisive.
- Gruvbox Dark: warm, retro, low blue. Lovely at night. Colour separation between some tokens is weaker.
B tier
- Nord: gorgeous palette, but the background is fairly light for a dark theme and contrast is mid.
- Monokai Pro: high contrast, strong accents. Feels dated next to newer palettes.
- Ayu Dark: near-black base, nice accents, but default text is softer than you would expect for that background.
- Default Dark Modern: perfectly fine. Nothing to love, nothing to hate.
C tier
- Solarized Dark: historically important, scientifically designed, and the lowest contrast in this test. Body text sits near the accessibility floor. Great for nostalgia, rough for eight-hour days.
OLED smear
Themes with backgrounds under about #10 on every channel (GitHub Dark, Ayu Dark) can leave faint trails behind fast-scrolling text on some OLED laptops. Lifting the background a few steps fixes it. You can compare on your own panel with a #111111 dark screen and true black from the dead pixel test.
Tweaks that matter more than the theme
- Font and weight. JetBrains Mono, Fira Code or Cascadia Code at 14–15 px with
"editor.fontWeight": "500"on dim themes. - Line height around 1.5–1.6. Dense code reads better than you think with a bit of air.
- Bracket pair colourisation on. It fixes half the separation issues of low-contrast palettes.
- Sidebar contrast. If your eyes drift to the file tree, its background is too bright relative to the editor.
- Match the room. Very high-contrast themes feel harsh in a dark room. Pair them with a soft bias light.
Override a single colour
You do not need a new theme to fix one thing. Use workbench.colorCustomizations and editor.tokenColorCustomizations in settings.json to lift the background, brighten comments or calm a loud keyword colour. Two lines of JSON beat a week of theme hopping.
Installing and switching fast
Open the command palette with Ctrl/Cmd + Shift + P, run Preferences: Color Theme, and arrow through installed themes with live preview. To compare two themes properly, keep one file open with strings, comments, types and a regex, and flip between them. Judging a theme on an empty file tells you nothing.
If you switch between day and night, set "window.autoDetectColorScheme": true and pick a preferred light and dark theme. VS Code follows the OS schedule automatically.
If you have low vision
Built-in High Contrast themes push contrast well above every theme in our table, with bold borders around panels and focused elements. They look stark, but they are designed for exactly this. Combine with a larger editor.fontSize, editor.cursorWidth of 3 and the zoom level setting rather than browser-style scaling. Screen reader users should enable accessibility support mode, which adjusts how VS Code exposes the editor.
Verdict
Want maximum legibility: GitHub Dark Default. Want comfort for long days: Catppuccin Mocha or Tokyo Night. Want character: Dracula. Whatever you pick, sanity-check contrast, then set up your desk light. For the bigger picture on dark backgrounds, read Night Shift vs true dark mode and pair your editor with the right terminal scheme.
FAQ
Among popular defaults, GitHub Dark Default and Monokai Pro measured highest in our table. Dedicated High Contrast themes go further.
Not harmful, just low contrast. Some people love its softness; others find it tiring over long sessions.
Only if you like it. On OLED it can smear while scrolling, and very high contrast can feel harsh. A lifted near-black is usually more comfortable.