Cultured for shadcn/ui

Cultured is a shadcn/ui theme built around a muted orange primary color (#806147) with muted yellow accents (#807d47). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted orange primary (#806147) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefcfbsnow
#000000black
Foreground
#040201black
#fcfaf8snow
Card
#fefcfbsnow
#000000black
Card foreground
#040201black
#fcfaf8snow
Popover
#fefcfbsnow
#000000black
Popover foreground
#040201black
#fcfaf8snow
Primary
#806147dimgray
#806147dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#804749sienna
#804749sienna
Secondary foreground
#fdfcfcsnow
#fdfcfcsnow
Muted
#e2d9dagainsboro
#261d1dblack
Muted foreground
#616161dimgray
#9e9e9edarkgray
Accent
#807d47olivedrab
#807d47olivedrab
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#681208maroon
#e42611orangered
Destructive foreground
#f9b2aalightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#806147dimgray
#806147dimgray

Contrast

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

Light mode
Text on background20.27:1AAA
Text on card20.27:1AAA
Primary button5.66:1AA
Secondary button7.04:1AAA
Muted text4.48:1AA Large
Accent4.22:1AA Large
Destructive7.13:1AAA
Dark mode
Text on background20.16:1AAA
Text on card20.16:1AAA
Primary button5.66:1AA
Secondary button7.04:1AAA
Muted text6.17:1AA
Accent4.22:1AA Large
Destructive4.58:1AA

CSS variables

Paste this into your globals.css to use Cultured in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 62.165);
  --foreground: oklch(0.093 0.01 70.313);
  --muted: oklch(0.893 0.01 13.834);
  --muted-foreground: oklch(0.492 0 180);
  --popover: oklch(0.993 0.002 62.165);
  --popover-foreground: oklch(0.093 0.01 70.313);
  --card: oklch(0.993 0.002 62.165);
  --card-foreground: oklch(0.093 0.01 70.313);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.517 0.056 60.383);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.467 0.079 17.383);
  --secondary-foreground: oklch(0.991 0.002 13.639);
  --accent: oklch(0.581 0.076 105.883);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.338 0.122 30.528);
  --destructive-foreground: oklch(0.827 0.084 26.144);
  --ring: oklch(0.517 0.056 60.383);
  --chart-1: oklch(0.517 0.056 60.383);
  --chart-2: oklch(0.467 0.079 17.383);
  --chart-3: oklch(0.581 0.076 105.883);
  --chart-4: oklch(0.492 0.084 17.425);
  --chart-5: oklch(0.519 0.062 60.126);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.985 0.003 62.156);
  --muted: oklch(0.24 0.015 14.846);
  --muted-foreground: oklch(0.7 0 180);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.985 0.003 62.156);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.985 0.003 62.156);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.517 0.056 60.383);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.467 0.079 17.383);
  --secondary-foreground: oklch(0.991 0.002 13.639);
  --accent: oklch(0.581 0.076 105.883);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.59 0.224 30.494);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.517 0.056 60.383);
  --chart-1: oklch(0.517 0.056 60.383);
  --chart-2: oklch(0.467 0.079 17.383);
  --chart-3: oklch(0.581 0.076 105.883);
  --chart-4: oklch(0.492 0.084 17.425);
  --chart-5: oklch(0.519 0.062 60.126);
}