test 2 is a shadcn/ui theme built around a vivid teal primary color (#0ea47a) with muted light teal accents (#c3dad3). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#0ea47a) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020303black |
| Foreground | #020e0ablack | #ffffffwhite |
| Card | #fcfcfcsnow | #040706black |
| Card foreground | #010907black | #ffffffwhite |
| Popover | #fcfcfcsnow | #040706black |
| Popover foreground | #010907black | #ffffffwhite |
| Primary | #0ea47adarkcyan | #0ea47adarkcyan |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dee8e5gainsboro | #222a28darkslategray |
| Secondary foreground | #3d5750darkslategray | #b9c6c2silver |
| Muted | #e7eeeclavender | #111816black |
| Muted foreground | #43514ddarkslategray | #aebcb8silver |
| Accent | #c3dad3lightgrey | #2c3f3adarkslategray |
| Accent foreground | #29423bdarkslategray | #c6d7d2lightgrey |
| Destructive | #652906saddlebrown | #f37a35coral |
| Destructive foreground | #fac3a3navajowhite | #000000black |
| Border | #e8eeeclavender | #1a2321black |
| Input | #e8eeeclavender | #1a2321black |
| Ring | #0ea47adarkcyan | #0ea47adarkcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.63:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 3.16:1 | AA Large |
| Secondary button | 6.26:1 | AA |
| Muted text | 7.06:1 | AAA |
| Accent | 7.36:1 | AAA |
| Destructive | 7.15:1 | AAA |
| Text on background | 20.62:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 3.16:1 | AA Large |
| Secondary button | 8.32:1 | AAA |
| Muted text | 9.18:1 | AAA |
| Accent | 7.46:1 | AAA |
| Destructive | 7.67:1 | AAA |
Paste this into your globals.css to use test 2 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.147 0.022 176.6);
--muted: oklch(0.943 0.007 177.487);
--muted-foreground: oklch(0.421 0.018 176.418);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.127 0.019 177.899);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.127 0.019 177.899);
--border: oklch(0.943 0.007 177.501);
--input: oklch(0.943 0.007 177.501);
--primary: oklch(0.639 0.13 166.173);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.923 0.011 177.352);
--secondary-foreground: oklch(0.434 0.034 175.152);
--accent: oklch(0.869 0.025 176.845);
--accent-foreground: oklch(0.356 0.033 174.639);
--destructive: oklch(0.362 0.097 45.301);
--destructive-foreground: oklch(0.858 0.076 51.45);
--ring: oklch(0.639 0.13 166.173);
--chart-1: oklch(0.639 0.13 166.173);
--chart-2: oklch(0.923 0.011 177.352);
--chart-3: oklch(0.869 0.025 176.845);
--chart-4: oklch(0.944 0.008 177.458);
--chart-5: oklch(0.646 0.133 165.809);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.006 177.798);
--foreground: oklch(1 0 180);
--muted: oklch(0.2 0.011 176.095);
--muted-foreground: oklch(0.783 0.016 177.125);
--popover: oklch(0.121 0.008 177.798);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.008 177.798);
--card-foreground: oklch(1 0 180);
--border: oklch(0.247 0.014 175.96);
--input: oklch(0.247 0.014 175.96);
--primary: oklch(0.639 0.13 166.173);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.277 0.011 176.46);
--secondary-foreground: oklch(0.814 0.015 177.178);
--accent: oklch(0.35 0.026 175.296);
--accent-foreground: oklch(0.865 0.02 177.033);
--destructive: oklch(0.709 0.169 47.29);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.639 0.13 166.173);
--chart-1: oklch(0.639 0.13 166.173);
--chart-2: oklch(0.277 0.011 176.46);
--chart-3: oklch(0.35 0.026 175.296);
--chart-4: oklch(0.309 0.013 176.402);
--chart-5: oklch(0.646 0.133 165.809);
}