TEAL DARK is a shadcn/ui theme built around a cyan primary color (#54afb9) with cyan accents (#42aaba). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#54afb9) on a neutral background (#1a1a1a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #1a1a1ablack |
| Foreground | #000000black | #fdfdfcwhite |
| Card | #ffffffwhite | #121212black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #ffffffwhite | #121212black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #54afb9cadetblue | #54afb9cadetblue |
| Primary foreground | #ffffffwhite | #000000black |
| Secondary | #3c6a93steelblue | #949ba7darkgray |
| Secondary foreground | #ffffffwhite | #000000black |
| Muted | #f2f4f7whitesmoke | #232323black |
| Muted foreground | #3e4147darkslategray | #7e7e7egray |
| Accent | #42aabalightseagreen | #54afb9cadetblue |
| Accent foreground | #ffffffwhite | #000000black |
| Destructive | #a7190cfirebrick | #f03d2dcrimson |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e8e6e3gainsboro | #141414black |
| Input | #e8e6e3gainsboro | #1a1a1ablack |
| Ring | #00afb8lightseagreen | #54afb9cadetblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 2.55:1 | Fail |
| Secondary button | 5.71:1 | AA |
| Muted text | 9.26:1 | AAA |
| Accent | 2.71:1 | Fail |
| Destructive | 7.54:1 | AAA |
| Text on background | 17.18:1 | AAA |
| Text on card | 18.45:1 | AAA |
| Primary button | 8.21:1 | AAA |
| Secondary button | 7.50:1 | AAA |
| Muted text | 3.85:1 | AA Large |
| Accent | 8.21:1 | AAA |
| Destructive | 5.43:1 | AA |
Paste this into your globals.css to use TEAL DARK in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.966 0.005 263.044);
--muted-foreground: oklch(0.374 0.011 262.975);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.926 0.004 83.059);
--input: oklch(0.926 0.004 83.059);
--primary: oklch(0.702 0.088 204.977);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.51 0.083 247.163);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.686 0.097 209.137);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.468 0.177 30.08);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.117 201.303);
--chart-1: oklch(0.702 0.088 204.977);
--chart-2: oklch(0.51 0.083 247.163);
--chart-3: oklch(0.686 0.097 209.137);
--chart-4: oklch(0.536 0.088 247.192);
--chart-5: oklch(0.709 0.092 205.078);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.216 0 180);
--foreground: oklch(0.993 0.001 83.055);
--muted: oklch(0.257 0 171.254);
--muted-foreground: oklch(0.592 0 164.055);
--popover: oklch(0.181 0 195.945);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.181 0 195.945);
--card-foreground: oklch(0.993 0.001 83.055);
--border: oklch(0.189 0 180);
--input: oklch(0.216 0 180);
--primary: oklch(0.702 0.088 204.977);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.688 0.019 262.984);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.702 0.088 204.977);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.631 0.217 29.653);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.702 0.088 204.977);
--chart-1: oklch(0.702 0.088 204.977);
--chart-2: oklch(0.688 0.019 262.984);
--chart-3: oklch(0.702 0.088 204.977);
--chart-4: oklch(0.713 0.017 262.995);
--chart-5: oklch(0.709 0.092 205.078);
}