Skip to main content
Coding Theme

Tokyo Night for Obsidian

Tokyo Night by tcmmichaelb139 is an Obsidian theme with dark and light modes and 324K downloads.

Preview

Theme preview

An Obsidian window rendered with this theme’s palette.

Obsidian desktop preview

Syntax colors, highlights, links, tags, and checkboxes use this theme's palette; window chrome and layout follow Obsidian's default stylesheet.

Install

Install in Obsidian

  1. Open Settings → Appearance → Themes, then Manage.
  2. Search for “Tokyo Night” and install it. Obsidian keeps community themes updated.
  3. Or create the folder below and save both theme.css and manifest.json in it, then reload Obsidian.
Theme folder
.obsidian/themes/Tokyo Night/theme.css
.obsidian/themes/Tokyo Night/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#1a1b26
Secondary background#16161e
Border#292e42
Text#c0caf5
Muted text#a9b1d6
Text accent#bb9af7
Accent background#80d0ff
Selection background#3d59a199
Highlight background#ff9e6440
Red#ff757f
Orange#ff9e64
Yellow#e0af68
Green#9ece6a
Cyan#7dcfff
Blue#7aa2f7
Purple#bb9af7
Pink#bb9af7
Code background#24283b
Code text#c0caf5
H1#ff757f
H2#e0af68
H3#9ece6a

Light

Background#d5d6db
Secondary background#cbccd1
Border#dcdee2
Text#343b58
Muted text#272e4b
Text accent#5a4a78
Accent background#0f87cc
Selection background#27477d99
Highlight background#96502740
Red#8c4351
Orange#965027
Yellow#8f5e15
Green#33635c
Cyan#0f4b6e
Blue#34548a
Purple#5a4a78
Pink#5a4a78
Code background#c3c5c940
Code text#343b58
H1#8c4351
H2#8f5e15
H3#33635c

Contrast — Dark

A cool, balanced dark palette anchored on #1A1B26, pairing note text (#C0CAF5) at 10.58:1 (AAA). 13 of 14 graded roles clear WCAG AA (4.5:1+); Faint (#565F89, 2.76:1) sits below 4.5:1 for softer contrast.

Background

#1A1B26

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1heading text in a note
  • H2heading text in a note
  • H3heading text in a note
  • H4heading text in a note
  • H5heading text in a note
  • H6heading text in a note
  • Accentlinks and highlighted text
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
  • On accenta button label on the accent color
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Note

    #C0CAF5

    10.58:1AAA

  • Muted

    #A9B1D6

    8.09:1AAA

  • Faint

    #565F89

    2.76:1Fail

  • H1

    #FF757F

    6.59:1AA

  • H2

    #E0AF68

    8.54:1AAA

  • H3

    #9ECE6A

    9.35:1AAA

  • H4

    #7DCFFF

    9.96:1AAA

  • H5

    #7AA2F7

    6.78:1AA

  • H6

    #BB9AF7

    7.38:1AAA

  • Accent

    #BB9AF7

    7.38:1AAA

  • Code

    #C0CAF5on #24283B

    9.02:1AAA

  • Selection

    #C0CAF5on #3D59A199

    6.21:1AA

  • Highlight

    #C0CAF5on #FF9E6440

    6.28:1AA

  • On accent

    #1A1B26on #80D0FF

    10.07:1AAA

AA is 4.5:1 for normal text, 3:1 only for large text (at least 24px, or 18.7px bold). AAA is 7:1 (4.5:1 for large text). Code and terminal text are normal text, so anything under 4.5:1 fails.

Note text, headings, links, code, selection, highlight, and accent text are graded on the surfaces they use. Code uses code-background; selection and highlight paint the normal text color on those backgrounds. Colors the theme leaves unset come from Obsidian's default theme and are not graded.

Contrast — Light

A cool, muted light palette anchored on #D5D6DB, pairing note text (#343B58) at 7.56:1 (AAA). 10 of 14 graded roles clear WCAG AA (4.5:1+); Faint (#9699A3, 1.96:1), H2 (#8F5E15, 3.82:1), Selection (#343B58, 2.75:1), and On accent (#D5D6DB, 2.70:1) sit below 4.5:1 for softer contrast.

Background

#D5D6DB

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1heading text in a note
  • H2heading text in a note
  • H3heading text in a note
  • H4heading text in a note
  • H5heading text in a note
  • H6heading text in a note
  • Accentlinks and highlighted text
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
  • On accenta button label on the accent color
Appearance
Light
Temperature
Cool
Saturation
Muted
  • Note

    #343B58

    7.56:1AAA

  • Muted

    #272E4B

    9.16:1AAA

  • Faint

    #9699A3

    1.96:1Fail

  • H1

    #8C4351

    4.76:1AA

  • H2

    #8F5E15

    3.82:1Fail

  • H3

    #33635C

    4.69:1AA

  • H4

    #0F4B6E

    6.42:1AA

  • H5

    #34548A

    5.20:1AA

  • H6

    #5A4A78

    5.38:1AA

  • Accent

    #5A4A78

    5.38:1AA

  • Code

    #343B58on #C3C5C940

    7.24:1AAA

  • Selection

    #343B58on #27477D99

    2.75:1Fail

  • Highlight

    #343B58on #96502740

    5.51:1AA

  • On accent

    #D5D6DBon #0F87CC

    2.70:1Fail

Note text, headings, links, code, selection, highlight, and accent text are graded on the surfaces they use. Code uses code-background; selection and highlight paint the normal text color on those backgrounds. Colors the theme leaves unset come from Obsidian's default theme and are not graded.