Turbulent is a shadcn/ui theme built around a vivid light orange primary color (#fef2e7) with vivid light yellow accents (#fefee7). The light mode uses a neutral background (#fdfcfb). Dark mode keeps the vivid light orange primary (#fef2e7) on an orange-tinted background (#0b0804).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfbsnow | #0b0804black |
| Foreground | #150c05black | #f8f7f7whitesmoke |
| Card | #fdfcfbsnow | #0b0804black |
| Card foreground | #150c05black | #f8f7f7whitesmoke |
| Popover | #fdfcfbsnow | #0b0804black |
| Popover foreground | #150c05black | #f8f7f7whitesmoke |
| Primary | #fef2e7oldlace | #fef2e7oldlace |
| Primary foreground | #492503maroon | #492503maroon |
| Secondary | #fee7e7mistyrose | #fee7e7mistyrose |
| Secondary foreground | #ab070adarkred | #ab070adarkred |
| Muted | #e1dbdbgainsboro | #241e1eblack |
| Muted foreground | #453b3bdarkslategray | #c4babasilver |
| Accent | #fefee7lightyellow | #fefee7lightyellow |
| Accent foreground | #494803darkolivegreen | #494803darkolivegreen |
| Destructive | #96380dsaddlebrown | #ec6627chocolate |
| Destructive foreground | #fce4d9antiquewhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fef2e7oldlace | #fef2e7oldlace |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.92:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 12.29:1 | AAA |
| Secondary button | 6.41:1 | AA |
| Muted text | 7.88:1 | AAA |
| Accent | 9.26:1 | AAA |
| Destructive | 5.98:1 | AA |
| Text on background | 18.71:1 | AAA |
| Text on card | 18.71:1 | AAA |
| Primary button | 12.29:1 | AAA |
| Secondary button | 6.41:1 | AA |
| Muted text | 8.65:1 | AAA |
| Accent | 9.26:1 | AAA |
| Destructive | 6.48:1 | AA |
Paste this into your globals.css to use Turbulent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 65.946);
--foreground: oklch(0.165 0.022 67.428);
--muted: oklch(0.895 0.007 16.117);
--muted-foreground: oklch(0.362 0.014 16.691);
--popover: oklch(0.993 0.002 65.946);
--popover-foreground: oklch(0.165 0.022 67.428);
--card: oklch(0.993 0.002 65.946);
--card-foreground: oklch(0.165 0.022 67.428);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.967 0.02 65.716);
--primary-foreground: oklch(0.308 0.07 57.83);
--secondary: oklch(0.946 0.026 16.461);
--secondary-foreground: oklch(0.469 0.189 28.451);
--accent: oklch(0.99 0.03 106.146);
--accent-foreground: oklch(0.391 0.083 108.606);
--destructive: oklch(0.469 0.136 41.092);
--destructive-foreground: oklch(0.936 0.03 46.524);
--ring: oklch(0.967 0.02 65.716);
--chart-1: oklch(0.967 0.02 65.716);
--chart-2: oklch(0.946 0.026 16.461);
--chart-3: oklch(0.99 0.03 106.146);
--chart-4: oklch(0.978 0.01 16.156);
--chart-5: oklch(0.967 0.021 65.708);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.013 72.67);
--foreground: oklch(0.978 0.001 65.951);
--muted: oklch(0.242 0.01 16.747);
--muted-foreground: oklch(0.798 0.012 16.231);
--popover: oklch(0.135 0.013 72.67);
--popover-foreground: oklch(0.978 0.001 65.951);
--card: oklch(0.135 0.013 72.67);
--card-foreground: oklch(0.978 0.001 65.951);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.967 0.02 65.716);
--primary-foreground: oklch(0.308 0.07 57.83);
--secondary: oklch(0.946 0.026 16.461);
--secondary-foreground: oklch(0.469 0.189 28.451);
--accent: oklch(0.99 0.03 106.146);
--accent-foreground: oklch(0.391 0.083 108.606);
--destructive: oklch(0.668 0.181 42.186);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.967 0.02 65.716);
--chart-1: oklch(0.967 0.02 65.716);
--chart-2: oklch(0.946 0.026 16.461);
--chart-3: oklch(0.99 0.03 106.146);
--chart-4: oklch(0.978 0.01 16.156);
--chart-5: oklch(0.967 0.021 65.708);
}