Beyond for shadcn/ui

Beyond is a shadcn/ui theme built around a yellow primary color (#6d5f37) with muted light yellow accents (#d6d2c7). The light mode uses a neutral background (#fefdfb). Dark mode keeps the yellow primary (#6d5f37) on a neutral background (#040301).

Color palette

TokenLightDark
Background
#fefdfbsnow
#040301black
Foreground
#090701black
#fcfbf8snow
Card
#fdfcf7snow
#080602black
Card foreground
#040401black
#fdfdfcwhite
Popover
#fefdfbsnow
#040301black
Popover foreground
#090701black
#fcfbf8snow
Primary
#6d5f37darkolivegreen
#6d5f37darkolivegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d6d2c7lightgrey
#1c1b17black
Secondary foreground
#3e3a2edarkslategray
#bbb7aadarkgray
Muted
#f1ece0beige
#1f1b0eblack
Muted foreground
#69624fdimgray
#b0aa96darkgray
Accent
#d6d2c7lightgrey
#1c1b17black
Accent foreground
#3e3a2edarkslategray
#bbb7aadarkgray
Destructive
#c2380afirebrick
#f56b3dtomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6d5f37darkolivegreen
#6d5f37darkolivegreen

Contrast

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

Light mode
Text on background19.84:1AAA
Text on card19.92:1AAA
Primary button6.29:1AA
Secondary button7.52:1AAA
Muted text5.15:1AA
Accent7.52:1AAA
Destructive5.43:1AA
Dark mode
Text on background19.90:1AAA
Text on card19.86:1AAA
Primary button6.29:1AA
Secondary button8.59:1AAA
Muted text7.37:1AAA
Accent8.59:1AAA
Destructive7.05:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.003 91.438);
  --foreground: oklch(0.128 0.02 97.67);
  --muted: oklch(0.944 0.018 91.563);
  --muted-foreground: oklch(0.497 0.03 91.791);
  --popover: oklch(0.995 0.003 91.438);
  --popover-foreground: oklch(0.128 0.02 97.67);
  --card: oklch(0.989 0.007 91.467);
  --card-foreground: oklch(0.102 0.016 97.67);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.489 0.06 91.581);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.864 0.015 91.557);
  --secondary-foreground: oklch(0.347 0.021 91.787);
  --accent: oklch(0.864 0.015 91.557);
  --accent-foreground: oklch(0.347 0.021 91.787);
  --destructive: oklch(0.543 0.181 35.917);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.489 0.06 91.581);
  --chart-1: oklch(0.489 0.06 91.581);
  --chart-2: oklch(0.864 0.015 91.557);
  --chart-3: oklch(0.864 0.015 91.557);
  --chart-4: oklch(0.886 0.013 91.532);
  --chart-5: oklch(0.494 0.065 91.471);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.011 95.931);
  --foreground: oklch(0.987 0.003 91.439);
  --muted: oklch(0.224 0.024 91.74);
  --muted-foreground: oklch(0.737 0.028 91.691);
  --popover: oklch(0.099 0.011 95.931);
  --popover-foreground: oklch(0.987 0.003 91.439);
  --card: oklch(0.125 0.014 95.931);
  --card-foreground: oklch(0.994 0.002 91.424);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.489 0.06 91.581);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.222 0.008 91.687);
  --secondary-foreground: oklch(0.778 0.018 91.598);
  --accent: oklch(0.222 0.008 91.687);
  --accent-foreground: oklch(0.778 0.018 91.598);
  --destructive: oklch(0.69 0.18 38.439);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.489 0.06 91.581);
  --chart-1: oklch(0.489 0.06 91.581);
  --chart-2: oklch(0.222 0.008 91.687);
  --chart-3: oklch(0.222 0.008 91.687);
  --chart-4: oklch(0.256 0.01 91.704);
  --chart-5: oklch(0.494 0.065 91.471);
}