Yellowish is a shadcn/ui theme built around a vivid light indigo primary color (#b1a4f9) with muted indigo accents (#b5b3c2). The light mode uses a neutral background (#f8f7fd). Dark mode keeps the vivid light indigo primary (#b1a4f9) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f7fdghostwhite | #000000black |
| Foreground | #010104black | #f6f5fawhitesmoke |
| Card | #f5f3fbwhitesmoke | #030303black |
| Card foreground | #000000black | #f9f8fbghostwhite |
| Popover | #f8f7fdghostwhite | #000000black |
| Popover foreground | #010104black | #f6f5fawhitesmoke |
| Primary | #b1a4f9lightsteelblue | #b1a4f9lightsteelblue |
| Primary foreground | #150764midnightblue | #150764midnightblue |
| Secondary | #cbcbcdlightgrey | #312f37darkslategray |
| Secondary foreground | #323234darkslategray | #cac8d0lightgrey |
| Muted | #dbdae2gainsboro | #1e1d25black |
| Muted foreground | #3c3a45darkslategray | #bbbac5silver |
| Accent | #b5b3c2silver | #3c394cdarkslategray |
| Accent foreground | #1f1e25black | #d8d6e0gainsboro |
| Destructive | #953a09saddlebrown | #f37735tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b1a4f9lightsteelblue | #b1a4f9lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.60:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 8.03:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 7.25:1 | AAA |
| Text on background | 19.35:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 8.68:1 | AAA |
| Accent | 7.77:1 | AAA |
| Destructive | 7.52:1 | AAA |
Paste this into your globals.css to use Yellowish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.007 293.173);
--foreground: oklch(0.076 0.018 291.359);
--muted: oklch(0.891 0.011 293.077);
--muted-foreground: oklch(0.355 0.02 292.24);
--popover: oklch(0.979 0.007 293.173);
--popover-foreground: oklch(0.076 0.018 291.359);
--card: oklch(0.969 0.01 293.104);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.763 0.12 290.138);
--primary-foreground: oklch(0.248 0.145 274.445);
--secondary: oklch(0.843 0.003 293.243);
--secondary-foreground: oklch(0.318 0.004 293.093);
--accent: oklch(0.772 0.021 292.781);
--accent-foreground: oklch(0.237 0.014 292.185);
--destructive: oklch(0.469 0.134 42.788);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.763 0.12 290.138);
--chart-1: oklch(0.763 0.12 290.138);
--chart-2: oklch(0.843 0.003 293.243);
--chart-3: oklch(0.772 0.021 292.781);
--chart-4: oklch(0.867 0.002 293.254);
--chart-5: oklch(0.76 0.124 290.003);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.972 0.006 293.188);
--muted: oklch(0.236 0.015 292.073);
--muted-foreground: oklch(0.792 0.016 292.922);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.972 0.006 293.188);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.981 0.004 293.228);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.763 0.12 290.138);
--primary-foreground: oklch(0.248 0.145 274.445);
--secondary: oklch(0.311 0.013 292.529);
--secondary-foreground: oklch(0.837 0.01 293.084);
--accent: oklch(0.355 0.032 291.554);
--accent-foreground: oklch(0.881 0.014 293.014);
--destructive: oklch(0.705 0.171 45.824);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.763 0.12 290.138);
--chart-1: oklch(0.763 0.12 290.138);
--chart-2: oklch(0.311 0.013 292.529);
--chart-3: oklch(0.355 0.032 291.554);
--chart-4: oklch(0.339 0.014 292.505);
--chart-5: oklch(0.76 0.124 290.003);
}