Glad Creamy Lemon is a shadcn/ui theme built around a vivid light yellow primary color (#fff0b3) with vivid light indigo accents (#beb3ff). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the vivid light yellow primary (#fff0b3) on a yellow-tinted background (#0c0a03).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #0c0a03black |
| Foreground | #050401black | #fdfdfcwhite |
| Card | #fdfdfbsnow | #0c0a03black |
| Card foreground | #050401black | #fdfdfcwhite |
| Popover | #fdfdfbsnow | #0c0a03black |
| Popover foreground | #050401black | #fdfdfcwhite |
| Primary | #fff0b3moccasin | #fff0b3moccasin |
| Primary foreground | #1a1400black | #1a1400black |
| Secondary | #ffc9b3peachpuff | #ffc9b3peachpuff |
| Secondary foreground | #802600saddlebrown | #802600saddlebrown |
| Muted | #ded7d4gainsboro | #2b2421darkslategray |
| Muted foreground | #534a46darkslategray | #b9b0acdarkgray |
| Accent | #beb3fflightsteelblue | #e8ffb3palegoldenrod |
| Accent foreground | #121a00black | #121a00black |
| Destructive | #760705maroon | #f51814red |
| Destructive foreground | #fcb2b1lightpink | #ffffffwhite |
| Border | #edece8linen | #2a2922darkslategray |
| Input | #edece8linen | #2a2922darkslategray |
| Ring | #fff0b3moccasin | #fff0b3moccasin |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.15:1 | AAA |
| Text on card | 20.15:1 | AAA |
| Primary button | 16.02:1 | AAA |
| Secondary button | 6.51:1 | AA |
| Muted text | 6.05:1 | AA |
| Accent | 9.41:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 16.02:1 | AAA |
| Secondary button | 6.51:1 | AA |
| Muted text | 7.14:1 | AAA |
| Accent | 16.51:1 | AAA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Glad Creamy Lemon in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 95.059);
--foreground: oklch(0.103 0.017 100.631);
--muted: oklch(0.883 0.009 44.882);
--muted-foreground: oklch(0.416 0.015 44.657);
--popover: oklch(0.994 0.002 95.059);
--popover-foreground: oklch(0.103 0.017 100.631);
--card: oklch(0.994 0.002 95.059);
--card-foreground: oklch(0.103 0.017 100.631);
--border: oklch(0.943 0.005 95.095);
--input: oklch(0.943 0.005 95.095);
--primary: oklch(0.952 0.08 95.745);
--primary-foreground: oklch(0.193 0.04 97.564);
--secondary: oklch(0.879 0.069 44.354);
--secondary-foreground: oklch(0.405 0.13 38.886);
--accent: oklch(0.803 0.107 290.688);
--accent-foreground: oklch(0.201 0.049 123.33);
--destructive: oklch(0.358 0.141 28.907);
--destructive-foreground: oklch(0.833 0.087 20.165);
--ring: oklch(0.952 0.08 95.745);
--chart-1: oklch(0.952 0.08 95.745);
--chart-2: oklch(0.879 0.069 44.354);
--chart-3: oklch(0.965 0.101 121.865);
--chart-4: oklch(0.902 0.054 44.474);
--chart-5: oklch(0.954 0.082 95.753);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0.018 98.833);
--foreground: oklch(0.994 0.002 95.056);
--muted: oklch(0.268 0.012 44.587);
--muted-foreground: oklch(0.763 0.013 44.819);
--popover: oklch(0.145 0.018 98.833);
--popover-foreground: oklch(0.994 0.002 95.056);
--card: oklch(0.145 0.018 98.833);
--card-foreground: oklch(0.994 0.002 95.056);
--border: oklch(0.279 0.012 95.488);
--input: oklch(0.279 0.012 95.488);
--primary: oklch(0.952 0.08 95.745);
--primary-foreground: oklch(0.193 0.04 97.564);
--secondary: oklch(0.879 0.069 44.354);
--secondary-foreground: oklch(0.405 0.13 38.886);
--accent: oklch(0.965 0.101 121.865);
--accent-foreground: oklch(0.201 0.049 123.33);
--destructive: oklch(0.616 0.244 28.854);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.952 0.08 95.745);
--chart-1: oklch(0.952 0.08 95.745);
--chart-2: oklch(0.879 0.069 44.354);
--chart-3: oklch(0.965 0.101 121.865);
--chart-4: oklch(0.902 0.054 44.474);
--chart-5: oklch(0.954 0.082 95.753);
}