Skip to main content
Coding Theme

Monokai for Obsidian

Monokai by bitschleuder is an Obsidian theme with dark and light modes and 16.5K 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 “Monokai” 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/Monokai/theme.css
.obsidian/themes/Monokai/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#1e1f2b
Secondary background#282a3a
Border#5c6370
Text#ffffff
Muted text#abb2bf
Text accent#fad872
Accent background#fad872
Selection background#61afef
Highlight background#fad872
Code background#2c292d
Code text#ffffff
H1#b3d97e
H2#61afef
H3#f19d6d

Light

Background#fdf9f3
Secondary background#fdf9f3
Border#5c6370
Text#2c292d
Muted text#5c6370
Text accent#fdf9f3
Accent background#2c292d
Selection background#61afef
Highlight background#fad872
Code background#2c292d
Code text#ffffff
H1#b3d97e
H2#61afef
H3#f19d6d

Contrast — Dark

A cool, balanced dark palette anchored on #1E1F2B, pairing note text (#FFFFFF) at 16.32:1 (AAA). 11 of 13 graded roles clear WCAG AA (4.5:1+); Selection (#FFFFFF, 2.36:1) and Highlight (#FFFFFF, 1.38:1) sit below 4.5:1 for softer contrast.

Background

#1E1F2B

  • 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
  • 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

    #FFFFFF

    16.32:1AAA

  • Muted

    #ABB2BF

    7.66:1AAA

  • Faint

    #FAD872

    11.76:1AAA

  • H1

    #B3D97E

    10.21:1AAA

  • H2

    #61AFEF

    6.90:1AA

  • H3

    #F19D6D

    7.60:1AAA

  • H4

    #A8A0EE

    6.94:1AA

  • H5

    #ABB2BF

    7.66:1AAA

  • Accent

    #FAD872

    11.76:1AAA

  • Code

    #FFFFFFon #2C292D

    14.36:1AAA

  • Selection

    #FFFFFFon #61AFEF

    2.36:1Fail

  • Highlight

    #FFFFFFon #FAD872

    1.38:1Fail

  • On accent

    #1E1F2Bon #FAD872

    11.76: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 warm, vivid light palette anchored on #FDF9F3, pairing note text (#2C292D) at 13.69:1 (AAA). 6 of 13 graded roles clear WCAG AA (4.5:1+); Faint (#F19D6D, 2.04:1), H1 (#B3D97E, 1.52:1), H2 (#61AFEF, 2.25:1), H3 (#F19D6D, 2.04:1), H4 (#A8A0EE, 2.24:1), H5 (#ABB2BF, 2.03:1), and Accent (#FDF9F3, 1.00:1) sit below 4.5:1 for softer contrast.

Background

#FDF9F3

  • 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
  • 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
Warm
Saturation
Vivid
  • Note

    #2C292D

    13.69:1AAA

  • Muted

    #5C6370

    5.76:1AA

  • Faint

    #F19D6D

    2.04:1Fail

  • H1

    #B3D97E

    1.52:1Fail

  • H2

    #61AFEF

    2.25:1Fail

  • H3

    #F19D6D

    2.04:1Fail

  • H4

    #A8A0EE

    2.24:1Fail

  • H5

    #ABB2BF

    2.03:1Fail

  • Accent

    #FDF9F3

    1.00:1Fail

  • Code

    #FFFFFFon #2C292D

    14.36:1AAA

  • Selection

    #2C292Don #61AFEF

    6.07:1AA

  • Highlight

    #2C292Don #FAD872

    10.34:1AAA

  • On accent

    #FDF9F3on #2C292D

    13.69:1AAA

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.