Committee for shadcn/ui

Committee is a shadcn/ui theme built around a vivid green primary color (#6dfe2a) with vivid pink accents (#fe2a6d). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the vivid green primary (#6dfe2a) on a neutral background (#050704).

Color palette

TokenLightDark
Background
#f9fcf8mintcream
#050704black
Foreground
#040802black
#ffffffwhite
Card
#f9fcf8mintcream
#050704black
Card foreground
#040802black
#ffffffwhite
Popover
#f9fcf8mintcream
#050704black
Popover foreground
#040802black
#ffffffwhite
Primary
#6dfe2alawngreen
#6dfe2alawngreen
Primary foreground
#1d5b00darkgreen
#1d5b00darkgreen
Secondary
#2a6dfedodgerblue
#2a6dfedodgerblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eaecf0lavender
#0f1115black
Muted foreground
#4d5056darkslategray
#a9acb2darkgray
Accent
#fe2a6ddeeppink
#fe2a6ddeeppink
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#c00f02firebrick
#e81202red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6dfe2alawngreen
#6dfe2alawngreen

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.50:1AAA
Primary button6.21:1AA
Secondary button4.45:1AA Large
Muted text6.83:1AA
Accent3.64:1AA Large
Destructive6.35:1AA
Dark mode
Text on background20.26:1AAA
Text on card20.26:1AAA
Primary button6.21:1AA
Secondary button4.45:1AA Large
Muted text8.32:1AAA
Accent3.64:1AA Large
Destructive4.64:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 135.454);
  --foreground: oklch(0.126 0.023 133.655);
  --muted: oklch(0.943 0.006 265.978);
  --muted-foreground: oklch(0.43 0.012 265.863);
  --popover: oklch(0.988 0.006 135.454);
  --popover-foreground: oklch(0.126 0.023 133.655);
  --card: oklch(0.988 0.006 135.454);
  --card-foreground: oklch(0.126 0.023 133.655);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.882 0.263 138.588);
  --primary-foreground: oklch(0.416 0.131 138.987);
  --secondary: oklch(0.582 0.226 262.76);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.651 0.241 10.083);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.511 0.204 29.914);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.882 0.263 138.588);
  --chart-1: oklch(0.882 0.263 138.588);
  --chart-2: oklch(0.582 0.226 262.76);
  --chart-3: oklch(0.651 0.241 10.083);
  --chart-4: oklch(0.607 0.211 262.955);
  --chart-5: oklch(0.889 0.268 138.712);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.011 134.538);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.176 0.009 265.694);
  --muted-foreground: oklch(0.743 0.01 265.941);
  --popover: oklch(0.121 0.011 134.538);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.121 0.011 134.538);
  --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.882 0.263 138.588);
  --primary-foreground: oklch(0.416 0.131 138.987);
  --secondary: oklch(0.582 0.226 262.76);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.651 0.241 10.083);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.589 0.236 29.807);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.882 0.263 138.588);
  --chart-1: oklch(0.882 0.263 138.588);
  --chart-2: oklch(0.582 0.226 262.76);
  --chart-3: oklch(0.651 0.241 10.083);
  --chart-4: oklch(0.607 0.211 262.955);
  --chart-5: oklch(0.889 0.268 138.712);
}