Skip to main content
Coding Theme

Coffee for Obsidian

Coffee by regawaras is an Obsidian theme with dark and light modes and 10K 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 “Coffee” 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/Coffee/theme.css
.obsidian/themes/Coffee/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#0f0a00
Secondary background#1f1500
Border#504010
Text#ecdfaa
Muted text#e0d080
Text accent#b0a050
Accent background#aa7500
Selection background#553f00
Highlight background#553f00
Code background#1f1500
Code text#00ff55
H1#b0a050
H2#ddaa00
H3#aa7500

Light

Background#f3f3c3
Secondary background#ecdfaa
Border#e0d080
Text#0f0a00
Muted text#553f00
Text accent#885500
Accent background#aa7500
Selection background#b0a050
Highlight background#ecdfaa
Code background#e0d080
Code text#005500
H1#553f00
H2#aa7500
H3#ddaa00

Contrast — Dark

A warm, vivid dark palette anchored on #0F0A00, pairing note text (#ECDFAA) at 14.76:1 (AAA). All 11 graded roles clear WCAG AA (4.5:1+) for normal code and UI text.

Background

#0F0A00

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1heading text in a note
  • H2heading text in a note
  • H3–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
Warm
Saturation
Vivid
  • Note

    #ECDFAA

    14.76:1AAA

  • Muted

    #E0D080

    12.69:1AAA

  • Faint

    #B0A050

    7.51:1AAA

  • H1

    #B0A050

    7.51:1AAA

  • H2

    #DDAA00

    9.23:1AAA

  • H3–H6

    #AA7500

    4.93:1AA

  • Accent

    #B0A050

    7.51:1AAA

  • Code

    #00FF55on #1F1500

    13.24:1AAA

  • Selection

    #ECDFAAon #553F00

    7.48:1AAA

  • Highlight

    #ECDFAAon #553F00

    7.48:1AAA

  • On accent

    #0F0A00on #AA7500

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

Contrast — Light

A warm, vivid light palette anchored on #F3F3C3, pairing note text (#0F0A00) at 17.31:1 (AAA). 9 of 11 graded roles clear WCAG AA (4.5:1+); H2 (#AA7500, 3.50:1) and H3–H6 (#DDAA00, 1.87:1) sit below 4.5:1 for softer contrast.

Background

#F3F3C3

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1heading text in a note
  • H2heading text in a note
  • H3–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
Vivid
  • Note

    #0F0A00

    17.31:1AAA

  • Muted

    #553F00

    8.78:1AAA

  • Faint

    #553F00

    8.78:1AAA

  • H1

    #553F00

    8.78:1AAA

  • H2

    #AA7500

    3.50:1Fail

  • H3–H6

    #DDAA00

    1.87:1Fail

  • Accent

    #885500

    5.50:1AA

  • Code

    #005500on #E0D080

    5.87:1AA

  • Selection

    #0F0A00on #B0A050

    7.51:1AAA

  • Highlight

    #0F0A00on #ECDFAA

    14.76:1AAA

  • On accent

    #0F0A00on #AA7500

    4.93:1AA

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.