Skip to main content
Coding Theme

H2 OS for Obsidian

H2 OS by elijahchan2019 is an Obsidian theme with light mode and 1.2K 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 “H2 OS” 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/H2 OS/theme.css
.obsidian/themes/H2 OS/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#24211f
Secondary background#191715
Border#423b34
Text#cec6bb
Muted text#a69c90
Text accent#d14a4a
Accent background#d14a4a
Selection background#e5645f52
Highlight background#e5645f4d
Code background#292522
Code text#f0ebe2
H1#f0ebe2
H2#f0ebe2
H3#f0ebe2

Light

Background#fbfaf7
Secondary background#efede8
Border#dbd6ce
Text#4e4a46
Muted text#6f6861
Text accent#d14a4a
Accent background#d14a4a
Selection background#d14a4a2e
Highlight background#d14a4a24
Code background#f5f5f4
Code text#272523
H1#272523
H2#272523
H3#272523

Contrast — Light

A warm, balanced light palette anchored on #FBFAF7, pairing note text (#4E4A46) at 8.41:1 (AAA). 8 of 11 graded roles clear WCAG AA (4.5:1+); Faint (#A8A29E, 2.41:1), Accent (#D14A4A, 4.20:1), and On accent (#FFFFFF, 4.38:1) sit below 4.5:1 for softer contrast.

Background

#FBFAF7

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H4heading text in a note
  • 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
Warm
Saturation
Balanced
  • Note

    #4E4A46

    8.41:1AAA

  • Muted

    #6F6861

    5.25:1AA

  • Faint

    #A8A29E

    2.41:1Fail

  • H1–H4

    #272523

    14.63:1AAA

  • H5

    #4E4A46

    8.41:1AAA

  • H6

    #6F6861

    5.25:1AA

  • Accent

    #D14A4A

    4.20:1Fail

  • Code

    #272523on #F5F5F4

    13.99:1AAA

  • Selection

    #4E4A46on #D14A4A2E

    6.63:1AA

  • Highlight

    #4E4A46on #D14A4A24

    6.99:1AA

  • On accent

    #FFFFFFon #D14A4A

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