Skip to main content
Coding Theme

Ayu Dark for Obsidian

Ayu Dark by adnan-malik-26 is an Obsidian theme with dark mode and 1.1K 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 “Ayu Dark” 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/Ayu Dark/theme.css
.obsidian/themes/Ayu Dark/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Secondary background#0b0e14
Text#bfbdb6
Muted text#8a9199
Selection background#253340
Highlight background#253340
Red#f07178
Orange#ff8f40
Yellow#e6b450
Green#7fd962
Cyan#95e6cb
Blue#59c2ff
Purple#d2a6ff
Pink#d2a6ff
Code text#bfbdb6
Base 00#0b0e14
Base 05#0b0e14
Base 10#0d1017
Base 20#0d1017
Base 25#131721
Base 30#131721
Base 35#1a1f29
Base 40#232834
Base 50#3d4751
Base 60#3d4751
Base 70#5c6773
Base 100#8a9199

Contrast — Dark

A cool, balanced dark palette anchored on #0B0E14, pairing note text (#BFBDB6) at 10.27:1 (AAA). 5 of 6 graded roles clear WCAG AA (4.5:1+); Faint (#3D4751, 2.04:1) sits below 4.5:1 for softer contrast.

Background

#0B0E14

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Note

    #BFBDB6

    10.27:1AAA

  • Muted

    #8A9199

    6.06:1AA

  • Faint

    #3D4751

    2.04:1Fail

  • Code

    #BFBDB6

    10.27:1AAA

  • Selection

    #BFBDB6on #253340

    6.86:1AA

  • Highlight

    #BFBDB6on #253340

    6.86: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. Not set here: Accent.