Psychological Lemon Ginger is a shadcn/ui theme built around a yellow primary color (#99831e) with purple accents (#831e99). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#99831e) on a yellow-tinted background (#100e04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #100e04black |
| Foreground | #040401black | #fbfbf9snow |
| Card | #fcfcfcsnow | #141205black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #fcfcfcsnow | #141205black |
| Popover foreground | #000000black | #fdfdfcwhite |
| Primary | #99831edarkgoldenrod | #99831edarkgoldenrod |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #1e9983darkcyan | #1e9983darkcyan |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e5f0eelavender | #0f1a18black |
| Muted foreground | #4f5453darkslategray | #abb0afdarkgray |
| Accent | #831e99darkmagenta | #831e99darkmagenta |
| Accent foreground | #f9eefclavenderblush | #f9eefclavenderblush |
| Destructive | #a23311brown | #d94417chocolate |
| Destructive foreground | #fdede8linen | #ffffffwhite |
| Border | #f2f1eewhitesmoke | #2c2a21darkslategray |
| Input | #f2f1eewhitesmoke | #2c2a21darkslategray |
| Ring | #99831edarkgoldenrod | #99831edarkgoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.52:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 3.74:1 | AA Large |
| Secondary button | 3.52:1 | AA Large |
| Muted text | 6.61:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 6.14:1 | AA |
| Text on background | 18.63:1 | AAA |
| Text on card | 18.47:1 | AAA |
| Primary button | 3.74:1 | AA Large |
| Secondary button | 3.52:1 | AA Large |
| Muted text | 8.11:1 | AAA |
| Accent | 7.14:1 | AAA |
| Destructive | 4.38:1 | AA Large |
Paste this into your globals.css to use Psychological Lemon Ginger in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.103 0.016 101.107);
--muted: oklch(0.946 0.012 183.984);
--muted-foreground: oklch(0.441 0.006 183.919);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.958 0.005 96.227);
--input: oklch(0.958 0.005 96.227);
--primary: oklch(0.613 0.116 95.562);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.615 0.108 176.558);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.458 0.195 319.273);
--accent-foreground: oklch(0.962 0.022 320.012);
--destructive: oklch(0.481 0.152 36.144);
--destructive-foreground: oklch(0.957 0.018 37.66);
--ring: oklch(0.613 0.116 95.562);
--chart-1: oklch(0.613 0.116 95.562);
--chart-2: oklch(0.615 0.108 176.558);
--chart-3: oklch(0.458 0.195 319.273);
--chart-4: oklch(0.652 0.114 176.486);
--chart-5: oklch(0.619 0.119 95.345);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.163 0.022 98.589);
--foreground: oklch(0.986 0.002 96.193);
--muted: oklch(0.205 0.016 182.058);
--muted-foreground: oklch(0.753 0.006 184.11);
--popover: oklch(0.18 0.025 97.835);
--popover-foreground: oklch(0.993 0.001 96.179);
--card: oklch(0.18 0.025 97.835);
--card-foreground: oklch(0.993 0.001 96.179);
--border: oklch(0.283 0.016 96.767);
--input: oklch(0.283 0.016 96.767);
--primary: oklch(0.613 0.116 95.562);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.615 0.108 176.558);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.458 0.195 319.273);
--accent-foreground: oklch(0.962 0.022 320.012);
--destructive: oklch(0.596 0.193 35.88);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.613 0.116 95.562);
--chart-1: oklch(0.613 0.116 95.562);
--chart-2: oklch(0.615 0.108 176.558);
--chart-3: oklch(0.458 0.195 319.273);
--chart-4: oklch(0.652 0.114 176.486);
--chart-5: oklch(0.619 0.119 95.345);
}