Continental O’Neal Green is a shadcn/ui theme built around a muted deep green primary color (#3a5a45) with muted deep teal accents (#3a5a55). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep green primary (#3a5a45) on a green-tinted background (#050f09).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050f09black |
| Foreground | #03170ablack | #f5f9f7whitesmoke |
| Card | #fcfcfcsnow | #06130bblack |
| Card foreground | #021208black | #f9fbfamintcream |
| Popover | #ffffffwhite | #050f09black |
| Popover foreground | #03170ablack | #f5f9f7whitesmoke |
| Primary | #3a5a45darkslategray | #3a5a45darkslategray |
| Primary foreground | #dde9e1gainsboro | #dde9e1gainsboro |
| Secondary | #3f5a3adarkslategray | #3f5a3adarkslategray |
| Secondary foreground | #dfe9ddgainsboro | #dfe9ddgainsboro |
| Muted | #e7f0e5beige | #111a0fblack |
| Muted foreground | #546751dimgray | #9bae98darkseagreen |
| Accent | #3a5a55darkslategray | #3a5a55darkslategray |
| Accent foreground | #dde9e7gainsboro | #dde9e7gainsboro |
| Destructive | #db310aorangered | #f4421aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e2e9e4gainsboro | #1f2922darkslategray |
| Input | #e2e9e4gainsboro | #1f2922darkslategray |
| Ring | #3a5a45darkslategray | #3a5a45darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.57:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 6.15:1 | AA |
| Secondary button | 6.14:1 | AA |
| Muted text | 5.23:1 | AA |
| Accent | 6.07:1 | AA |
| Destructive | 4.71:1 | AA |
| Text on background | 18.30:1 | AAA |
| Text on card | 18.25:1 | AAA |
| Primary button | 6.15:1 | AA |
| Secondary button | 6.14:1 | AA |
| Muted text | 7.56:1 | AAA |
| Accent | 6.07:1 | AA |
| Destructive | 3.71:1 | AA Large |
Paste this into your globals.css to use Continental O’Neal Green in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.181 0.038 154.302);
--muted: oklch(0.945 0.018 141.024);
--muted-foreground: oklch(0.491 0.041 140.885);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.181 0.038 154.302);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.163 0.033 155.743);
--border: oklch(0.928 0.01 157.762);
--input: oklch(0.928 0.01 157.762);
--primary: oklch(0.436 0.052 155.151);
--primary-foreground: oklch(0.923 0.017 157.594);
--secondary: oklch(0.437 0.062 140.783);
--secondary-foreground: oklch(0.923 0.02 141.018);
--accent: oklch(0.442 0.039 184.118);
--accent-foreground: oklch(0.925 0.013 186.225);
--destructive: oklch(0.581 0.21 32.823);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.436 0.052 155.151);
--chart-1: oklch(0.436 0.052 155.151);
--chart-2: oklch(0.437 0.062 140.783);
--chart-3: oklch(0.442 0.039 184.118);
--chart-4: oklch(0.467 0.067 140.781);
--chart-5: oklch(0.441 0.058 154.767);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.156 0.022 156.497);
--foreground: oklch(0.979 0.005 157.873);
--muted: oklch(0.204 0.025 140.81);
--muted-foreground: oklch(0.731 0.038 140.953);
--popover: oklch(0.156 0.022 156.497);
--popover-foreground: oklch(0.979 0.005 157.873);
--card: oklch(0.172 0.026 155.11);
--card-foreground: oklch(0.986 0.003 157.911);
--border: oklch(0.268 0.018 156.446);
--input: oklch(0.268 0.018 156.446);
--primary: oklch(0.436 0.052 155.151);
--primary-foreground: oklch(0.923 0.017 157.594);
--secondary: oklch(0.437 0.062 140.783);
--secondary-foreground: oklch(0.923 0.02 141.018);
--accent: oklch(0.442 0.039 184.118);
--accent-foreground: oklch(0.925 0.013 186.225);
--destructive: oklch(0.64 0.22 33.464);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.436 0.052 155.151);
--chart-1: oklch(0.436 0.052 155.151);
--chart-2: oklch(0.437 0.062 140.783);
--chart-3: oklch(0.442 0.039 184.118);
--chart-4: oklch(0.467 0.067 140.781);
--chart-5: oklch(0.441 0.058 154.767);
}