Tropical Forest Rabbit is a shadcn/ui theme built around a vivid deep teal primary color (#074a45) with vivid deep blue accents (#072e4a). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the vivid deep teal primary (#074a45) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfcmintcream | #030707black |
| Foreground | #000000black | #f5faf9mintcream |
| Card | #f3fbfbmintcream | #040b0ablack |
| Card foreground | #000000black | #f8fbfbghostwhite |
| Popover | #f7fdfcmintcream | #030707black |
| Popover foreground | #000000black | #f5faf9mintcream |
| Primary | #074a45darkslategray | #074a45darkslategray |
| Primary foreground | #33ebdbturquoise | #33ebdbturquoise |
| Secondary | #074a23darkgreen | #074a23darkgreen |
| Secondary foreground | #33eb7fspringgreen | #33eb7fspringgreen |
| Muted | #dae7dfgainsboro | #18251eblack |
| Muted foreground | #506d5cdimgray | #92af9edarkseagreen |
| Accent | #072e4amidnightblue | #072e4amidnightblue |
| Accent foreground | #90caf4lightskyblue | #90caf4lightskyblue |
| Destructive | #cc3914firebrick | #eb5b37tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #dfe2e2gainsboro | #1b1d1dblack |
| Input | #dfe2e2gainsboro | #1b1d1dblack |
| Ring | #074a45darkslategray | #074a45darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.36:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 6.59:1 | AA |
| Muted text | 4.46:1 | AA Large |
| Accent | 7.92:1 | AAA |
| Destructive | 5.03:1 | AA |
| Text on background | 19.18:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 6.59:1 | AA |
| Muted text | 6.70:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 6.10:1 | AA |
Paste this into your globals.css to use Tropical Forest Rabbit in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 191.125);
--foreground: oklch(0 0 0);
--muted: oklch(0.915 0.016 160.591);
--muted-foreground: oklch(0.506 0.042 158.86);
--popover: oklch(0.989 0.006 191.125);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.008 191.062);
--card-foreground: oklch(0 0 0);
--border: oklch(0.91 0.003 191.17);
--input: oklch(0.91 0.003 191.17);
--primary: oklch(0.37 0.062 185.993);
--primary-foreground: oklch(0.85 0.14 186.142);
--secondary: oklch(0.361 0.091 151.507);
--secondary-foreground: oklch(0.828 0.205 151.795);
--accent: oklch(0.292 0.066 244.997);
--accent-foreground: oklch(0.814 0.085 240.178);
--destructive: oklch(0.563 0.189 34.214);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.37 0.062 185.993);
--chart-1: oklch(0.37 0.062 185.993);
--chart-2: oklch(0.361 0.091 151.507);
--chart-3: oklch(0.292 0.066 244.997);
--chart-4: oklch(0.405 0.104 151.143);
--chart-5: oklch(0.374 0.063 185.854);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.011 190.532);
--foreground: oklch(0.98 0.005 191.144);
--muted: oklch(0.249 0.022 158.751);
--muted-foreground: oklch(0.727 0.039 159.679);
--popover: oklch(0.123 0.011 190.532);
--popover-foreground: oklch(0.98 0.005 191.144);
--card: oklch(0.141 0.012 190.348);
--card-foreground: oklch(0.987 0.003 191.18);
--border: oklch(0.23 0.004 190.844);
--input: oklch(0.23 0.004 190.844);
--primary: oklch(0.37 0.062 185.993);
--primary-foreground: oklch(0.85 0.14 186.142);
--secondary: oklch(0.361 0.091 151.507);
--secondary-foreground: oklch(0.828 0.205 151.795);
--accent: oklch(0.292 0.066 244.997);
--accent-foreground: oklch(0.814 0.085 240.178);
--destructive: oklch(0.655 0.185 35.114);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.37 0.062 185.993);
--chart-1: oklch(0.37 0.062 185.993);
--chart-2: oklch(0.361 0.091 151.507);
--chart-3: oklch(0.292 0.066 244.997);
--chart-4: oklch(0.405 0.104 151.143);
--chart-5: oklch(0.374 0.063 185.854);
}