Lemon is a shadcn/ui theme built around a vivid orange primary color (#e3831c) with vivid violet accents (#831ce3). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the vivid orange primary (#e3831c) on a neutral background (#070504).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf7snow | #070504black |
| Foreground | #150d04black | #ffffffwhite |
| Card | #fbf7f3floralwhite | #0a0805black |
| Card foreground | #110a04black | #ffffffwhite |
| Popover | #fbf7f3floralwhite | #0a0805black |
| Popover foreground | #110a04black | #ffffffwhite |
| Primary | #e3831cchocolate | #e3831cchocolate |
| Primary foreground | #000000black | #000000black |
| Secondary | #1ce383springgreen | #1ce383springgreen |
| Secondary foreground | #062d1ablack | #062d1ablack |
| Muted | #ecf3f0whitesmoke | #0c130fblack |
| Muted foreground | #545f59dimgray | #a0aba6darkgray |
| Accent | #831ce3blueviolet | #831ce3blueviolet |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #850400maroon | #ff3a33tomato |
| Destructive foreground | #ffbab8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e3831cchocolate | #e3831cchocolate |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.49:1 | AAA |
| Text on card | 18.50:1 | AAA |
| Primary button | 7.51:1 | AAA |
| Secondary button | 8.83:1 | AAA |
| Muted text | 5.91:1 | AA |
| Accent | 6.48:1 | AA |
| Destructive | 6.45:1 | AA |
| Text on background | 20.33:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 7.51:1 | AAA |
| Secondary button | 8.83:1 | AAA |
| Muted text | 7.96:1 | AAA |
| Accent | 6.48:1 | AA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Lemon in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.005 69.604);
--foreground: oklch(0.167 0.023 70.993);
--muted: oklch(0.959 0.009 165.773);
--muted-foreground: oklch(0.473 0.016 165.103);
--popover: oklch(0.979 0.007 69.58);
--popover-foreground: oklch(0.153 0.02 74.116);
--card: oklch(0.979 0.007 69.58);
--card-foreground: oklch(0.153 0.02 74.116);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.699 0.156 59.883);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.806 0.197 154.32);
--secondary-foreground: oklch(0.266 0.057 157.538);
--accent: oklch(0.516 0.26 299.454);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.388 0.157 29.812);
--destructive-foreground: oklch(0.852 0.08 21.119);
--ring: oklch(0.699 0.156 59.883);
--chart-1: oklch(0.699 0.156 59.883);
--chart-2: oklch(0.806 0.197 154.32);
--chart-3: oklch(0.516 0.26 299.454);
--chart-4: oklch(0.813 0.19 155.418);
--chart-5: oklch(0.704 0.16 59.178);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.007 73.833);
--foreground: oklch(1 0 180);
--muted: oklch(0.177 0.013 163.898);
--muted-foreground: oklch(0.732 0.014 165.492);
--popover: oklch(0.135 0.008 73.833);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.135 0.008 73.833);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.699 0.156 59.883);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.806 0.197 154.32);
--secondary-foreground: oklch(0.266 0.057 157.538);
--accent: oklch(0.516 0.26 299.454);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.654 0.233 27.905);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.699 0.156 59.883);
--chart-1: oklch(0.699 0.156 59.883);
--chart-2: oklch(0.806 0.197 154.32);
--chart-3: oklch(0.516 0.26 299.454);
--chart-4: oklch(0.813 0.19 155.418);
--chart-5: oklch(0.704 0.16 59.178);
}