Welcome is a shadcn/ui theme built around a light green primary color (#b8f5c7) with light teal accents (#b8f5e5). The light mode uses a neutral background (#fbfefc). Dark mode keeps the light green primary (#b8f5c7) on a neutral background (#030704).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #030704black |
| Foreground | #051007black | #ffffffwhite |
| Card | #f6fdf8mintcream | #050a06black |
| Card foreground | #040c06black | #ffffffwhite |
| Popover | #f6fdf8mintcream | #050a06black |
| Popover foreground | #040c06black | #ffffffwhite |
| Primary | #b8f5c7powderblue | #b8f5c7powderblue |
| Primary foreground | #031206black | #031206black |
| Secondary | #c7f5b8palegoldenrod | #c7f5b8palegoldenrod |
| Secondary foreground | #061203black | #061203black |
| Muted | #e7f3e2beige | #101d0cblack |
| Muted foreground | #3d4639darkslategray | #bcc6b9silver |
| Accent | #b8f5e5paleturquoise | #b8f5e5paleturquoise |
| Accent foreground | #03120eblack | #03120eblack |
| Destructive | #831907maroon | #ed2e0corangered |
| Destructive foreground | #fcc9c0pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b8f5c7powderblue | #b8f5c7powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.09:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 15.45:1 | AAA |
| Secondary button | 15.65:1 | AAA |
| Muted text | 8.56:1 | AAA |
| Accent | 15.68:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 15.45:1 | AAA |
| Secondary button | 15.65:1 | AAA |
| Muted text | 9.93:1 | AAA |
| Accent | 15.68:1 | AAA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Welcome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 153.792);
--foreground: oklch(0.157 0.025 152.364);
--muted: oklch(0.95 0.025 137.809);
--muted-foreground: oklch(0.382 0.025 137.881);
--popover: oklch(0.989 0.01 153.705);
--popover-foreground: oklch(0.141 0.022 153.122);
--card: oklch(0.989 0.01 153.705);
--card-foreground: oklch(0.141 0.022 153.122);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.916 0.088 152.11);
--primary-foreground: oklch(0.162 0.035 151.801);
--secondary: oklch(0.922 0.094 137.968);
--secondary-foreground: oklch(0.165 0.038 136.345);
--accent: oklch(0.924 0.065 177.671);
--accent-foreground: oklch(0.165 0.025 176.682);
--destructive: oklch(0.398 0.143 32.141);
--destructive-foreground: oklch(0.878 0.059 29.862);
--ring: oklch(0.916 0.088 152.11);
--chart-1: oklch(0.916 0.088 152.11);
--chart-2: oklch(0.922 0.094 137.968);
--chart-3: oklch(0.924 0.065 177.671);
--chart-4: oklch(0.936 0.076 137.918);
--chart-5: oklch(0.918 0.091 152.039);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.012 153.469);
--foreground: oklch(1 0 180);
--muted: oklch(0.212 0.035 138.187);
--muted-foreground: oklch(0.814 0.02 137.806);
--popover: oklch(0.137 0.014 153.469);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.137 0.014 153.469);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.916 0.088 152.11);
--primary-foreground: oklch(0.162 0.035 151.801);
--secondary: oklch(0.922 0.094 137.968);
--secondary-foreground: oklch(0.165 0.038 136.345);
--accent: oklch(0.924 0.065 177.671);
--accent-foreground: oklch(0.165 0.025 176.682);
--destructive: oklch(0.612 0.228 31.733);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.916 0.088 152.11);
--chart-1: oklch(0.916 0.088 152.11);
--chart-2: oklch(0.922 0.094 137.968);
--chart-3: oklch(0.924 0.065 177.671);
--chart-4: oklch(0.936 0.076 137.918);
--chart-5: oklch(0.918 0.091 152.039);
}