Yearling Seaweed Tea is a shadcn/ui theme built around a muted green primary color (#5e775a) with muted light green accents (#cbdfc8). The light mode uses a neutral background (#fcfefb). Dark mode keeps the muted green primary (#5e775a) on a neutral background (#020402).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #020402black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f8fcf7mintcream | #040703black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfefbwhite | #020402black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #5e775adimgray | #5e775adimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e5ece4gainsboro | #222622black |
| Secondary foreground | #182117black | #bac1b9silver |
| Muted | #eff0efwhitesmoke | #0f100fblack |
| Muted foreground | #586156dimgray | #9fa99edarkgray |
| Accent | #cbdfc8lightgrey | #324130darkslategray |
| Accent foreground | #304a2bdarkslategray | #ccd8calightgrey |
| Destructive | #d54801orangered | #fe6a20tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e3e9e2gainsboro | #192018black |
| Input | #e3e9e2gainsboro | #192018black |
| Ring | #5e775adimgray | #5e775adimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.65:1 | AAA |
| Text on card | 20.32:1 | AAA |
| Primary button | 4.91:1 | AA |
| Secondary button | 13.78:1 | AAA |
| Muted text | 5.65:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 4.41:1 | AA Large |
| Text on background | 20.62:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 4.91:1 | AA |
| Secondary button | 8.35:1 | AAA |
| Muted text | 7.84:1 | AAA |
| Accent | 7.40:1 | AAA |
| Destructive | 7.28:1 | AAA |
Paste this into your globals.css to use Yearling Seaweed Tea in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 141.056);
--foreground: oklch(0 0 0);
--muted: oklch(0.955 0.002 141.06);
--muted-foreground: oklch(0.482 0.021 140.971);
--popover: oklch(0.994 0.004 141.056);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.008 141.047);
--card-foreground: oklch(0 0 0);
--border: oklch(0.927 0.011 141.04);
--input: oklch(0.927 0.011 141.04);
--primary: oklch(0.542 0.053 140.857);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.936 0.014 141.032);
--secondary-foreground: oklch(0.237 0.024 140.852);
--accent: oklch(0.883 0.038 140.971);
--accent-foreground: oklch(0.38 0.062 140.756);
--destructive: oklch(0.593 0.188 39.351);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.542 0.053 140.857);
--chart-1: oklch(0.542 0.053 140.857);
--chart-2: oklch(0.936 0.014 141.032);
--chart-3: oklch(0.883 0.038 140.971);
--chart-4: oklch(0.958 0.009 141.044);
--chart-5: oklch(0.547 0.064 140.822);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.012 139.887);
--foreground: oklch(1 0 180);
--muted: oklch(0.171 0.004 141.017);
--muted-foreground: oklch(0.723 0.019 141.008);
--popover: oklch(0.096 0.012 139.887);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.015 139.887);
--card-foreground: oklch(1 0 180);
--border: oklch(0.233 0.016 140.913);
--input: oklch(0.233 0.016 140.913);
--primary: oklch(0.542 0.053 140.857);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.263 0.009 140.987);
--secondary-foreground: oklch(0.802 0.013 141.029);
--accent: oklch(0.355 0.034 140.862);
--accent-foreground: oklch(0.869 0.023 141.009);
--destructive: oklch(0.7 0.197 42.449);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.542 0.053 140.857);
--chart-1: oklch(0.542 0.053 140.857);
--chart-2: oklch(0.263 0.009 140.987);
--chart-3: oklch(0.355 0.034 140.862);
--chart-4: oklch(0.295 0.011 140.983);
--chart-5: oklch(0.547 0.064 140.822);
}