Toukyland is a shadcn/ui theme built around a vivid green primary color (#16a249) with vivid yellow accents (#dcc113). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#16a249) on a green-tinted background (#030c06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030c06black |
| Foreground | #04160ablack | #f6f9f7whitesmoke |
| Card | #ffffffwhite | #030c06black |
| Card foreground | #04160ablack | #f6f9f7whitesmoke |
| Popover | #ffffffwhite | #030c06black |
| Popover foreground | #04160ablack | #f6f9f7whitesmoke |
| Primary | #16a249seagreen | #16a249seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #a24916saddlebrown | #a24916saddlebrown |
| Secondary foreground | #f3edfdwhitesmoke | #f3edfdwhitesmoke |
| Muted | #e9e3f2lavender | #120d1cblack |
| Muted foreground | #58565ddimgray | #a5a2a9darkgray |
| Accent | #dcc113goldenrod | #dcc113goldenrod |
| Accent foreground | #ffffffwhite | #a24916saddlebrown |
| Destructive | #a7250cfirebrick | #f04a28tomato |
| Destructive foreground | #fdebe7linen | #ffffffwhite |
| Border | #e5ebe7lavender | #191f1bblack |
| Input | #e5ebe7lavender | #191f1bblack |
| Ring | #16a249seagreen | #16a249seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.67:1 | AAA |
| Text on card | 18.67:1 | AAA |
| Primary button | 3.34:1 | AA Large |
| Secondary button | 5.23:1 | AA |
| Muted text | 5.76:1 | AA |
| Accent | 1.79:1 | Fail |
| Destructive | 6.24:1 | AA |
| Text on background | 18.69:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 3.34:1 | AA Large |
| Secondary button | 5.23:1 | AA |
| Muted text | 7.57:1 | AAA |
| Accent | 3.33:1 | AA Large |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Toukyland in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.179 0.036 155.059);
--muted: oklch(0.925 0.02 302.591);
--muted-foreground: oklch(0.457 0.012 302.532);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.179 0.036 155.059);
--card: oklch(1 0 180);
--card-foreground: oklch(0.179 0.036 155.059);
--border: oklch(0.934 0.007 158.545);
--input: oklch(0.934 0.007 158.545);
--primary: oklch(0.623 0.169 149.178);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.513 0.132 45.807);
--secondary-foreground: oklch(0.955 0.021 302.586);
--accent: oklch(0.81 0.165 99.049);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.477 0.169 32.66);
--destructive-foreground: oklch(0.953 0.021 31.096);
--ring: oklch(0.623 0.169 149.178);
--chart-1: oklch(0.623 0.169 149.178);
--chart-2: oklch(0.513 0.132 45.807);
--chart-3: oklch(0.81 0.165 99.049);
--chart-4: oklch(0.543 0.141 45.678);
--chart-5: oklch(0.63 0.173 148.878);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.021 158.259);
--foreground: oklch(0.979 0.005 158.61);
--muted: oklch(0.174 0.031 300.122);
--muted-foreground: oklch(0.717 0.011 302.703);
--popover: oklch(0.142 0.021 158.259);
--popover-foreground: oklch(0.979 0.005 158.61);
--card: oklch(0.142 0.021 158.259);
--card-foreground: oklch(0.979 0.005 158.61);
--border: oklch(0.233 0.013 157.47);
--input: oklch(0.233 0.013 157.47);
--primary: oklch(0.623 0.169 149.178);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.513 0.132 45.807);
--secondary-foreground: oklch(0.955 0.021 302.586);
--accent: oklch(0.809 0.165 98.815);
--accent-foreground: oklch(0.513 0.132 45.807);
--destructive: oklch(0.641 0.208 33.124);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.623 0.169 149.178);
--chart-1: oklch(0.623 0.169 149.178);
--chart-2: oklch(0.513 0.132 45.807);
--chart-3: oklch(0.809 0.165 98.815);
--chart-4: oklch(0.543 0.141 45.678);
--chart-5: oklch(0.63 0.173 148.878);
}