Relative White Lake is a shadcn/ui theme built around a muted light teal primary color (#e3e8e8) with muted light blue accents (#e3e6e8). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted light teal primary (#e3e8e8) on a teal-tinted background (#070e0d).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #070e0dblack |
| Foreground | #010404black | #f4fafamintcream |
| Card | #f8fcfcmintcream | #081111black |
| Card foreground | #000000black | #f8fcfcmintcream |
| Popover | #fbfefdwhite | #070e0dblack |
| Popover foreground | #010404black | #f4fafamintcream |
| Primary | #e3e8e8gainsboro | #e3e8e8gainsboro |
| Primary foreground | #465353darkslategray | #465353darkslategray |
| Secondary | #e3e8e5gainsboro | #e3e8e5gainsboro |
| Secondary foreground | #46534cdarkslategray | #46534cdarkslategray |
| Muted | #f0f5f2whitesmoke | #0a0f0dblack |
| Muted foreground | #53655bdimgray | #9aaca2darkgray |
| Accent | #e3e6e8gainsboro | #e3e6e8gainsboro |
| Accent foreground | #464d53darkslategray | #464d53darkslategray |
| Destructive | #b91209firebrick | #f4251aorangered |
| Destructive foreground | #fff6f5lavenderblush | #ffffffwhite |
| Border | #eef1f1whitesmoke | #191f1fblack |
| Input | #eef1f1whitesmoke | #191f1fblack |
| Ring | #e3e8e8gainsboro | #e3e8e8gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.33:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 6.50:1 | AA |
| Muted text | 5.61:1 | AA |
| Accent | 6.83:1 | AA |
| Destructive | 6.26:1 | AA |
| Text on background | 18.50:1 | AAA |
| Text on card | 18.48:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 6.50:1 | AA |
| Muted text | 8.08:1 | AAA |
| Accent | 6.83:1 | AA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Relative White Lake in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 193.559);
--foreground: oklch(0.099 0.01 192.5);
--muted: oklch(0.965 0.006 162.467);
--muted-foreground: oklch(0.488 0.027 161.148);
--popover: oklch(0.994 0.002 193.559);
--popover-foreground: oklch(0.099 0.01 192.5);
--card: oklch(0.988 0.005 193.51);
--card-foreground: oklch(0 0 0);
--border: oklch(0.957 0.004 193.533);
--input: oklch(0.957 0.004 193.533);
--primary: oklch(0.927 0.005 193.502);
--primary-foreground: oklch(0.432 0.017 192.815);
--secondary: oklch(0.926 0.006 162.459);
--secondary-foreground: oklch(0.429 0.021 161.33);
--accent: oklch(0.923 0.004 242.25);
--accent-foreground: oklch(0.416 0.014 242.65);
--destructive: oklch(0.499 0.197 29.466);
--destructive-foreground: oklch(0.979 0.009 21.013);
--ring: oklch(0.927 0.005 193.502);
--chart-1: oklch(0.927 0.005 193.502);
--chart-2: oklch(0.926 0.006 162.459);
--chart-3: oklch(0.923 0.004 242.25);
--chart-4: oklch(0.948 0.004 162.51);
--chart-5: oklch(0.928 0.007 193.467);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.011 192.342);
--foreground: oklch(0.982 0.006 193.477);
--muted: oklch(0.163 0.009 161.166);
--muted-foreground: oklch(0.728 0.025 161.742);
--popover: oklch(0.154 0.011 192.342);
--popover-foreground: oklch(0.982 0.006 193.477);
--card: oklch(0.169 0.013 192.083);
--card-foreground: oklch(0.988 0.004 193.521);
--border: oklch(0.234 0.009 192.841);
--input: oklch(0.234 0.009 192.841);
--primary: oklch(0.927 0.005 193.502);
--primary-foreground: oklch(0.432 0.017 192.815);
--secondary: oklch(0.926 0.006 162.459);
--secondary-foreground: oklch(0.429 0.021 161.33);
--accent: oklch(0.923 0.004 242.25);
--accent-foreground: oklch(0.416 0.014 242.65);
--destructive: oklch(0.62 0.238 29.268);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.927 0.005 193.502);
--chart-1: oklch(0.927 0.005 193.502);
--chart-2: oklch(0.926 0.006 162.459);
--chart-3: oklch(0.923 0.004 242.25);
--chart-4: oklch(0.948 0.004 162.51);
--chart-5: oklch(0.928 0.007 193.467);
}