All is a shadcn/ui theme built around a teal primary color (#267e56) with muted light teal accents (#cddad4). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the teal primary (#267e56) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #000000black |
| Foreground | #05140eblack | #f9fbfamintcream |
| Card | #f8fcfamintcream | #030303black |
| Card foreground | #04100bblack | #fcfdfdwhite |
| Popover | #fcfdfdwhite | #000000black |
| Popover foreground | #05140eblack | #f9fbfamintcream |
| Primary | #267e56seagreen | #267e56seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cddad4lightgrey | #1f2321black |
| Secondary foreground | #32433cdarkslategray | #b7bebasilver |
| Muted | #dcefe6gainsboro | #10231ablack |
| Muted foreground | #606261dimgray | #9d9f9edarkgray |
| Accent | #cddad4lightgrey | #1f2321black |
| Accent foreground | #32433cdarkslategray | #b7bebasilver |
| Destructive | #ac2011firebrick | #ea3d2acrimson |
| Destructive foreground | #fef2f1seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #267e56seagreen | #267e56seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.54:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 5.02:1 | AA |
| Secondary button | 7.28:1 | AAA |
| Muted text | 5.12:1 | AA |
| Accent | 7.28:1 | AAA |
| Destructive | 6.46:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 5.02:1 | AA |
| Secondary button | 8.39:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 8.39:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use All in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 167.749);
--foreground: oklch(0.176 0.027 163.788);
--muted: oklch(0.935 0.022 167.139);
--muted-foreground: oklch(0.494 0.003 167.656);
--popover: oklch(0.994 0.002 167.749);
--popover-foreground: oklch(0.176 0.027 163.788);
--card: oklch(0.987 0.005 167.684);
--card-foreground: oklch(0.16 0.023 165.433);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.529 0.104 159.717);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.877 0.016 167.297);
--secondary-foreground: oklch(0.367 0.026 165.65);
--accent: oklch(0.877 0.016 167.297);
--accent-foreground: oklch(0.367 0.026 165.65);
--destructive: oklch(0.482 0.177 30.512);
--destructive-foreground: oklch(0.971 0.012 25.097);
--ring: oklch(0.529 0.104 159.717);
--chart-1: oklch(0.529 0.104 159.717);
--chart-2: oklch(0.877 0.016 167.297);
--chart-3: oklch(0.877 0.016 167.297);
--chart-4: oklch(0.899 0.013 167.402);
--chart-5: oklch(0.536 0.108 159.293);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.003 167.74);
--muted: oklch(0.236 0.029 163.671);
--muted-foreground: oklch(0.701 0.003 167.712);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.003 167.74);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 167.776);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.529 0.104 159.717);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.251 0.006 167.185);
--secondary-foreground: oklch(0.794 0.009 167.505);
--accent: oklch(0.251 0.006 167.185);
--accent-foreground: oklch(0.794 0.009 167.505);
--destructive: oklch(0.619 0.212 30.321);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.529 0.104 159.717);
--chart-1: oklch(0.529 0.104 159.717);
--chart-2: oklch(0.251 0.006 167.185);
--chart-3: oklch(0.251 0.006 167.185);
--chart-4: oklch(0.284 0.007 167.147);
--chart-5: oklch(0.536 0.108 159.293);
}