Giant Serengeti Grass for shadcn/ui

Giant Serengeti Grass is a shadcn/ui theme built around a muted orange primary color (#ab9578) with muted blue accents (#788eab). The light mode uses a neutral background (#fefdfb). Dark mode keeps the muted orange primary (#ab9578) on an orange-tinted background (#0d0b07).

Color palette

TokenLightDark
Background
#fefdfbsnow
#0d0b07black
Foreground
#0d0802black
#fdfcfcsnow
Card
#fefdfbsnow
#0d0b07black
Card foreground
#0d0802black
#fdfcfcsnow
Popover
#fefdfbsnow
#0d0b07black
Popover foreground
#0d0802black
#fdfcfcsnow
Primary
#ab9578rosybrown
#ab9578rosybrown
Primary foreground
#000000black
#000000black
Secondary
#788eablightslategray
#788eablightslategray
Secondary foreground
#000000black
#000000black
Muted
#e4e8eclavender
#13161bblack
Muted foreground
#505c6ddimgray
#929fafdarkgray
Accent
#788eablightslategray
#788eablightslategray
Accent foreground
#000000black
#000000black
Destructive
#ce1b03firebrick
#fb2e13orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f0eeealinen
#26221cblack
Input
#f0eeealinen
#26221cblack
Ring
#ab9578rosybrown
#ab9578rosybrown

Contrast

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

Light mode
Text on background19.58:1AAA
Text on card19.58:1AAA
Primary button7.27:1AAA
Secondary button6.25:1AA
Muted text5.49:1AA
Accent6.25:1AA
Destructive5.55:1AA
Dark mode
Text on background19.21:1AAA
Text on card19.21:1AAA
Primary button7.27:1AAA
Secondary button6.25:1AA
Muted text6.71:1AA
Accent6.25:1AA
Destructive3.80:1AA Large

CSS variables

Paste this into your globals.css to use Giant Serengeti Grass in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 74.936);
  --foreground: oklch(0.14 0.019 82.76);
  --muted: oklch(0.928 0.007 254.994);
  --muted-foreground: oklch(0.472 0.03 255.211);
  --popover: oklch(0.994 0.003 74.936);
  --popover-foreground: oklch(0.14 0.019 82.76);
  --card: oklch(0.994 0.003 74.936);
  --card-foreground: oklch(0.14 0.019 82.76);
  --border: oklch(0.949 0.005 74.924);
  --input: oklch(0.949 0.005 74.924);
  --primary: oklch(0.681 0.048 74.28);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.64 0.05 255.251);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.64 0.05 255.251);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.543 0.211 30.731);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.681 0.048 74.28);
  --chart-1: oklch(0.681 0.048 74.28);
  --chart-2: oklch(0.64 0.05 255.251);
  --chart-3: oklch(0.64 0.05 255.251);
  --chart-4: oklch(0.666 0.046 255.225);
  --chart-5: oklch(0.684 0.054 74.147);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.15 0.01 76.594);
  --foreground: oklch(0.993 0.001 74.95);
  --muted: oklch(0.2 0.01 255.172);
  --muted-foreground: oklch(0.697 0.027 255.131);
  --popover: oklch(0.15 0.01 76.594);
  --popover-foreground: oklch(0.993 0.001 74.95);
  --card: oklch(0.15 0.01 76.594);
  --card-foreground: oklch(0.993 0.001 74.95);
  --border: oklch(0.254 0.012 74.568);
  --input: oklch(0.254 0.012 74.568);
  --primary: oklch(0.681 0.048 74.28);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.64 0.05 255.251);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.64 0.05 255.251);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.637 0.24 30.916);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.681 0.048 74.28);
  --chart-1: oklch(0.681 0.048 74.28);
  --chart-2: oklch(0.64 0.05 255.251);
  --chart-3: oklch(0.64 0.05 255.251);
  --chart-4: oklch(0.666 0.046 255.225);
  --chart-5: oklch(0.684 0.054 74.147);
}