Ultimate is a shadcn/ui theme built around a vivid teal primary color (#6dfdbc) with muted light teal accents (#d4ddd9). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the vivid teal primary (#6dfdbc) on a teal-tinted background (#040b08).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfdwhite | #040b08black |
| Foreground | #040c08black | #ffffffwhite |
| Card | #f8fcfamintcream | #050f0bblack |
| Card foreground | #020805black | #ffffffwhite |
| Popover | #fbfdfdwhite | #040b08black |
| Popover foreground | #040c08black | #ffffffwhite |
| Primary | #6dfdbcaquamarine | #6dfdbcaquamarine |
| Primary foreground | #01371fdarkgreen | #01371fdarkgreen |
| Secondary | #e9eceblavender | #232927darkslategray |
| Secondary foreground | #4d5652darkslategray | #bac4c0silver |
| Muted | #e8f2eewhitesmoke | #0d1712black |
| Muted foreground | #505352darkslategray | #acafaedarkgray |
| Accent | #d4ddd9gainsboro | #2a3c34darkslategray |
| Accent foreground | #384741darkslategray | #c3d5cdlightgrey |
| Destructive | #dd5608chocolate | #f76918chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6dfdbcaquamarine | #6dfdbcaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.44:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 10.46:1 | AAA |
| Secondary button | 6.37:1 | AA |
| Muted text | 6.81:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 3.86:1 | AA Large |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 10.46:1 | AAA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 8.27:1 | AAA |
| Accent | 7.67:1 | AAA |
| Destructive | 6.99:1 | AA |
Paste this into your globals.css to use Ultimate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 167.747);
--foreground: oklch(0.142 0.017 167.726);
--muted: oklch(0.953 0.013 167.444);
--muted-foreground: oklch(0.44 0.005 167.507);
--popover: oklch(0.994 0.002 167.747);
--popover-foreground: oklch(0.142 0.017 167.726);
--card: oklch(0.987 0.005 167.681);
--card-foreground: oklch(0.123 0.015 168.028);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.898 0.155 161.298);
--primary-foreground: oklch(0.298 0.07 157.345);
--secondary: oklch(0.94 0.003 167.724);
--secondary-foreground: oklch(0.445 0.014 166.898);
--accent: oklch(0.89 0.011 167.457);
--accent-foreground: oklch(0.384 0.023 166.055);
--destructive: oklch(0.624 0.184 42.479);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.898 0.155 161.298);
--chart-1: oklch(0.898 0.155 161.298);
--chart-2: oklch(0.94 0.003 167.724);
--chart-3: oklch(0.89 0.011 167.457);
--chart-4: oklch(0.963 0.002 167.759);
--chart-5: oklch(0.902 0.159 161.102);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.016 167.815);
--foreground: oklch(1 0 180);
--muted: oklch(0.193 0.018 164.913);
--muted-foreground: oklch(0.751 0.004 167.657);
--popover: oklch(0.141 0.016 167.815);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.157 0.019 165.87);
--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.898 0.155 161.298);
--primary-foreground: oklch(0.298 0.07 157.345);
--secondary: oklch(0.275 0.01 166.767);
--secondary-foreground: oklch(0.812 0.013 167.368);
--accent: oklch(0.337 0.026 165.431);
--accent-foreground: oklch(0.857 0.022 167.102);
--destructive: oklch(0.688 0.191 44.249);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.898 0.155 161.298);
--chart-1: oklch(0.898 0.155 161.298);
--chart-2: oklch(0.275 0.01 166.767);
--chart-3: oklch(0.337 0.026 165.431);
--chart-4: oklch(0.307 0.012 166.718);
--chart-5: oklch(0.902 0.159 161.102);
}