Tiger is a shadcn/ui theme built around a vivid green primary color (#5bd100) with vivid pink accents (#d1005b). The light mode uses a neutral background (#fcfefb). Dark mode keeps the vivid green primary (#5bd100) on a green-tinted background (#070a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #070a05black |
| Foreground | #050901black | #fafbf9snow |
| Card | #f9fdf7mintcream | #0a0e06black |
| Card foreground | #020501black | #fcfdfcwhite |
| Popover | #fcfefbwhite | #070a05black |
| Popover foreground | #050901black | #fafbf9snow |
| Primary | #5bd100lawngreen | #5bd100lawngreen |
| Primary foreground | #020500black | #020500black |
| Secondary | #005bd1royalblue | #005bd1royalblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #cedae8gainsboro | #172231darkslategray |
| Muted foreground | #535455dimgray | #aaabacdarkgray |
| Accent | #d1005bcrimson | #d1005bcrimson |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b92f09firebrick | #f44d1forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5bd100lawngreen | #5bd100lawngreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 10.32:1 | AAA |
| Secondary button | 6.16:1 | AA |
| Muted text | 5.34:1 | AA |
| Accent | 5.43:1 | AA |
| Destructive | 6.04:1 | AA |
| Text on background | 19.14:1 | AAA |
| Text on card | 19.10:1 | AAA |
| Primary button | 10.32:1 | AAA |
| Secondary button | 6.16:1 | AA |
| Muted text | 6.97:1 | AA |
| Accent | 5.43:1 | AA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Tiger in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 131.123);
--foreground: oklch(0.13 0.028 129.264);
--muted: oklch(0.883 0.023 255.082);
--muted-foreground: oklch(0.446 0.002 254.976);
--popover: oklch(0.995 0.004 131.123);
--popover-foreground: oklch(0.13 0.028 129.264);
--card: oklch(0.99 0.009 131.161);
--card-foreground: oklch(0.103 0.022 129.264);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.762 0.233 137.57);
--primary-foreground: oklch(0.106 0.028 128.82);
--secondary: oklch(0.502 0.197 259.284);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.552 0.221 7.411);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.519 0.18 34.312);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.762 0.233 137.57);
--chart-1: oklch(0.762 0.233 137.57);
--chart-2: oklch(0.502 0.197 259.284);
--chart-3: oklch(0.552 0.221 7.411);
--chart-4: oklch(0.528 0.209 259.388);
--chart-5: oklch(0.77 0.237 137.736);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.015 130.169);
--foreground: oklch(0.987 0.004 131.116);
--muted: oklch(0.249 0.032 255.403);
--muted-foreground: oklch(0.74 0.002 254.965);
--popover: oklch(0.14 0.015 130.169);
--popover-foreground: oklch(0.987 0.004 131.116);
--card: oklch(0.156 0.018 131.038);
--card-foreground: oklch(0.993 0.002 131.1);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.762 0.233 137.57);
--primary-foreground: oklch(0.106 0.028 128.82);
--secondary: oklch(0.502 0.197 259.284);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.552 0.221 7.411);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.651 0.211 35.234);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.762 0.233 137.57);
--chart-1: oklch(0.762 0.233 137.57);
--chart-2: oklch(0.502 0.197 259.284);
--chart-3: oklch(0.552 0.221 7.411);
--chart-4: oklch(0.528 0.209 259.388);
--chart-5: oklch(0.77 0.237 137.736);
}