Gruvbox

Retro-groove color scheme by morhetz. Warm, low-saturation earth tones organized into dark and light symmetric ramps (dark0..dark4, light0.. light4) plus three intensity tiers of seven accents (bright, neutral, faded). Designed for prolonged reading with reduced eyestrain. Dark mode uses dark0..dark4 as the canvas ramp with bright accents. Light mode uses light0..light4 and pairs with faded accents for warm paper-like contrast.

36 swatches 14 light roles 14 dark roles gruvboxeditorretrowarmdual-mode

Swatches

dark0-hard
#1D2021
Dark canvas, hard contrast variant.
dark0
#282828
Dark canvas, default medium contrast.
dark0-soft
#32302F
Dark canvas, soft contrast variant.
dark1
#3C3836
Dark elevated surface.
dark2
#504945
Dark active line / selection.
dark3
#665C54
Dark indent guides / muted.
dark4
#7C6F64
Dark mode comments / tertiary text.
gray
#928374
Neutral gray — comments in both modes.
light0-hard
#F9F5D7
Light canvas, hard contrast variant.
light0
#FBF1C7
Light canvas, default medium contrast.
light0-soft
#F2E5BC
Light canvas, soft contrast variant.
light1
#EBDBB2
Light elevated surface / dark mode primary text.
light2
#D5C4A1
Light active line / dark mode secondary text.
light3
#BDAE93
Light indent guides.
light4
#A89984
Light mode comments / tertiary text.
bright-red
#FB4934
Errors, deletions (dark mode).
bright-green
#B8BB26
Strings, successes (dark mode).
bright-yellow
#FABD2F
Warnings, types (dark mode).
bright-blue
#83A598
Functions, info (dark mode).
bright-purple
#D3869B
Constants, numbers (dark mode).
bright-aqua
#8EC07C
Operators, supports (dark mode).
bright-orange
#FE8019
Special, annotations (dark mode).
neutral-red
#CC241D
Errors (neutral intensity).
neutral-green
#98971A
Successes (neutral intensity).
neutral-yellow
#D79921
Warnings (neutral intensity).
neutral-blue
#458588
Info (neutral intensity).
neutral-purple
#B16286
Constants (neutral intensity).
neutral-aqua
#689D6A
Operators (neutral intensity).
neutral-orange
#D65D0E
Annotations (neutral intensity).
faded-red
#9D0006
Errors, deletions (light mode).
faded-green
#79740E
Strings, successes (light mode).
faded-yellow
#B57614
Warnings, types (light mode).
faded-blue
#076678
Functions, info (light mode).
faded-purple
#8F3F71
Constants, numbers (light mode).
faded-aqua
#427B58
Operators, supports (light mode).
faded-orange
#AF3A03
Special, annotations (light mode).

Mode role mappings

Light mode (14 roles)

accent → faded-purple
accent-hover → faded-orange
background → light0
error → faded-red
primary → faded-blue
primary-hover → faded-aqua
success → faded-green
surface → light1
surface-elevated → light0-hard
text-primary → dark0
text-secondary → dark1
text-tertiary → light4
warning → faded-yellow
warning-hover → faded-orange

Dark mode (14 roles)

accent → bright-purple
accent-hover → bright-orange
background → dark0
error → bright-red
primary → bright-blue
primary-hover → bright-aqua
success → bright-green
surface → dark1
surface-elevated → dark2
text-primary → light1
text-secondary → light2
text-tertiary → dark4
warning → bright-yellow
warning-hover → bright-orange

Provenance

Source
https://github.com/morhetz/gruvbox/blob/master/colors/gruvbox.vim
License
MIT
Attribution
Gruvbox by Pavel Pertsev (morhetz) — github.com/morhetz/gruvbox
Imported
2026-05-17
Notes
Hex values extracted directly from the s:gb dictionary assignments in gruvbox.vim. Three accent tiers (bright/neutral/faded) ship upstream; dark mode uses bright, light mode uses faded — per morhetz's relative-color mapping logic in the same file.