Green 1 is a shadcn/ui theme built around a teal primary color (#3c7768) with muted light teal accents (#bcd2cd). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the teal primary (#3c7768) on a teal-tinted background (#040b09).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #040b09black |
| Foreground | #030806black | #ffffffwhite |
| Card | #f8fbfbghostwhite | #060f0cblack |
| Card foreground | #010403black | #ffffffwhite |
| Popover | #f8fbfbghostwhite | #060f0cblack |
| Popover foreground | #010403black | #ffffffwhite |
| Primary | #3c7768seagreen | #3c7768seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dae1e0gainsboro | #293834darkslategray |
| Secondary foreground | #3d4c49darkslategray | #c1d1cdlightgrey |
| Muted | #d8dfddgainsboro | #202725darkslategray |
| Muted foreground | #4a645ddimgray | #9bb5afdarkgray |
| Accent | #bcd2cdsilver | #324d46darkslategray |
| Accent foreground | #253732darkslategray | #d1e1ddgainsboro |
| Destructive | #87290dsaddlebrown | #eb5628chocolate |
| Destructive foreground | #fad7ccbisque | #ffffffwhite |
| Border | #eff1f0whitesmoke | #1c2120black |
| Input | #eff1f0whitesmoke | #1c2120black |
| Ring | #3c7768seagreen | #3c7768seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 5.23:1 | AA |
| Secondary button | 6.82:1 | AA |
| Muted text | 4.73:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 6.63:1 | AA |
| Text on background | 19.85:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 5.23:1 | AA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 6.95:1 | AA |
| Accent | 6.77:1 | AA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Green 1 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 179.816);
--foreground: oklch(0.124 0.013 179.909);
--muted: oklch(0.897 0.008 179.609);
--muted-foreground: oklch(0.479 0.033 177.75);
--popover: oklch(0.987 0.003 179.765);
--popover-foreground: oklch(0.098 0.01 179.909);
--card: oklch(0.987 0.003 179.765);
--card-foreground: oklch(0.098 0.01 179.909);
--border: oklch(0.956 0.002 179.795);
--input: oklch(0.956 0.002 179.795);
--primary: oklch(0.524 0.067 175.305);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.905 0.008 179.606);
--secondary-foreground: oklch(0.404 0.02 178.357);
--accent: oklch(0.846 0.025 178.988);
--accent-foreground: oklch(0.32 0.025 177.366);
--destructive: oklch(0.423 0.134 36.168);
--destructive-foreground: oklch(0.905 0.043 37.601);
--ring: oklch(0.524 0.067 175.305);
--chart-1: oklch(0.524 0.067 175.305);
--chart-2: oklch(0.905 0.008 179.606);
--chart-3: oklch(0.846 0.025 178.988);
--chart-4: oklch(0.927 0.006 179.672);
--chart-5: oklch(0.53 0.071 174.907);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.014 179.695);
--foreground: oklch(1 0 180);
--muted: oklch(0.266 0.011 178.675);
--muted-foreground: oklch(0.752 0.03 178.683);
--popover: oklch(0.157 0.016 177.833);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.157 0.016 177.833);
--card-foreground: oklch(1 0 180);
--border: oklch(0.242 0.007 179.065);
--input: oklch(0.242 0.007 179.065);
--primary: oklch(0.524 0.067 175.305);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.325 0.02 177.955);
--secondary-foreground: oklch(0.849 0.018 179.242);
--accent: oklch(0.397 0.034 177.067);
--accent-foreground: oklch(0.896 0.018 179.283);
--destructive: oklch(0.646 0.193 36.681);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.524 0.067 175.305);
--chart-1: oklch(0.524 0.067 175.305);
--chart-2: oklch(0.325 0.02 177.955);
--chart-3: oklch(0.397 0.034 177.067);
--chart-4: oklch(0.357 0.023 177.896);
--chart-5: oklch(0.53 0.071 174.907);
}