Skip to main content
Coding Theme

Dark Clarity for Obsidian

Dark Clarity by chenbihao is an Obsidian theme with dark and light modes and 3.9K 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 Clarity” 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 Clarity/theme.css
.obsidian/themes/Dark Clarity/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#161b22
Secondary background#11161d
Border#424958
Text#dedede
Muted text#bbbbbb
Text accent#81a1c1
Accent background#4c78cc
Selection background#007aff33
Highlight background#6d96c0d0
Code text#f8f8f2

Light

Text accent#81a1c1
Highlight background#6d96c0d0
Code text#272822d9

Contrast — Dark

A cool, balanced dark palette anchored on #161B22, pairing note text (#DEDEDE) at 12.85:1 (AAA). 5 of 7 graded roles clear WCAG AA (4.5:1+); Highlight (#DEDEDE, 3.09:1) and On accent (#DCDDDE, 3.17:1) sit below 4.5:1 for softer contrast.

Background

#161B22

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • 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

    #DEDEDE

    12.85:1AAA

  • Muted

    #BBBBBB

    9.01:1AAA

  • Accent

    #81A1C1

    6.42:1AA

  • Code

    #F8F8F2

    16.22:1AAA

  • Selection

    #DEDEDEon #007AFF33

    10.22:1AAA

  • Highlight

    #DEDEDEon #6D96C0D0

    3.09:1Fail

  • On accent

    #DCDDDEon #4C78CC

    3.17:1Fail

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

Contrast — Light

This theme does not set its own note background for light mode, so the page cannot grade its text. Obsidian's default background applies.