gruvboxConcoctis dark soft for shadcn/ui

gruvboxConcoctis dark soft is a shadcn/ui theme built around a muted orange primary color (#7d6f64) with neutral gray accents (#595654). The light mode uses a neutral background (#32302f). Dark mode keeps the muted orange primary (#7d6f64) on a neutral background (#32302f).

Color palette

TokenLightDark
Background
#32302fdarkslategray
#32302fdarkslategray
Foreground
#d3bd97tan
#d3bd97tan
Card
#2d2b2adarkslategray
#2d2b2adarkslategray
Card foreground
#dbc8a9wheat
#dbc8a9wheat
Popover
#2a2828darkslategray
#2a2828darkslategray
Popover foreground
#e2d4bbwheat
#e2d4bbwheat
Primary
#7d6f64dimgray
#7d6f64dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c0bfbfsilver
#c0bfbfsilver
Secondary foreground
#272626darkslategray
#272626darkslategray
Muted
#423834darkslategray
#423834darkslategray
Muted foreground
#c2b7b2silver
#c2b7b2silver
Accent
#595654dimgray
#595654dimgray
Accent foreground
#f0f0efwhitesmoke
#f0f0efwhitesmoke
Destructive
#f13f3btomato
#f13f3btomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#3d3d3ddarkslategray
#3d3d3ddarkslategray
Input
#454545darkslategray
#454545darkslategray
Ring
#7d6f64dimgray
#7d6f64dimgray

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background7.19:1AAA
Text on card8.63:1AAA
Primary button4.83:1AA
Secondary button8.23:1AAA
Muted text5.78:1AA
Accent6.39:1AA
Destructive3.80:1AA Large
Dark mode
Text on background7.19:1AAA
Text on card8.63:1AAA
Primary button4.83:1AA
Secondary button8.23:1AAA
Muted text5.78:1AA
Accent6.39:1AA
Destructive3.80:1AA Large

CSS variables

Paste this into your globals.css to use gruvboxConcoctis dark soft in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.311 0.003 48.623);
  --foreground: oklch(0.808 0.057 81.216);
  --muted: oklch(0.35 0.016 48.255);
  --muted-foreground: oklch(0.788 0.015 48.528);
  --popover: oklch(0.28 0.003 48.628);
  --popover-foreground: oklch(0.875 0.037 81.421);
  --card: oklch(0.29 0.003 48.626);
  --card-foreground: oklch(0.841 0.047 81.34);
  --border: oklch(0.361 0 180);
  --input: oklch(0.39 0 165.964);
  --primary: oklch(0.552 0.024 63.506);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.806 0.001 64.072);
  --secondary-foreground: oklch(0.27 0.001 64.048);
  --accent: oklch(0.455 0.005 48.609);
  --accent-foreground: oklch(0.954 0.001 48.741);
  --destructive: oklch(0.635 0.216 26.614);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.024 63.506);
  --chart-1: oklch(0.552 0.024 63.506);
  --chart-2: oklch(0.806 0.001 64.072);
  --chart-3: oklch(0.455 0.005 48.609);
  --chart-4: oklch(0.83 0.001 64.074);
  --chart-5: oklch(0.554 0.031 63.329);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.311 0.003 48.623);
  --foreground: oklch(0.808 0.057 81.216);
  --muted: oklch(0.35 0.016 48.255);
  --muted-foreground: oklch(0.788 0.015 48.528);
  --popover: oklch(0.28 0.003 48.628);
  --popover-foreground: oklch(0.875 0.037 81.421);
  --card: oklch(0.29 0.003 48.626);
  --card-foreground: oklch(0.841 0.047 81.34);
  --border: oklch(0.361 0 180);
  --input: oklch(0.39 0 165.964);
  --primary: oklch(0.552 0.024 63.506);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.806 0.001 64.072);
  --secondary-foreground: oklch(0.27 0.001 64.048);
  --accent: oklch(0.455 0.005 48.609);
  --accent-foreground: oklch(0.954 0.001 48.741);
  --destructive: oklch(0.635 0.216 26.614);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.024 63.506);
  --chart-1: oklch(0.552 0.024 63.506);
  --chart-2: oklch(0.806 0.001 64.072);
  --chart-3: oklch(0.455 0.005 48.609);
  --chart-4: oklch(0.83 0.001 64.074);
  --chart-5: oklch(0.554 0.031 63.329);
}