Skip to content

One Dark Two

One Dark Two is a cool, dark terminal color scheme with a #21252b background and #e6e6e6 text (12.3:1 contrast)

Get config
Background
#21252b
Foreground
#e6e6e6
Text contrast
12.33:1AAA
Accent contrast
7.60:1min 5.31
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
❯

One Dark Two configs

16 formats, all from one palette

One Dark Two

Save to ~/.config/ghostty/themes/One Dark Two, then set theme = One Dark Two in config or config.ghostty

More Ghostty themes
Raw file
# Theme: One Dark Two (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/en/schemes/one-dark-two?format=ghostty

palette = 0=#1d1f23
palette = 1=#e27881
palette = 2=#98c379
palette = 3=#eac786
palette = 4=#71b9f4
palette = 5=#c88bda
palette = 6=#62bac6
palette = 7=#c9ccd3
palette = 8=#4a505a
palette = 9=#e68991
palette = 10=#a8cc8e
palette = 11=#edcf97
palette = 12=#8dc7f6
palette = 13=#d3a2e2
palette = 14=#78c4ce
palette = 15=#e6e6e6
background = #21252b
foreground = #e6e6e6
cursor-color = #e6e6e6
cursor-text = #1d1f23
selection-background = #393e47
selection-foreground = #e6e6e6

One Dark Two palette

Palette color values and WCAG contrast ratios against the background
ColorSlotHEXRGBHSLOKLCHContrast
Backgroundbackground#21252brgb(33 37 43)hsl(216 13% 15%)oklch(26.3% 0.013 258.4)—
Foregroundforeground#e6e6e6rgb(230 230 230)hsl(0 0% 90%)oklch(92.5% 0.000 0)12.33 AAA
Cursorcursor#e6e6e6rgb(230 230 230)hsl(0 0% 90%)oklch(92.5% 0.000 0)12.33 AAA
Cursor textcursorText#1d1f23rgb(29 31 35)hsl(220 9% 13%)oklch(23.9% 0.008 264.4)1.07 Fail
Selectionselection#393e47rgb(57 62 71)hsl(219 11% 25%)oklch(36.3% 0.017 262.3)1.43 Fail
Selection textselectionText#e6e6e6rgb(230 230 230)hsl(0 0% 90%)oklch(92.5% 0.000 0)12.33 AAA
Blackcolor0#1d1f23rgb(29 31 35)hsl(220 9% 13%)oklch(23.9% 0.008 264.4)1.07 Fail
Redcolor1#e27881rgb(226 120 129)hsl(355 65% 68%)oklch(69.4% 0.131 15.7)5.31 AA
Greencolor2#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)7.64 AAA
Yellowcolor3#eac786rgb(234 199 134)hsl(39 70% 72%)oklch(84.5% 0.092 82.4)9.54 AAA
Bluecolor4#71b9f4rgb(113 185 244)hsl(207 86% 70%)oklch(76.2% 0.112 244.7)7.29 AAA
Magentacolor5#c88bdargb(200 139 218)hsl(286 52% 70%)oklch(72.5% 0.129 318.3)5.98 AA
Cyancolor6#62bac6rgb(98 186 198)hsl(187 47% 58%)oklch(73.9% 0.086 207.1)6.86 AA
Whitecolor7#c9ccd3rgb(201 204 211)hsl(222 10% 81%)oklch(84.5% 0.010 267.3)9.57 AAA
Bright Blackcolor8#4a505argb(74 80 90)hsl(218 10% 32%)oklch(43.0% 0.018 260.7)1.90 Fail
Bright Redcolor9#e68991rgb(230 137 145)hsl(355 65% 72%)oklch(73.0% 0.114 14.7)6.12 AA
Bright Greencolor10#a8cc8ergb(168 204 142)hsl(95 38% 68%)oklch(80.3% 0.093 132.7)8.57 AAA
Bright Yellowcolor11#edcf97rgb(237 207 151)hsl(39 70% 76%)oklch(86.7% 0.080 82.7)10.24 AAA
Bright Bluecolor12#8dc7f6rgb(141 199 246)hsl(207 85% 76%)oklch(80.7% 0.090 243.6)8.53 AAA
Bright Magentacolor13#d3a2e2rgb(211 162 226)hsl(286 52% 76%)oklch(77.9% 0.103 318.1)7.36 AAA
Bright Cyancolor14#78c4cergb(120 196 206)hsl(187 47% 64%)oklch(77.5% 0.077 206.4)7.76 AAA
Bright Whitecolor15#e6e6e6rgb(230 230 230)hsl(0 0% 90%)oklch(92.5% 0.000 0)12.33 AAA

About One Dark Two

One Dark Two is a dark terminal color scheme built on a cool-tinted #21252b background with #e6e6e6 as the default foreground. Body text reaches a 12.33:1 WCAG contrast ratio (AAA), while the 12 ANSI accent colors average 7.60:1 (minimum 5.31:1).

Its palette is moderately saturated, anchored by #e27881 red, #98c379 green, #71b9f4 blue, and #c88bda magenta. Part of the One Dark & One Light 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 One Dark Two

Source: iTerm2 Color Schemes (MIT)