Yellowish is a shadcn/ui theme built around a teal primary color (#5fe7af) with muted light red accents (#dad3d3). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the teal primary (#5fe7af) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #010403black |
| Foreground | #000000black | #f9fbfamintcream |
| Card | #f8fcfamintcream | #030806black |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #fcfdfdwhite | #010403black |
| Popover foreground | #000000black | #f9fbfamintcream |
| Primary | #5fe7afmediumaquamarine | #5fe7afmediumaquamarine |
| Primary foreground | #03120bblack | #03120bblack |
| Secondary | #e6e6e6gainsboro | #292929darkslategray |
| Secondary foreground | #4d4d4ddarkslategray | #c2c2c2silver |
| Muted | #eee8e8linen | #171111black |
| Muted foreground | #676565dimgray | #9a9898darkgray |
| Accent | #dad3d3lightgrey | #483d3ddarkslategray |
| Accent foreground | #433838darkslategray | #ded8d8gainsboro |
| Destructive | #e03106orangered | #f93706orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5fe7afmediumaquamarine | #5fe7afmediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 12.37:1 | AAA |
| Secondary button | 6.74:1 | AA |
| Muted text | 4.76:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 4.55:1 | AA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 12.37:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 6.48:1 | AA |
| Accent | 7.43:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Yellowish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 169.608);
--foreground: oklch(0 0 0);
--muted: oklch(0.934 0.007 17.275);
--muted-foreground: oklch(0.509 0.003 17.241);
--popover: oklch(0.994 0.002 169.608);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.004 169.545);
--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.838 0.145 162.862);
--primary-foreground: oklch(0.164 0.027 166.676);
--secondary: oklch(0.923 0 153.435);
--secondary-foreground: oklch(0.418 0 173.29);
--accent: oklch(0.871 0.008 17.312);
--accent-foreground: oklch(0.351 0.016 17.921);
--destructive: oklch(0.59 0.214 33.108);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.838 0.145 162.862);
--chart-1: oklch(0.838 0.145 162.862);
--chart-2: oklch(0.923 0 153.435);
--chart-3: oklch(0.871 0.008 17.312);
--chart-4: oklch(0.947 0 180);
--chart-5: oklch(0.844 0.149 162.594);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.011 169.899);
--foreground: oklch(0.986 0.002 169.622);
--muted: oklch(0.187 0.01 18.105);
--muted-foreground: oklch(0.681 0.002 17.216);
--popover: oklch(0.098 0.011 169.899);
--popover-foreground: oklch(0.986 0.002 169.622);
--card: oklch(0.123 0.014 169.899);
--card-foreground: oklch(0.993 0.001 169.646);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.838 0.145 162.862);
--primary-foreground: oklch(0.164 0.027 166.676);
--secondary: oklch(0.28 0 180);
--secondary-foreground: oklch(0.813 0 165.964);
--accent: oklch(0.371 0.015 17.839);
--accent-foreground: oklch(0.888 0.006 17.275);
--destructive: oklch(0.638 0.233 32.99);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.838 0.145 162.862);
--chart-1: oklch(0.838 0.145 162.862);
--chart-2: oklch(0.28 0 180);
--chart-3: oklch(0.371 0.015 17.839);
--chart-4: oklch(0.311 0 180);
--chart-5: oklch(0.844 0.149 162.594);
}