Kay Light is a shadcn/ui theme built around a neutral gray primary color (#808080) with muted light orange accents (#d6ccc7). The light mode uses an orange-tinted background (#f6f4f3). Dark mode keeps the neutral gray primary (#808080) on an orange-tinted background (#f6f4f3).
| Token | Light | Dark |
|---|---|---|
| Background | #f6f4f3whitesmoke | #f6f4f3whitesmoke |
| Foreground | #6a574ddimgray | #6a574ddimgray |
| Card | #f2efedwhitesmoke | #f2efedwhitesmoke |
| Card foreground | #5c4b42darkolivegreen | #5c4b42darkolivegreen |
| Popover | #f0ecealinen | #f0ecealinen |
| Popover foreground | #4d3f38darkslategray | #4d3f38darkslategray |
| Primary | #808080grey | #808080grey |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #bfbfbfsilver | #bfbfbfsilver |
| Secondary foreground | #262626darkslategray | #262626darkslategray |
| Muted | #e9e4e2gainsboro | #e9e4e2gainsboro |
| Muted foreground | #564943darkolivegreen | #564943darkolivegreen |
| Accent | #d6ccc7lightgrey | #d6ccc7lightgrey |
| Accent foreground | #3e332ddarkslategray | #3e332ddarkslategray |
| Destructive | #e12605orangered | #e12605orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e9e8e7linen | #e9e8e7linen |
| Input | #e2e0dfgainsboro | #e2e0dfgainsboro |
| Ring | #808080grey | #808080grey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.22:1 | AA |
| Text on card | 7.21:1 | AAA |
| Primary button | 3.97:1 | AA Large |
| Secondary button | 8.25:1 | AAA |
| Muted text | 6.87:1 | AA |
| Accent | 7.76:1 | AAA |
| Destructive | 4.69:1 | AA |
| Text on background | 6.22:1 | AA |
| Text on card | 7.21:1 | AAA |
| Primary button | 3.97:1 | AA Large |
| Secondary button | 8.25:1 | AAA |
| Muted text | 6.87:1 | AA |
| Accent | 7.76:1 | AAA |
| Destructive | 4.69:1 | AA |
Paste this into your globals.css to use Kay Light in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.969 0.003 48.716);
--foreground: oklch(0.473 0.03 48.06);
--muted: oklch(0.923 0.005 48.681);
--muted-foreground: oklch(0.417 0.019 48.233);
--popover: oklch(0.946 0.005 48.688);
--popover-foreground: oklch(0.379 0.023 48.091);
--card: oklch(0.954 0.004 48.697);
--card-foreground: oklch(0.427 0.027 48.073);
--border: oklch(0.931 0.002 48.72);
--input: oklch(0.908 0.003 48.708);
--primary: oklch(0.598 0 185.711);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.805 0 169.695);
--secondary-foreground: oklch(0.27 0 180);
--accent: oklch(0.852 0.014 48.56);
--accent-foreground: oklch(0.33 0.019 48.115);
--destructive: oklch(0.584 0.222 31.475);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.598 0 185.711);
--chart-1: oklch(0.598 0 185.711);
--chart-2: oklch(0.805 0 169.695);
--chart-3: oklch(0.852 0.014 48.56);
--chart-4: oklch(0.829 0 180);
--chart-5: oklch(0.592 0.009 17.421);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.969 0.003 48.716);
--foreground: oklch(0.473 0.03 48.06);
--muted: oklch(0.923 0.005 48.681);
--muted-foreground: oklch(0.417 0.019 48.233);
--popover: oklch(0.946 0.005 48.688);
--popover-foreground: oklch(0.379 0.023 48.091);
--card: oklch(0.954 0.004 48.697);
--card-foreground: oklch(0.427 0.027 48.073);
--border: oklch(0.931 0.002 48.72);
--input: oklch(0.908 0.003 48.708);
--primary: oklch(0.598 0 185.711);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.805 0 169.695);
--secondary-foreground: oklch(0.27 0 180);
--accent: oklch(0.852 0.014 48.56);
--accent-foreground: oklch(0.33 0.019 48.115);
--destructive: oklch(0.584 0.222 31.475);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.598 0 185.711);
--chart-1: oklch(0.598 0 185.711);
--chart-2: oklch(0.805 0 169.695);
--chart-3: oklch(0.852 0.014 48.56);
--chart-4: oklch(0.829 0 180);
--chart-5: oklch(0.592 0.009 17.421);
}