Mountainous for shadcn/ui

Mountainous is a shadcn/ui theme built around a muted yellow primary color (#c5c4af) with muted green accents (#bbc5af). The light mode uses a neutral background (#fefefb). Dark mode keeps the muted yellow primary (#c5c4af) on a neutral background (#070703).

Color palette

TokenLightDark
Background
#fefefbwhite
#070703black
Foreground
#141405black
#fbfbf8snow
Card
#fefefbwhite
#070703black
Card foreground
#141405black
#fbfbf8snow
Popover
#fefefbwhite
#070703black
Popover foreground
#141405black
#fbfbf8snow
Primary
#c5c4afsilver
#c5c4afsilver
Primary foreground
#26261cblack
#26261cblack
Secondary
#c5b9afsilver
#c5b9afsilver
Secondary foreground
#26211cblack
#26211cblack
Muted
#f6efealinen
#150f09black
Muted foreground
#493f37darkslategray
#c8bfb6silver
Accent
#bbc5afsilver
#bbc5afsilver
Accent foreground
#22261cblack
#22261cblack
Destructive
#840701maroon
#fe2116red
Destructive foreground
#ffbbb8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c5c4afsilver
#c5c4afsilver

Contrast

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

Light mode
Text on background18.35:1AAA
Text on card18.35:1AAA
Primary button8.66:1AAA
Secondary button8.33:1AAA
Muted text9.01:1AAA
Accent8.61:1AAA
Destructive6.48:1AA
Dark mode
Text on background19.44:1AAA
Text on card19.44:1AAA
Primary button8.66:1AAA
Secondary button8.33:1AAA
Muted text10.48:1AAA
Accent8.61:1AAA
Destructive3.86:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.004 104.881);
  --foreground: oklch(0.186 0.027 107.103);
  --muted: oklch(0.957 0.01 63.951);
  --muted-foreground: oklch(0.375 0.019 63.395);
  --popover: oklch(0.996 0.004 104.881);
  --popover-foreground: oklch(0.186 0.027 107.103);
  --card: oklch(0.996 0.004 104.881);
  --card-foreground: oklch(0.186 0.027 107.103);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.816 0.029 105.414);
  --primary-foreground: oklch(0.266 0.018 105.935);
  --secondary: oklch(0.794 0.02 63.77);
  --secondary-foreground: oklch(0.252 0.013 63.41);
  --accent: oklch(0.81 0.032 127.61);
  --accent-foreground: oklch(0.262 0.02 128.111);
  --destructive: oklch(0.388 0.155 30.034);
  --destructive-foreground: oklch(0.854 0.078 22.248);
  --ring: oklch(0.816 0.029 105.414);
  --chart-1: oklch(0.816 0.029 105.414);
  --chart-2: oklch(0.794 0.02 63.77);
  --chart-3: oklch(0.81 0.032 127.61);
  --chart-4: oklch(0.817 0.017 63.817);
  --chart-5: oklch(0.822 0.034 105.515);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.014 106.851);
  --foreground: oklch(0.988 0.004 104.879);
  --muted: oklch(0.174 0.016 62.782);
  --muted-foreground: oklch(0.809 0.016 63.839);
  --popover: oklch(0.127 0.014 106.851);
  --popover-foreground: oklch(0.988 0.004 104.879);
  --card: oklch(0.127 0.014 106.851);
  --card-foreground: oklch(0.988 0.004 104.879);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.816 0.029 105.414);
  --primary-foreground: oklch(0.266 0.018 105.935);
  --secondary: oklch(0.794 0.02 63.77);
  --secondary-foreground: oklch(0.252 0.013 63.41);
  --accent: oklch(0.81 0.032 127.61);
  --accent-foreground: oklch(0.262 0.02 128.111);
  --destructive: oklch(0.635 0.248 29.392);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.816 0.029 105.414);
  --chart-1: oklch(0.816 0.029 105.414);
  --chart-2: oklch(0.794 0.02 63.77);
  --chart-3: oklch(0.81 0.032 127.61);
  --chart-4: oklch(0.817 0.017 63.817);
  --chart-5: oklch(0.822 0.034 105.515);
}