Possible is a shadcn/ui theme built around a muted green primary color (#677a43) with muted pink accents (#7a4367). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#677a43) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0f1604black | #fdfdfcwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #0f1604black | #fdfdfcwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0f1604black | #fdfdfcwhite |
| Primary | #677a43darkolivegreen | #677a43darkolivegreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #43677adimgray | #43677adimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e4e9eclavender | #13181bblack |
| Muted foreground | #4d5051darkslategray | #aeb1b2darkgray |
| Accent | #7a4367dimgray | #7a4367dimgray |
| Accent foreground | #faf5f8whitesmoke | #faf5f8whitesmoke |
| Destructive | #ac2d11firebrick | #ea512etomato |
| Destructive foreground | #fef3f1seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #677a43darkolivegreen | #677a43darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.47:1 | AAA |
| Text on card | 18.47:1 | AAA |
| Primary button | 4.74:1 | AA |
| Secondary button | 6.10:1 | AA |
| Muted text | 6.65:1 | AA |
| Accent | 6.90:1 | AA |
| Destructive | 6.15:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 4.74:1 | AA |
| Secondary button | 6.10:1 | AA |
| Muted text | 8.28:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Possible in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.187 0.037 124.693);
--muted: oklch(0.932 0.007 230.756);
--muted-foreground: oklch(0.428 0.005 230.817);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.187 0.037 124.693);
--card: oklch(1 0 180);
--card-foreground: oklch(0.187 0.037 124.693);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.549 0.082 124.795);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.493 0.051 232.741);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.461 0.089 341.71);
--accent-foreground: oklch(0.975 0.006 338.114);
--destructive: oklch(0.494 0.167 33.578);
--destructive-foreground: oklch(0.973 0.011 32.664);
--ring: oklch(0.549 0.082 124.795);
--chart-1: oklch(0.549 0.082 124.795);
--chart-2: oklch(0.493 0.051 232.741);
--chart-3: oklch(0.461 0.089 341.71);
--chart-4: oklch(0.521 0.054 232.768);
--chart-5: oklch(0.556 0.089 125.041);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 122.236);
--muted: oklch(0.205 0.009 231.374);
--muted-foreground: oklch(0.757 0.004 230.736);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 122.236);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.001 122.236);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.549 0.082 124.795);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.493 0.051 232.741);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.461 0.089 341.71);
--accent-foreground: oklch(0.975 0.006 338.114);
--destructive: oklch(0.64 0.196 34.053);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.549 0.082 124.795);
--chart-1: oklch(0.549 0.082 124.795);
--chart-2: oklch(0.493 0.051 232.741);
--chart-3: oklch(0.461 0.089 341.71);
--chart-4: oklch(0.521 0.054 232.768);
--chart-5: oklch(0.556 0.089 125.041);
}