Large for shadcn/ui

Large is a shadcn/ui theme built around a vivid deep green primary color (#2d8d07) with muted light green accents (#bed2b6). The light mode uses a neutral background (#fcfefb). Dark mode keeps the vivid deep green primary (#2d8d07) on a green-tinted background (#070a05).

Color palette

TokenLightDark
Background
#fcfefbwhite
#070a05black
Foreground
#020401black
#ffffffwhite
Card
#fcfefbwhite
#070a05black
Card foreground
#020401black
#ffffffwhite
Popover
#fcfefbwhite
#070a05black
Popover foreground
#020401black
#ffffffwhite
Primary
#2d8d07forestgreen
#2d8d07forestgreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d6dfd3gainsboro
#1e201dblack
Secondary foreground
#3b4a36darkslategray
#b6bab5silver
Muted
#d4e4cdlightgrey
#21321bdarkslategray
Muted foreground
#424242darkslategray
#bdbdbdsilver
Accent
#bed2b6silver
#303a2cdarkslategray
Accent foreground
#273621darkslategray
#c9d3c5lightgrey
Destructive
#ad4410saddlebrown
#ec7336tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2d8d07forestgreen
#2d8d07forestgreen

Contrast

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

Light mode
Text on background20.30:1AAA
Text on card20.30:1AAA
Primary button4.28:1AA Large
Secondary button6.91:1AA
Muted text7.56:1AAA
Accent8.02:1AAA
Destructive5.81:1AA
Dark mode
Text on background19.92:1AAA
Text on card19.92:1AAA
Primary button4.28:1AA Large
Secondary button8.35:1AAA
Muted text7.29:1AAA
Accent7.72:1AAA
Destructive7.08:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.005 136.625);
  --foreground: oklch(0.101 0.021 134.561);
  --muted: oklch(0.901 0.035 136.73);
  --muted-foreground: oklch(0.38 0 180);
  --popover: oklch(0.995 0.005 136.625);
  --popover-foreground: oklch(0.101 0.021 134.561);
  --card: oklch(0.995 0.005 136.625);
  --card-foreground: oklch(0.101 0.021 134.561);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.564 0.178 139.796);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.893 0.019 136.673);
  --secondary-foreground: oklch(0.39 0.038 136.941);
  --accent: oklch(0.842 0.044 136.772);
  --accent-foreground: oklch(0.312 0.041 137.087);
  --destructive: oklch(0.522 0.149 42.187);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.564 0.178 139.796);
  --chart-1: oklch(0.564 0.178 139.796);
  --chart-2: oklch(0.893 0.019 136.673);
  --chart-3: oklch(0.842 0.044 136.772);
  --chart-4: oklch(0.915 0.015 136.658);
  --chart-5: oklch(0.569 0.181 139.918);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.013 135.699);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.294 0.045 137.207);
  --muted-foreground: oklch(0.797 0 180);
  --popover: oklch(0.138 0.013 135.699);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.138 0.013 135.699);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.564 0.178 139.796);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.24 0.005 136.675);
  --secondary-foreground: oklch(0.785 0.009 136.644);
  --accent: oklch(0.334 0.026 136.862);
  --accent-foreground: oklch(0.855 0.021 136.682);
  --destructive: oklch(0.689 0.167 44.661);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.564 0.178 139.796);
  --chart-1: oklch(0.564 0.178 139.796);
  --chart-2: oklch(0.24 0.005 136.675);
  --chart-3: oklch(0.334 0.026 136.862);
  --chart-4: oklch(0.273 0.006 136.68);
  --chart-5: oklch(0.569 0.181 139.918);
}