Welcome is a shadcn/ui theme built around a muted yellow primary color (#85884e) with muted green accents (#68884e). The light mode uses a neutral background (#fcfdf7). Dark mode keeps the muted yellow primary (#85884e) on a yellow-tinted background (#0c0c03).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdf7snow | #0c0c03black |
| Foreground | #090901black | #fbfbf9snow |
| Card | #fbfbf3floralwhite | #101004black |
| Card foreground | #040501black | #fdfdfcwhite |
| Popover | #fcfdf7snow | #0c0c03black |
| Popover foreground | #090901black | #fbfbf9snow |
| Primary | #85884edimgray | #85884edimgray |
| Primary foreground | #000000black | #000000black |
| Secondary | #886e4edimgray | #886e4edimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f3eee7linen | #18120cblack |
| Muted foreground | #5b5043darkolivegreen | #bcb1a4darkgray |
| Accent | #68884edimgray | #68884edimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a91d04firebrick | #fa4d2etomato |
| Destructive foreground | #fee6e1mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #85884edimgray | #85884edimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 5.63:1 | AA |
| Secondary button | 4.78:1 | AA |
| Muted text | 6.79:1 | AA |
| Accent | 4.01:1 | AA Large |
| Destructive | 6.14:1 | AA |
| Text on background | 18.94:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 5.63:1 | AA |
| Secondary button | 4.78:1 | AA |
| Muted text | 8.79:1 | AAA |
| Accent | 4.01:1 | AA Large |
| Destructive | 3.41:1 | AA Large |
Paste this into your globals.css to use Welcome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.007 108.844);
--foreground: oklch(0.136 0.025 111.007);
--muted: oklch(0.951 0.01 73.14);
--muted-foreground: oklch(0.439 0.025 72.657);
--popover: oklch(0.991 0.007 108.844);
--popover-foreground: oklch(0.136 0.025 111.007);
--card: oklch(0.987 0.011 108.913);
--card-foreground: oklch(0.108 0.02 111.007);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.611 0.08 111.016);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.555 0.056 71.849);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.588 0.091 132.123);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.474 0.177 31.802);
--destructive-foreground: oklch(0.942 0.028 29.597);
--ring: oklch(0.611 0.08 111.016);
--chart-1: oklch(0.611 0.08 111.016);
--chart-2: oklch(0.555 0.056 71.849);
--chart-3: oklch(0.588 0.091 132.123);
--chart-4: oklch(0.584 0.06 71.832);
--chart-5: oklch(0.62 0.087 111.193);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.151 0.022 110.749);
--foreground: oklch(0.987 0.002 108.75);
--muted: oklch(0.188 0.015 72.326);
--muted-foreground: oklch(0.766 0.022 72.982);
--popover: oklch(0.151 0.022 110.749);
--popover-foreground: oklch(0.987 0.002 108.75);
--card: oklch(0.169 0.025 111.056);
--card-foreground: oklch(0.993 0.001 108.729);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.611 0.08 111.016);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.555 0.056 71.849);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.588 0.091 132.123);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.661 0.214 32.381);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.611 0.08 111.016);
--chart-1: oklch(0.611 0.08 111.016);
--chart-2: oklch(0.555 0.056 71.849);
--chart-3: oklch(0.588 0.091 132.123);
--chart-4: oklch(0.584 0.06 71.832);
--chart-5: oklch(0.62 0.087 111.193);
}