Elderly Sauterne is a shadcn/ui theme built around a yellow primary color (#c5a459) with muted teal accents (#5a726c). The light mode uses a yellow-tinted background (#efe9dc). Dark mode keeps the yellow primary (#c5a459) on an orange-tinted background (#221e1c).
| Token | Light | Dark |
|---|---|---|
| Background | #efe9dcantiquewhite | #221e1cblack |
| Foreground | #382d24darkslategray | #f2ede3linen |
| Card | #f6f5f4whitesmoke | #2d2925darkslategray |
| Card foreground | #302821darkslategray | #f2ede3linen |
| Popover | #f2f0eewhitesmoke | #322e29darkslategray |
| Popover foreground | #302821darkslategray | #f2ede3linen |
| Primary | #c5a459darkkhaki | #c5a459darkkhaki |
| Primary foreground | #241e19black | #241e19black |
| Secondary | #c6b295tan | #a98c60darkkhaki |
| Secondary foreground | #302821darkslategray | #241e19black |
| Muted | #e3e1ddgainsboro | #3d3834darkslategray |
| Muted foreground | #72655adimgray | #c0b7a5darkgray |
| Accent | #5a726cdimgray | #5e7872dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d14f2echocolate | #c94b2cchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #cdc8c1silver | #4d4742darkslategray |
| Input | #cdc8c1silver | #4d4742darkslategray |
| Ring | #c5a459darkkhaki | #c5a459darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.09:1 | AAA |
| Text on card | 13.29:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 7.04:1 | AAA |
| Muted text | 4.32:1 | AA Large |
| Accent | 5.16:1 | AA |
| Destructive | 4.32:1 | AA Large |
| Text on background | 14.13:1 | AAA |
| Text on card | 12.42:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 5.18:1 | AA |
| Muted text | 5.84:1 | AA |
| Accent | 4.76:1 | AA |
| Destructive | 4.63:1 | AA |
Paste this into your globals.css to use Elderly Sauterne in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.936 0.019 87.513);
--foreground: oklch(0.305 0.023 59.188);
--muted: oklch(0.911 0.006 81.512);
--muted-foreground: oklch(0.516 0.024 63.456);
--popover: oklch(0.956 0.003 78.302);
--popover-foreground: oklch(0.285 0.017 63.264);
--card: oklch(0.971 0.002 81.514);
--card-foreground: oklch(0.285 0.017 63.264);
--border: oklch(0.835 0.011 78.269);
--input: oklch(0.835 0.011 78.269);
--primary: oklch(0.733 0.102 86.612);
--primary-foreground: oklch(0.241 0.013 63.336);
--secondary: oklch(0.774 0.046 77.945);
--secondary-foreground: oklch(0.285 0.017 63.264);
--accent: oklch(0.531 0.03 178.129);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.597 0.172 35.08);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.733 0.102 86.612);
--chart-1: oklch(0.733 0.102 86.612);
--chart-2: oklch(0.774 0.046 77.945);
--chart-3: oklch(0.531 0.03 178.129);
--chart-4: oklch(0.711 0.042 63.256);
--chart-5: oklch(0.385 0.025 59.331);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.239 0.007 63.688);
--foreground: oklch(0.948 0.015 84.584);
--muted: oklch(0.343 0.01 63.716);
--muted-foreground: oklch(0.782 0.027 84.59);
--popover: oklch(0.303 0.01 63.639);
--popover-foreground: oklch(0.948 0.015 84.584);
--card: oklch(0.282 0.009 63.653);
--card-foreground: oklch(0.948 0.015 84.584);
--border: oklch(0.402 0.012 63.699);
--input: oklch(0.402 0.012 63.699);
--primary: oklch(0.733 0.102 86.612);
--primary-foreground: oklch(0.241 0.013 63.336);
--secondary: oklch(0.657 0.07 77.191);
--secondary-foreground: oklch(0.241 0.013 63.336);
--accent: oklch(0.55 0.032 178.119);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.579 0.166 35.087);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.733 0.102 86.612);
--chart-1: oklch(0.733 0.102 86.612);
--chart-2: oklch(0.657 0.07 77.191);
--chart-3: oklch(0.55 0.032 178.119);
--chart-4: oklch(0.575 0.041 63.071);
--chart-5: oklch(0.948 0.015 84.584);
}