External Off-Road Green is a shadcn/ui theme built around a deep teal primary color (#0b3723) with deep teal accents (#0b3537). The light mode uses a neutral background (#fbfefd). Dark mode keeps the deep teal primary (#0b3723) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #000000black |
| Foreground | #030c08black | #fcfdfdwhite |
| Card | #f7fdfamintcream | #030303black |
| Card foreground | #020805black | #ffffffwhite |
| Popover | #f7fdfamintcream | #030303black |
| Popover foreground | #020805black | #ffffffwhite |
| Primary | #0b3723darkgreen | #0b3723darkgreen |
| Primary foreground | #37d78fmediumseagreen | #37d78fmediumseagreen |
| Secondary | #0b370ddarkgreen | #0b370ddarkgreen |
| Secondary foreground | #37d73flimegreen | #37d73flimegreen |
| Muted | #deeddfgainsboro | #122113black |
| Muted foreground | #515c52dimgray | #a3aea4darkgray |
| Accent | #0b3537darkslategray | #0b3537darkslategray |
| Accent foreground | #37cfd7mediumturquoise | #37cfd7mediumturquoise |
| Destructive | #af3d04saddlebrown | #fa5705orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e0e5e3gainsboro | #1e2421black |
| Input | #e0e5e3gainsboro | #1e2421black |
| Ring | #0b3723darkgreen | #0b3723darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 7.08:1 | AAA |
| Secondary button | 6.96:1 | AA |
| Muted text | 5.75:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 6.02:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.08:1 | AAA |
| Secondary button | 6.96:1 | AA |
| Muted text | 7.30:1 | AAA |
| Accent | 6.99:1 | AA |
| Destructive | 3.27:1 | AA Large |
Paste this into your globals.css to use External Off-Road Green in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 167.71);
--foreground: oklch(0.142 0.019 167.647);
--muted: oklch(0.931 0.024 146.791);
--muted-foreground: oklch(0.462 0.02 146.618);
--popover: oklch(0.989 0.007 167.605);
--popover-foreground: oklch(0.124 0.016 168.042);
--card: oklch(0.989 0.007 167.605);
--card-foreground: oklch(0.124 0.016 168.042);
--border: oklch(0.919 0.006 167.625);
--input: oklch(0.919 0.006 167.625);
--primary: oklch(0.302 0.06 159.551);
--primary-foreground: oklch(0.783 0.166 158.448);
--secondary: oklch(0.298 0.084 143.78);
--secondary-foreground: oklch(0.771 0.231 143.49);
--accent: oklch(0.303 0.045 200.177);
--accent-foreground: oklch(0.783 0.122 200.341);
--destructive: oklch(0.516 0.159 40.247);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.302 0.06 159.551);
--chart-1: oklch(0.302 0.06 159.551);
--chart-2: oklch(0.298 0.084 143.78);
--chart-3: oklch(0.303 0.045 200.177);
--chart-4: oklch(0.34 0.099 143.655);
--chart-5: oklch(0.305 0.062 159.202);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 167.754);
--muted: oklch(0.229 0.034 145.543);
--muted-foreground: oklch(0.738 0.018 146.806);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.254 0.01 166.682);
--input: oklch(0.254 0.01 166.682);
--primary: oklch(0.302 0.06 159.551);
--primary-foreground: oklch(0.783 0.166 158.448);
--secondary: oklch(0.298 0.084 143.78);
--secondary-foreground: oklch(0.771 0.231 143.49);
--accent: oklch(0.303 0.045 200.177);
--accent-foreground: oklch(0.783 0.122 200.341);
--destructive: oklch(0.67 0.211 39.427);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.302 0.06 159.551);
--chart-1: oklch(0.302 0.06 159.551);
--chart-2: oklch(0.298 0.084 143.78);
--chart-3: oklch(0.303 0.045 200.177);
--chart-4: oklch(0.34 0.099 143.655);
--chart-5: oklch(0.305 0.062 159.202);
}