Agreeable Eye Grey for shadcn/ui

Agreeable Eye Grey is a shadcn/ui theme built around a muted teal primary color (#587879) with muted light teal accents (#c6d6d7). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted teal primary (#587879) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#ffffffwhite
#030707black
Foreground
#030c0cblack
#f6f9f9whitesmoke
Card
#fcfcfcsnow
#040b0bblack
Card foreground
#020808black
#f9fbfbghostwhite
Popover
#fcfcfcsnow
#040b0bblack
Popover foreground
#020808black
#f9fbfbghostwhite
Primary
#587879dimgray
#587879dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e3e8e8gainsboro
#1b1d1dblack
Secondary foreground
#455354darkslategray
#b1b8b9silver
Muted
#d9e2e3gainsboro
#1c2626black
Muted foreground
#4b5353darkslategray
#acb4b4darkgray
Accent
#c6d6d7lightgrey
#293233darkslategray
Accent foreground
#2c3e3fdarkslategray
#c1cccdsilver
Destructive
#c8520echocolate
#f17832tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#ecefefwhitesmoke
#23292adarkslategray
Input
#ecefefwhitesmoke
#23292adarkslategray
Ring
#587879dimgray
#587879dimgray

Contrast

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

Light mode
Text on background19.77:1AAA
Text on card19.74:1AAA
Primary button4.81:1AA
Secondary button6.47:1AA
Muted text5.99:1AA
Accent7.49:1AAA
Destructive4.48:1AA Large
Dark mode
Text on background19.11:1AAA
Text on card19.13:1AAA
Primary button4.81:1AA
Secondary button8.39:1AAA
Muted text7.36:1AAA
Accent7.96:1AAA
Destructive7.45:1AAA

CSS variables

Paste this into your globals.css to use Agreeable Eye Grey in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.143 0.016 199.058);
  --muted: oklch(0.907 0.01 200.754);
  --muted-foreground: oklch(0.434 0.01 200.629);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.124 0.013 198.762);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.124 0.013 198.762);
  --border: oklch(0.949 0.003 200.847);
  --input: oklch(0.949 0.003 200.847);
  --primary: oklch(0.548 0.036 200.206);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.927 0.005 200.821);
  --secondary-foreground: oklch(0.431 0.018 200.418);
  --accent: oklch(0.864 0.017 200.657);
  --accent-foreground: oklch(0.348 0.022 200.226);
  --destructive: oklch(0.586 0.166 43.777);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.548 0.036 200.206);
  --chart-1: oklch(0.548 0.036 200.206);
  --chart-2: oklch(0.927 0.005 200.821);
  --chart-3: oklch(0.864 0.017 200.657);
  --chart-4: oklch(0.949 0.004 200.842);
  --chart-5: oklch(0.554 0.042 200.133);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.011 199.149);
  --foreground: oklch(0.979 0.003 200.847);
  --muted: oklch(0.258 0.013 200.331);
  --muted-foreground: oklch(0.763 0.008 200.755);
  --popover: oklch(0.14 0.012 199.3);
  --popover-foreground: oklch(0.986 0.002 200.861);
  --card: oklch(0.14 0.012 199.3);
  --card-foreground: oklch(0.986 0.002 200.861);
  --border: oklch(0.276 0.009 200.506);
  --input: oklch(0.276 0.009 200.506);
  --primary: oklch(0.548 0.036 200.206);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.229 0.004 200.68);
  --secondary-foreground: oklch(0.778 0.008 200.767);
  --accent: oklch(0.31 0.013 200.419);
  --accent-foreground: oklch(0.838 0.013 200.706);
  --destructive: oklch(0.702 0.169 47.122);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.548 0.036 200.206);
  --chart-1: oklch(0.548 0.036 200.206);
  --chart-2: oklch(0.229 0.004 200.68);
  --chart-3: oklch(0.31 0.013 200.419);
  --chart-4: oklch(0.262 0.005 200.666);
  --chart-5: oklch(0.554 0.042 200.133);
}