Skip to main content
Coding Theme

Base16 for Obsidian

Base16 by snelling-a is an Obsidian theme with dark and light modes and 639 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 “Base16” 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/Base16/theme.css
.obsidian/themes/Base16/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#000000
Secondary background#2a2a2a
Border#555555
Text#c0c0c0
Muted text#a1a1a1
Text accent#0000ff
Accent background#0000ff
Selection background#3333994d
Highlight background#ffff004d
Red#ff0000
Orange#808000
Yellow#ffff00
Green#00ff00
Cyan#00ffff
Blue#0000ff
Purple#ff00ff
Pink#008000
Code background#2a2a2a
Code text#c0c0c0
H1#0000ff
H2#0000ff
H3#0000ff

Light

Background#ffffff
Secondary background#eaeaea
Border#d5d5d5
Text#808080
Muted text#a0a0a0
Text accent#000080
Accent background#000080
Selection background#3333994d
Highlight background#8080004d
Red#800000
Orange#ffff00
Yellow#808000
Green#008000
Cyan#008080
Blue#000080
Purple#800080
Pink#00ff00
Code background#eaeaea
Code text#808080
H1#000080
H2#000080
H3#000080

Contrast — Dark

A neutral, muted dark palette anchored on #000000, pairing note text (#C0C0C0) at 11.54:1 (AAA). 7 of 9 graded roles clear WCAG AA (4.5:1+); H1–H6 (#0000FF, 2.44:1) and Accent (#0000FF, 2.44:1) sit below 4.5:1 for softer contrast.

Background

#000000

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–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
Neutral
Saturation
Muted
  • Note

    #C0C0C0

    11.54:1AAA

  • Muted

    #A1A1A1

    8.12:1AAA

  • Faint

    #808080

    5.31:1AA

  • H1–H6

    #0000FF

    2.44:1Fail

  • Accent

    #0000FF

    2.44:1Fail

  • Code

    #C0C0C0on #2A2A2A

    7.88:1AAA

  • Selection

    #C0C0C0on #3333994D

    10.20:1AAA

  • Highlight

    #C0C0C0on #FFFF004D

    4.85:1AA

  • On accent

    #FFFFFFon #0000FF

    8.59: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 neutral, muted light palette anchored on #FFFFFF, pairing note text (#808080) at 3.94:1 (Fail). 2 of 9 graded roles clear WCAG AA (4.5:1+); Note (#808080, 3.94:1), Muted (#A0A0A0, 2.61:1), Faint (#C0C0C0, 1.81:1), Code (#808080, 3.28:1), Selection (#808080, 2.26:1), Highlight (#808080, 2.72:1), and On accent (#404040, 1.54:1) sit below 4.5:1 for softer contrast.

Background

#FFFFFF

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–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
Neutral
Saturation
Muted
  • Note

    #808080

    3.94:1Fail

  • Muted

    #A0A0A0

    2.61:1Fail

  • Faint

    #C0C0C0

    1.81:1Fail

  • H1–H6

    #000080

    16.00:1AAA

  • Accent

    #000080

    16.00:1AAA

  • Code

    #808080on #EAEAEA

    3.28:1Fail

  • Selection

    #808080on #3333994D

    2.26:1Fail

  • Highlight

    #808080on #8080004D

    2.72:1Fail

  • On accent

    #404040on #000080

    1.54: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.