Skip to main content
Coding Theme
Legacy theme

Ayu for Obsidian

Ayu by bcdavasconcelos is an Obsidian theme with light mode and 3.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 “Ayu” 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/theme.css
.obsidian/themes/Ayu/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#f9f9fb
Secondary background#fbf9f9
Border#b1b4b9
Text#595371
Muted text#b1b4b9
Text accent#de5105
Accent background#00000017
Selection background#e3eef280
Highlight background#e3eef280

Light

Background#f9f9fb
Secondary background#fbf9f9
Border#b1b4b9
Text#595371
Muted text#b1b4b9
Text accent#de5105
Accent background#00000017
Selection background#e3eef280
Highlight background#e3eef280

Contrast — Light

A cool, balanced light palette anchored on #F9F9FB, pairing note text (#595371) at 6.88:1 (AA). 4 of 7 graded roles clear WCAG AA (4.5:1+); Muted (#B1B4B9, 1.97:1), Faint (#B1B4B9, 1.97:1), and Accent (#DE5105, 3.77:1) sit below 4.5:1 for softer contrast.

Background

#F9F9FB

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Selectiontext inside a selection
  • Highlighthighlighted text
  • On accenta button label on the accent color
Appearance
Light
Temperature
Cool
Saturation
Balanced
  • Note

    #595371

    6.88:1AA

  • Muted

    #B1B4B9

    1.97:1Fail

  • Faint

    #B1B4B9

    1.97:1Fail

  • Accent

    #DE5105

    3.77:1Fail

  • Selection

    #595371on #E3EEF280

    6.49:1AA

  • Highlight

    #595371on #E3EEF280

    6.49:1AA

  • On accent

    #595371on #00000017

    5.62: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: Code.