Skip to main content
Coding Theme

Hanko for Obsidian

Hanko by Michael Doroszewski is an Obsidian theme with dark and light modes and 502 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 “Hanko” 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/Hanko/theme.css
.obsidian/themes/Hanko/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#ffffff
Secondary background#ffffff
Border#d8d8d8
Text#151515
Muted text#5a5853
Text accent#151515
Accent background#151515
Selection background#b5decc4d
Highlight background#f15a3038
Red#f15a30
Orange#e2b540
Yellow#e2b540
Green#489b6e
Cyan#97acc8
Blue#97acc8
Purple#ca92a8
Pink#ca92a8
Code background#f2f2f2
Code text#151515
H1#151515
H2#151515
H3#151515

Light

Background#ffffff
Secondary background#ffffff
Border#d8d8d8
Text#151515
Muted text#5a5853
Text accent#151515
Accent background#151515
Selection background#c0a9b373
Highlight background#dd402738
Red#dd4027
Orange#bb7125
Yellow#bb7125
Green#1a7444
Cyan#12354e
Blue#12354e
Purple#8c4c62
Pink#8c4c62
Code background#f2f2f2
Code text#151515
H1#151515
H2#151515
H3#151515

Contrast — Dark

A neutral, muted dark palette anchored on #FFFFFF, pairing note text (#151515) at 18.26:1 (AAA). 9 of 11 graded roles clear WCAG AA (4.5:1+); Faint (#8B8982, 3.50:1) and H6 (#8B8982, 3.50: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–H3heading text in a note
  • H4–H5heading text in a note
  • 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

    #151515

    18.26:1AAA

  • Muted

    #5A5853

    7.10:1AAA

  • Faint

    #8B8982

    3.50:1Fail

  • H1–H3

    #151515

    18.26:1AAA

  • H4–H5

    #5A5853

    7.10:1AAA

  • H6

    #8B8982

    3.50:1Fail

  • Accent

    #151515

    18.26:1AAA

  • Code

    #151515on #F2F2F2

    16.31:1AAA

  • Selection

    #151515on #B5DECC4D

    16.32:1AAA

  • Highlight

    #151515on #F15A3038

    14.06:1AAA

  • On accent

    #FFFFFFon #151515

    18.26: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 (#151515) at 18.26:1 (AAA). 9 of 11 graded roles clear WCAG AA (4.5:1+); Faint (#8B8982, 3.50:1) and H6 (#8B8982, 3.50: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–H3heading text in a note
  • H4–H5heading text in a note
  • 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

    #151515

    18.26:1AAA

  • Muted

    #5A5853

    7.10:1AAA

  • Faint

    #8B8982

    3.50:1Fail

  • H1–H3

    #151515

    18.26:1AAA

  • H4–H5

    #5A5853

    7.10:1AAA

  • H6

    #8B8982

    3.50:1Fail

  • Accent

    #151515

    18.26:1AAA

  • Code

    #151515on #F2F2F2

    16.31:1AAA

  • Selection

    #151515on #C0A9B373

    13.16:1AAA

  • Highlight

    #151515on #DD402738

    13.39:1AAA

  • On accent

    #FFFFFFon #151515

    18.26:1AAA

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.