Complicated for shadcn/ui

Complicated is a shadcn/ui theme built around a deep green primary color (#071d0e) with muted green accents (#b2bdb5). The light mode uses a neutral background (#fbfefc). Dark mode keeps the deep green primary (#071d0e) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefcwhite
#000000black
Foreground
#06130ablack
#f6f9f7whitesmoke
Card
#fbfefcwhite
#000000black
Card foreground
#06130ablack
#f6f9f7whitesmoke
Popover
#fbfefcwhite
#000000black
Popover foreground
#06130ablack
#f6f9f7whitesmoke
Primary
#071d0eblack
#071d0eblack
Primary foreground
#30c05bmediumseagreen
#30c05bmediumseagreen
Secondary
#d0d2d1lightgrey
#273a2ddarkslategray
Secondary foreground
#363a37darkslategray
#bfd4c5silver
Muted
#d6dbd8gainsboro
#242925darkslategray
Muted foreground
#5c5c5cdimgray
#a3a3a3darkgray
Accent
#b2bdb5silver
#2e5239darkslategray
Accent foreground
#1c211eblack
#cee3d4lightgrey
Destructive
#bd0805firebrick
#fa2d29crimson
Destructive foreground
#fff5f5lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#071d0eblack
#071d0eblack

Contrast

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

Light mode
Text on background18.67:1AAA
Text on card18.67:1AAA
Primary button7.42:1AAA
Secondary button7.62:1AAA
Muted text4.78:1AA
Accent8.45:1AAA
Destructive6.13:1AA
Dark mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button7.42:1AAA
Secondary button7.76:1AAA
Muted text5.87:1AA
Accent6.56:1AA
Destructive3.85:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 155.808);
  --foreground: oklch(0.172 0.028 153.195);
  --muted: oklch(0.888 0.008 155.703);
  --muted-foreground: oklch(0.474 0 198.435);
  --popover: oklch(0.994 0.003 155.808);
  --popover-foreground: oklch(0.172 0.028 153.195);
  --card: oklch(0.994 0.003 155.808);
  --card-foreground: oklch(0.172 0.028 153.195);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.206 0.041 151.361);
  --primary-foreground: oklch(0.711 0.185 148.626);
  --secondary: oklch(0.863 0.004 155.781);
  --secondary-foreground: oklch(0.344 0.006 155.527);
  --accent: oklch(0.788 0.017 155.457);
  --accent-foreground: oklch(0.242 0.01 155.086);
  --destructive: oklch(0.504 0.203 29.184);
  --destructive-foreground: oklch(0.978 0.01 18.523);
  --ring: oklch(0.206 0.041 151.361);
  --chart-1: oklch(0.206 0.041 151.361);
  --chart-2: oklch(0.863 0.004 155.781);
  --chart-3: oklch(0.788 0.017 155.457);
  --chart-4: oklch(0.886 0.003 155.798);
  --chart-5: oklch(0.208 0.042 151.215);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.979 0.004 155.798);
  --muted: oklch(0.274 0.01 155.138);
  --muted-foreground: oklch(0.716 0 165.964);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.979 0.004 155.798);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.979 0.004 155.798);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.206 0.041 151.361);
  --primary-foreground: oklch(0.711 0.185 148.626);
  --secondary: oklch(0.328 0.035 153.65);
  --secondary-foreground: oklch(0.85 0.031 155.16);
  --accent: oklch(0.402 0.059 152.595);
  --accent-foreground: oklch(0.897 0.03 155.207);
  --destructive: oklch(0.634 0.237 27.929);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.206 0.041 151.361);
  --chart-1: oklch(0.206 0.041 151.361);
  --chart-2: oklch(0.328 0.035 153.65);
  --chart-3: oklch(0.402 0.059 152.595);
  --chart-4: oklch(0.36 0.039 153.58);
  --chart-5: oklch(0.208 0.042 151.215);
}