APP CHANGE TEXT COLOR is a shadcn/ui theme built around a muted green primary color (#72a188) with muted light green accents (#c4ded0). The light mode uses a neutral background (#f7fdfa). Dark mode switches to a vivid violet primary (#933ef4) on a blue-tinted background (#0f121f).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #0f121fblack |
| Foreground | #040c07black | #e9e3f2lavender |
| Card | #f7fdfamintcream | #0f121fblack |
| Card foreground | #040c07black | #ede8f4lavender |
| Popover | #f7fdfamintcream | #110d1cblack |
| Popover foreground | #040c07black | #f8fbfamintcream |
| Primary | #72a188lightslategray | #933ef4blueviolet |
| Primary foreground | #000000black | #f3f3f3whitesmoke |
| Secondary | #dde9e3gainsboro | #50f5acturquoise |
| Secondary foreground | #3b5949darkslategray | #0f121fblack |
| Muted | #d7eae0gainsboro | #261d2bdarkslategray |
| Muted foreground | #3c443fdarkslategray | #bbc3bfsilver |
| Accent | #c4ded0lightgrey | #3c3e4ddarkslategray |
| Accent foreground | #284837darkslategray | #cabdd6thistle |
| Destructive | #671f09maroon | #c86157indianred |
| Destructive foreground | #f8bdablightpink | #ffffffwhite |
| Border | #e1e5e3gainsboro | #8b7f95lightslategray |
| Input | #e1e5e3gainsboro | #25294edarkslategray |
| Ring | #72a188lightslategray | #886295gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 7.18:1 | AAA |
| Secondary button | 6.19:1 | AA |
| Muted text | 7.98:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 7.22:1 | AAA |
| Text on background | 14.85:1 | AAA |
| Text on card | 15.48:1 | AAA |
| Primary button | 4.46:1 | AA Large |
| Secondary button | 13.31:1 | AAA |
| Muted text | 9.02:1 | AAA |
| Accent | 5.91:1 | AA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use APP CHANGE TEXT COLOR in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.008 163.229);
--foreground: oklch(0.141 0.018 163.287);
--muted: oklch(0.919 0.023 162.785);
--muted-foreground: oklch(0.377 0.012 162.602);
--popover: oklch(0.989 0.008 163.229);
--popover-foreground: oklch(0.141 0.018 163.287);
--card: oklch(0.989 0.008 163.229);
--card-foreground: oklch(0.141 0.018 163.287);
--border: oklch(0.918 0.006 163.285);
--input: oklch(0.918 0.006 163.285);
--primary: oklch(0.669 0.063 160.789);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.923 0.014 163.046);
--secondary-foreground: oklch(0.435 0.044 160.557);
--accent: oklch(0.878 0.033 162.457);
--accent-foreground: oklch(0.371 0.048 159.599);
--destructive: oklch(0.351 0.108 36.427);
--destructive-foreground: oklch(0.846 0.073 37.602);
--ring: oklch(0.669 0.063 160.789);
--chart-1: oklch(0.669 0.063 160.789);
--chart-2: oklch(0.923 0.014 163.046);
--chart-3: oklch(0.878 0.033 162.457);
--chart-4: oklch(0.944 0.01 163.164);
--chart-5: oklch(0.675 0.072 160.39);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.186 0.027 273.558);
--foreground: oklch(0.925 0.022 304.323);
--muted: oklch(0.248 0.029 313.274);
--muted-foreground: oklch(0.81 0.01 163.125);
--popover: oklch(0.173 0.031 296.017);
--popover-foreground: oklch(0.987 0.004 163.349);
--card: oklch(0.186 0.027 273.558);
--card-foreground: oklch(0.938 0.017 304.394);
--border: oklch(0.615 0.035 308.667);
--input: oklch(0.297 0.067 276.872);
--primary: oklch(0.576 0.252 299.471);
--primary-foreground: oklch(0.965 0 180);
--secondary: oklch(0.867 0.171 160.009);
--secondary-foreground: oklch(0.186 0.027 273.558);
--accent: oklch(0.368 0.026 279.079);
--accent-foreground: oklch(0.817 0.037 308.358);
--destructive: oklch(0.615 0.133 27.292);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.555 0.088 316.902);
--chart-1: oklch(0.867 0.171 160.009);
--chart-2: oklch(0.75 0.157 311.745);
--chart-3: oklch(0.905 0.195 124.752);
--chart-4: oklch(0.83 0.123 211.716);
--chart-5: oklch(0.566 0.221 272.549);
}