Skip to main content
Coding Theme

Dark Castle for Obsidian

Dark Castle by scottgriv is an Obsidian theme with dark mode and 6K 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 “Dark Castle” 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/Dark Castle/theme.css
.obsidian/themes/Dark Castle/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#000000
Secondary background#000000
Border#292929
Text#ffd580
Muted text#9c9c9c
Text accent#ff8040
Accent background#ff8040
Selection background#575757
Highlight background#292929
Red#ff000f
Orange#ff5503
Yellow#ffd580
Green#08d220
Cyan#4dbced
Blue#4dbced
Purple#ff8040
Pink#ef6b73
Code background#1a1a1a
Code text#08d220
H1#bae67e
H2#ff000f
H3#ff000f
Base 00#000000
Base 10#000000
Base 25#292929
Base 35#9c9c9c
Base 50#9c9c9c
Base 60#9c9c9c
Base 100#9c9c9c

Contrast — Dark

A neutral, muted dark palette anchored on #000000, pairing note text (#FFD580) at 15.08:1 (AAA). All 10 graded roles clear WCAG AA (4.5:1+) for normal code and UI text.

Background

#000000

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1heading text in a note
  • H2–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

    #FFD580

    15.08:1AAA

  • Muted

    #9C9C9C

    7.64:1AAA

  • Faint

    #FF8040

    8.41:1AAA

  • H1

    #BAE67E

    14.70:1AAA

  • H2–H6

    #FF000F

    5.25:1AA

  • Accent

    #FF8040

    8.41:1AAA

  • Code

    #08D220on #1A1A1A

    8.49:1AAA

  • Selection

    #FFD580on #575757

    5.18:1AA

  • Highlight

    #FFD580on #292929

    10.44:1AAA

  • On accent

    #292929on #FF8040

    5.82:1AA

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.