March Hare Orange Cat is a shadcn/ui theme built around a vivid orange primary color (#ff781a) with near-white accents (#f1f1f1). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#ff7718) on a neutral background (#0f0f10).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f0f10black |
| Foreground | #0d0d0dblack | #fafafasnow |
| Card | #ffffffwhite | #0f0f10black |
| Card foreground | #0d0d0dblack | #fafafasnow |
| Popover | #ffffffwhite | #121113black |
| Popover foreground | #0d0d0dblack | #fafafasnow |
| Primary | #ff781adarkorange | #ff7718darkorange |
| Primary foreground | #fafafasnow | #fafafasnow |
| Secondary | #282828darkslategray | #dbdbdbgainsboro |
| Secondary foreground | #ffffffwhite | #0f0f0fblack |
| Muted | #e4e4e4gainsboro | #2f2f2fdarkslategray |
| Muted foreground | #737373dimgray | #7b7783gray |
| Accent | #f1f1f1whitesmoke | #2f2f2fdarkslategray |
| Accent foreground | #0d0d0dblack | #fafafasnow |
| Destructive | #fa3030crimson | #fa3030crimson |
| Destructive foreground | #fafafasnow | #fafafasnow |
| Border | #ebebeblinen | #1e1d20black |
| Input | #d9d9d9gainsboro | #2d2c30darkslategray |
| Ring | #d5d5d5lightgrey | #515151darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 2.53:1 | Fail |
| Secondary button | 14.66:1 | AAA |
| Muted text | 3.71:1 | AA Large |
| Accent | 17.25:1 | AAA |
| Destructive | 3.63:1 | AA Large |
| Text on background | 18.35:1 | AAA |
| Text on card | 18.35:1 | AAA |
| Primary button | 2.55:1 | Fail |
| Secondary button | 13.83:1 | AAA |
| Muted text | 3.06:1 | AA Large |
| Accent | 12.81:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use March Hare Orange Cat in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.158 0 169.695);
--muted: oklch(0.917 0 172.875);
--muted-foreground: oklch(0.555 0 173.991);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.158 0 169.695);
--card: oklch(1 0 180);
--card-foreground: oklch(0.158 0 169.695);
--border: oklch(0.939 0 180);
--input: oklch(0.885 0 180);
--primary: oklch(0.72 0.188 48.018);
--primary-foreground: oklch(0.985 0 180);
--secondary: oklch(0.279 0 206.565);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.959 0 187.595);
--accent-foreground: oklch(0.158 0 169.695);
--destructive: oklch(0.638 0.235 27.098);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.874 0 206.565);
--chart-1: oklch(0.72 0.188 48.018);
--chart-2: oklch(0.279 0 206.565);
--chart-3: oklch(0.959 0 187.595);
--chart-4: oklch(0.309 0 192.529);
--chart-5: oklch(0.724 0.193 47.491);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.169 0.002 286.177);
--foreground: oklch(0.985 0 180);
--muted: oklch(0.305 0 171.87);
--muted-foreground: oklch(0.576 0.02 300.948);
--popover: oklch(0.179 0.005 308.172);
--popover-foreground: oklch(0.985 0 180);
--card: oklch(0.169 0.002 286.177);
--card-foreground: oklch(0.985 0 180);
--border: oklch(0.233 0.006 301.087);
--input: oklch(0.296 0.007 297.423);
--primary: oklch(0.719 0.19 47.791);
--primary-foreground: oklch(0.985 0 180);
--secondary: oklch(0.891 0 161.565);
--secondary-foreground: oklch(0.168 0 180);
--accent: oklch(0.305 0 171.87);
--accent-foreground: oklch(0.985 0 180);
--destructive: oklch(0.639 0.235 27.074);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.436 0 57.744);
--chart-1: oklch(0.719 0.19 47.791);
--chart-2: oklch(0.891 0 161.565);
--chart-3: oklch(0.305 0 171.87);
--chart-4: oklch(0.915 0 158.199);
--chart-5: oklch(0.723 0.194 47.249);
}