This is a shadcn/ui theme built around a light teal primary color (#eef7f3) with muted light teal accents (#c4cfca). The light mode uses a neutral background (#f6fdfa). Dark mode keeps the light teal primary (#eef7f3) on a teal-tinted background (#030c08).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfamintcream | #030c08black |
| Foreground | #020905black | #fcfdfdwhite |
| Card | #f2fdf8mintcream | #05100bblack |
| Card foreground | #010403black | #ffffffwhite |
| Popover | #f6fdfamintcream | #030c08black |
| Popover foreground | #020905black | #fcfdfdwhite |
| Primary | #eef7f3whitesmoke | #eef7f3whitesmoke |
| Primary foreground | #183428darkslategray | #183428darkslategray |
| Secondary | #d5d7d6lightgrey | #222b27darkslategray |
| Secondary foreground | #3c3e3ddarkslategray | #b8c7c0silver |
| Muted | #d4ece2gainsboro | #132b20black |
| Muted foreground | #4c5752darkslategray | #a8b3aedarkgray |
| Accent | #c4cfcalightgrey | #2b4037darkslategray |
| Accent foreground | #2b3631darkslategray | #c5d8cflightgrey |
| Destructive | #c62306firebrick | #f95234tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eef7f3whitesmoke | #eef7f3whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 12.30:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.85:1 | AAA |
| Destructive | 5.76:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 12.30:1 | AAA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 7.01:1 | AAA |
| Accent | 7.47:1 | AAA |
| Destructive | 6.26:1 | AA |
Paste this into your globals.css to use This in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.008 167.574);
--foreground: oklch(0.125 0.019 168.079);
--muted: oklch(0.924 0.029 166.918);
--muted-foreground: oklch(0.446 0.017 166.745);
--popover: oklch(0.989 0.008 167.574);
--popover-foreground: oklch(0.125 0.019 168.079);
--card: oklch(0.984 0.013 167.451);
--card-foreground: oklch(0.1 0.015 168.079);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.968 0.011 167.492);
--primary-foreground: oklch(0.299 0.041 163.12);
--secondary: oklch(0.878 0.002 167.748);
--secondary-foreground: oklch(0.363 0.004 167.522);
--accent: oklch(0.845 0.015 167.324);
--accent-foreground: oklch(0.32 0.017 166.289);
--destructive: oklch(0.533 0.2 31.661);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.968 0.011 167.492);
--chart-1: oklch(0.968 0.011 167.492);
--chart-2: oklch(0.878 0.002 167.748);
--chart-3: oklch(0.845 0.015 167.324);
--chart-4: oklch(0.901 0.002 167.762);
--chart-5: oklch(0.968 0.012 167.466);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.018 167.687);
--foreground: oklch(0.993 0.001 167.776);
--muted: oklch(0.264 0.037 163.049);
--muted-foreground: oklch(0.757 0.015 167.268);
--popover: oklch(0.142 0.018 167.687);
--popover-foreground: oklch(0.993 0.001 167.776);
--card: oklch(0.158 0.021 165.614);
--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.968 0.011 167.492);
--primary-foreground: oklch(0.299 0.041 163.12);
--secondary: oklch(0.278 0.015 166.244);
--secondary-foreground: oklch(0.816 0.019 167.146);
--accent: oklch(0.35 0.03 165.124);
--accent-foreground: oklch(0.865 0.023 167.067);
--destructive: oklch(0.665 0.208 32.374);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.968 0.011 167.492);
--chart-1: oklch(0.968 0.011 167.492);
--chart-2: oklch(0.278 0.015 166.244);
--chart-3: oklch(0.35 0.03 165.124);
--chart-4: oklch(0.311 0.017 166.171);
--chart-5: oklch(0.968 0.012 167.466);
}