Skip to main content
Coding Theme

Material Gruvbox for Obsidian

Material Gruvbox by alljavi is an Obsidian theme with dark and light modes and 113.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 “Material Gruvbox” 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/Material Gruvbox/theme.css
.obsidian/themes/Material Gruvbox/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#282828
Secondary background#1d2021
Border#3c3836
Text#d4be98
Muted text#d5c4a1
Text accent#e78a4e
Selection background#ea696299
Highlight background#e78a4e
Red#ea6962
Orange#c35e0a
Yellow#e78a4e
Green#a9b665
Cyan#7daea3
Blue#45707a
Purple#d3869b
Pink#d3869b
Code background#3c3836
Code text#7daea3
H1#ea6962
H2#e78a4e
H3#a9b665

Light

Background#f9f5d7
Secondary background#ebdbb2
Border#d5c4a1
Text#654735
Muted text#735145
Text accent#e78a4e
Selection background#ea696299
Highlight background#c35e0a
Red#c14a4a
Orange#c35e0a
Yellow#e78a4e
Green#6c782e
Cyan#7daea3
Blue#45707a
Purple#945e80
Pink#945e80
Code background#ebdbb2
Code text#7daea3
H1#c14a4a
H2#c35e0a
H3#6c782e

Contrast — Dark

A neutral, muted dark palette anchored on #282828, pairing note text (#D4BE98) at 8.15:1 (AAA). 11 of 13 graded roles clear WCAG AA (4.5:1+); Selection (#D4BE98, 3.19:1) and Highlight (#D4BE98, 1.42:1) sit below 4.5:1 for softer contrast.

Background

#282828

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1heading text in a note
  • H2heading text in a note
  • H3heading text in a note
  • 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
Appearance
Dark
Temperature
Neutral
Saturation
Muted
  • Note

    #D4BE98

    8.15:1AAA

  • Muted

    #D5C4A1

    8.59:1AAA

  • Faint

    #EBDBB2

    10.74:1AAA

  • H1

    #EA6962

    4.70:1AA

  • H2

    #E78A4E

    5.71:1AA

  • H3

    #A9B665

    6.71:1AA

  • H4

    #89B482

    6.25:1AA

  • H5

    #7DAEA3

    5.93:1AA

  • H6

    #D3869B

    5.37:1AA

  • Accent

    #E78A4E

    5.71:1AA

  • Code

    #7DAEA3on #3C3836

    4.66:1AA

  • Selection

    #D4BE98on #EA696299

    3.19:1Fail

  • Highlight

    #D4BE98on #E78A4E

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

Contrast — Light

A warm, vivid light palette anchored on #F9F5D7, pairing note text (#654735) at 7.60:1 (AAA). 4 of 13 graded roles clear WCAG AA (4.5:1+); Faint (#B37E5D, 3.14:1), H1 (#C14A4A, 4.38:1), H2 (#C35E0A, 3.87:1), H3 (#6C782E, 4.37:1), H4 (#4C7A5D, 4.48:1), Accent (#E78A4E, 2.34:1), Code (#7DAEA3, 1.81:1), Selection (#654735, 4.07:1), and Highlight (#654735, 1.96:1) sit below 4.5:1 for softer contrast.

Background

#F9F5D7

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

    #654735

    7.60:1AAA

  • Muted

    #735145

    6.37:1AA

  • Faint

    #B37E5D

    3.14:1Fail

  • H1

    #C14A4A

    4.38:1Fail

  • H2

    #C35E0A

    3.87:1Fail

  • H3

    #6C782E

    4.37:1Fail

  • H4

    #4C7A5D

    4.48:1Fail

  • H5

    #45707A

    4.95:1AA

  • H6

    #945E80

    4.57:1AA

  • Accent

    #E78A4E

    2.34:1Fail

  • Code

    #7DAEA3on #EBDBB2

    1.81:1Fail

  • Selection

    #654735on #EA696299

    4.07:1Fail

  • Highlight

    #654735on #C35E0A

    1.96:1Fail

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.