Ultimate is a shadcn/ui theme built around a teal primary color (#347f83) with muted teal accents (#a7c2c3). The light mode uses a neutral background (#fbfefe). Dark mode keeps the teal primary (#347f83) on a neutral background (#020304).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #020304black |
| Foreground | #010405black | #fcfdfdwhite |
| Card | #fbfefewhite | #020304black |
| Card foreground | #010405black | #fcfdfdwhite |
| Popover | #fbfefewhite | #020304black |
| Popover foreground | #010405black | #fcfdfdwhite |
| Primary | #347f83seagreen | #347f83seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cad3d3lightgrey | #1f2828darkslategray |
| Secondary foreground | #303a3bdarkslategray | #b5c4c5silver |
| Muted | #eceeefwhitesmoke | #101313black |
| Muted foreground | #4f4f4fdarkslategray | #b0b0b0darkgray |
| Accent | #a7c2c3silver | #2e4142darkslategray |
| Accent foreground | #172121black | #c9d9d9lightgrey |
| Destructive | #d60700red | #f00800red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #347f83seagreen | #347f83seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 4.63:1 | AA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 7.05:1 | AAA |
| Accent | 8.71:1 | AAA |
| Destructive | 5.38:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 4.63:1 | AA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 8.59:1 | AAA |
| Accent | 7.36:1 | AAA |
| Destructive | 4.44:1 | AA Large |
Paste this into your globals.css to use Ultimate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 200.857);
--foreground: oklch(0.101 0.014 198.22);
--muted: oklch(0.948 0.003 200.852);
--muted-foreground: oklch(0.428 0 180);
--popover: oklch(0.994 0.003 200.857);
--popover-foreground: oklch(0.101 0.014 198.22);
--card: oklch(0.994 0.003 200.857);
--card-foreground: oklch(0.101 0.014 198.22);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.553 0.074 200.019);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.86 0.01 200.748);
--secondary-foreground: oklch(0.341 0.014 200.442);
--accent: oklch(0.794 0.029 200.476);
--accent-foreground: oklch(0.238 0.014 200.253);
--destructive: oklch(0.552 0.224 29.557);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.553 0.074 200.019);
--chart-1: oklch(0.553 0.074 200.019);
--chart-2: oklch(0.86 0.01 200.748);
--chart-3: oklch(0.794 0.029 200.476);
--chart-4: oklch(0.882 0.008 200.774);
--chart-5: oklch(0.559 0.077 200.05);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.007 199.343);
--foreground: oklch(0.993 0.001 200.878);
--muted: oklch(0.184 0.004 200.616);
--muted-foreground: oklch(0.757 0 180);
--popover: oklch(0.096 0.007 199.343);
--popover-foreground: oklch(0.993 0.001 200.878);
--card: oklch(0.096 0.007 199.343);
--card-foreground: oklch(0.993 0.001 200.878);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.553 0.074 200.019);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.267 0.012 200.411);
--secondary-foreground: oklch(0.809 0.017 200.647);
--accent: oklch(0.36 0.024 200.197);
--accent-foreground: oklch(0.872 0.017 200.659);
--destructive: oklch(0.601 0.244 29.514);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.553 0.074 200.019);
--chart-1: oklch(0.553 0.074 200.019);
--chart-2: oklch(0.267 0.012 200.411);
--chart-3: oklch(0.36 0.024 200.197);
--chart-4: oklch(0.3 0.014 200.391);
--chart-5: oklch(0.559 0.077 200.05);
}