Original for shadcn/ui

Original is a shadcn/ui theme built around a green primary color (#49b521) with muted green accents (#b0c9a6). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the green primary (#49b521) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#000000black
Foreground
#020401black
#f9fbf9mintcream
Card
#f9fcf8mintcream
#030303black
Card foreground
#000000black
#fcfdfcwhite
Popover
#fcfdfcwhite
#000000black
Popover foreground
#020401black
#f9fbf9mintcream
Primary
#49b521limegreen
#49b521limegreen
Primary foreground
#030902black
#030902black
Secondary
#c8d5c3lightgrey
#242c21darkslategray
Secondary foreground
#2f3c2adarkslategray
#bbc8b6silver
Muted
#d6e6d0gainsboro
#1f2f19black
Muted foreground
#455440darkslategray
#b0bfabdarkgray
Accent
#b0c9a6silver
#304229darkslategray
Accent foreground
#1b2617black
#c9dac3lightgrey
Destructive
#ac2a06firebrick
#f75426tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#49b521limegreen
#49b521limegreen

Contrast

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

Light mode
Text on background20.21:1AAA
Text on card20.25:1AAA
Primary button7.57:1AAA
Secondary button7.64:1AAA
Muted text6.21:1AA
Accent8.77:1AAA
Destructive6.78:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.28:1AAA
Primary button7.57:1AAA
Secondary button8.30:1AAA
Muted text7.38:1AAA
Accent7.39:1AAA
Destructive3.36:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 137.195);
  --foreground: oklch(0.098 0.016 135.6);
  --muted: oklch(0.908 0.034 137.28);
  --muted-foreground: oklch(0.428 0.038 137.426);
  --popover: oklch(0.993 0.002 137.195);
  --popover-foreground: oklch(0.098 0.016 135.6);
  --card: oklch(0.987 0.005 137.201);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.683 0.203 139.304);
  --primary-foreground: oklch(0.126 0.026 135.144);
  --secondary: oklch(0.858 0.029 137.27);
  --secondary-foreground: oklch(0.339 0.036 137.479);
  --accent: oklch(0.807 0.055 137.359);
  --accent-foreground: oklch(0.253 0.031 137.535);
  --destructive: oklch(0.491 0.171 34.26);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.683 0.203 139.304);
  --chart-1: oklch(0.683 0.203 139.304);
  --chart-2: oklch(0.858 0.029 137.27);
  --chart-3: oklch(0.807 0.055 137.359);
  --chart-4: oklch(0.88 0.024 137.255);
  --chart-5: oklch(0.691 0.208 139.441);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.003 137.197);
  --muted: oklch(0.283 0.045 137.689);
  --muted-foreground: oklch(0.788 0.033 137.291);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.003 137.197);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.002 137.193);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.683 0.203 139.304);
  --primary-foreground: oklch(0.126 0.026 135.144);
  --secondary: oklch(0.28 0.022 137.392);
  --secondary-foreground: oklch(0.818 0.028 137.272);
  --accent: oklch(0.356 0.047 137.58);
  --accent-foreground: oklch(0.869 0.035 137.286);
  --destructive: oklch(0.663 0.207 35.549);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.683 0.203 139.304);
  --chart-1: oklch(0.683 0.203 139.304);
  --chart-2: oklch(0.28 0.022 137.392);
  --chart-3: oklch(0.356 0.047 137.58);
  --chart-4: oklch(0.313 0.026 137.403);
  --chart-5: oklch(0.691 0.208 139.441);
}