Best is a shadcn/ui theme built around a vivid light cyan primary color (#93dff0) with vivid light green accents (#dff093). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the vivid light cyan primary (#93dff0) on a cyan-tinted background (#050d0f).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #050d0fblack |
| Foreground | #010304black | #f6f8f9whitesmoke |
| Card | #f5f9faghostwhite | #071113black |
| Card foreground | #000000black | #f9fbfbghostwhite |
| Popover | #f5f9faghostwhite | #071113black |
| Popover foreground | #000000black | #f9fbfbghostwhite |
| Primary | #93dff0skyblue | #93dff0skyblue |
| Primary foreground | #0a3c48darkslategray | #0a3c48darkslategray |
| Secondary | #f093dfviolet | #f093dfviolet |
| Secondary foreground | #480a3cindigo | #480a3cindigo |
| Muted | #e8cae2thistle | #351730darkslategray |
| Muted foreground | #463944darkslategray | #c6b9c3silver |
| Accent | #dff093khaki | #dff093khaki |
| Accent foreground | #3c480adarkolivegreen | #3c480adarkolivegreen |
| Destructive | #720904maroon | #f8180dred |
| Destructive foreground | #fcafablightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #93dff0skyblue | #93dff0skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 7.23:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 18.37:1 | AAA |
| Text on card | 18.45:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 8.43:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 4.10:1 | AA Large |
Paste this into your globals.css to use Best in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.003 212.664);
--foreground: oklch(0.096 0.009 209.085);
--muted: oklch(0.871 0.046 332.143);
--muted-foreground: oklch(0.363 0.025 332.337);
--popover: oklch(0.979 0.005 212.665);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.979 0.005 212.665);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.861 0.078 213.392);
--primary-foreground: oklch(0.332 0.054 216.873);
--secondary: oklch(0.784 0.146 333.851);
--secondary-foreground: oklch(0.282 0.109 336.875);
--accent: oklch(0.923 0.118 117.267);
--accent-foreground: oklch(0.378 0.083 119.944);
--destructive: oklch(0.352 0.137 29.744);
--destructive-foreground: oklch(0.827 0.092 22.584);
--ring: oklch(0.861 0.078 213.392);
--chart-1: oklch(0.861 0.078 213.392);
--chart-2: oklch(0.784 0.146 333.851);
--chart-3: oklch(0.923 0.118 117.267);
--chart-4: oklch(0.809 0.128 333.492);
--chart-5: oklch(0.863 0.081 213.448);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.014 211.761);
--foreground: oklch(0.978 0.003 212.663);
--muted: oklch(0.26 0.061 334.46);
--muted-foreground: oklch(0.799 0.02 331.763);
--popover: oklch(0.167 0.016 212.837);
--popover-foreground: oklch(0.986 0.002 212.663);
--card: oklch(0.167 0.016 212.837);
--card-foreground: oklch(0.986 0.002 212.663);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.861 0.078 213.392);
--primary-foreground: oklch(0.332 0.054 216.873);
--secondary: oklch(0.784 0.146 333.851);
--secondary-foreground: oklch(0.282 0.109 336.875);
--accent: oklch(0.923 0.118 117.267);
--accent-foreground: oklch(0.378 0.083 119.944);
--destructive: oklch(0.62 0.246 29.49);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.861 0.078 213.392);
--chart-1: oklch(0.861 0.078 213.392);
--chart-2: oklch(0.784 0.146 333.851);
--chart-3: oklch(0.923 0.118 117.267);
--chart-4: oklch(0.809 0.128 333.492);
--chart-5: oklch(0.863 0.081 213.448);
}