Inherent Clear Green is a shadcn/ui theme built around a vivid deep green primary color (#0d7228) with muted green accents (#b4cbba). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#0d7228) on a neutral background (#020402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020402black |
| Foreground | #010903black | #f9fbf9mintcream |
| Card | #ffffffwhite | #020402black |
| Card foreground | #010903black | #f9fbf9mintcream |
| Popover | #ffffffwhite | #020402black |
| Popover foreground | #010903black | #f9fbf9mintcream |
| Primary | #0d7228forestgreen | #0d7228forestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c9d4cclightgrey | #141514black |
| Secondary foreground | #303b33darkslategray | #aab1acdarkgray |
| Muted | #f1f3f2whitesmoke | #0c0e0cblack |
| Muted foreground | #3b4f40darkslategray | #b0c4b5silver |
| Accent | #b4cbbasilver | #273029darkslategray |
| Accent foreground | #1f2d23darkslategray | #becac2silver |
| Destructive | #ce2812firebrick | #e62c14orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e8ede9linen | #1a231dblack |
| Input | #e8ede9linen | #1a231dblack |
| Ring | #0d7228forestgreen | #0d7228forestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.15:1 | AAA |
| Text on card | 20.15:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 7.65:1 | AAA |
| Muted text | 7.94:1 | AAA |
| Accent | 8.34:1 | AAA |
| Destructive | 5.31:1 | AA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 8.35:1 | AAA |
| Muted text | 10.53:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 4.43:1 | AA Large |
Paste this into your globals.css to use Inherent Clear Green in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.025 153.738);
--muted: oklch(0.963 0.003 154.467);
--muted-foreground: oklch(0.406 0.036 152.837);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.025 153.738);
--card: oklch(1 0 180);
--card-foreground: oklch(0.125 0.025 153.738);
--border: oklch(0.942 0.008 154.373);
--input: oklch(0.942 0.008 154.373);
--primary: oklch(0.483 0.139 146.624);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.859 0.016 154.201);
--secondary-foreground: oklch(0.34 0.022 153.346);
--accent: oklch(0.819 0.034 153.771);
--accent-foreground: oklch(0.282 0.026 152.741);
--destructive: oklch(0.552 0.204 30.994);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.483 0.139 146.624);
--chart-1: oklch(0.483 0.139 146.624);
--chart-2: oklch(0.859 0.016 154.201);
--chart-3: oklch(0.819 0.034 153.771);
--chart-4: oklch(0.882 0.013 154.262);
--chart-5: oklch(0.488 0.143 146.398);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.011 154.085);
--foreground: oklch(0.986 0.004 154.457);
--muted: oklch(0.16 0.005 153.948);
--muted-foreground: oklch(0.802 0.031 153.829);
--popover: oklch(0.096 0.011 154.085);
--popover-foreground: oklch(0.986 0.004 154.457);
--card: oklch(0.096 0.011 154.085);
--card-foreground: oklch(0.986 0.004 154.457);
--border: oklch(0.245 0.017 153.226);
--input: oklch(0.245 0.017 153.226);
--primary: oklch(0.483 0.139 146.624);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.194 0.003 154.207);
--secondary-foreground: oklch(0.753 0.01 154.292);
--accent: oklch(0.297 0.017 153.504);
--accent-foreground: oklch(0.828 0.017 154.151);
--destructive: oklch(0.598 0.222 30.977);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.483 0.139 146.624);
--chart-1: oklch(0.483 0.139 146.624);
--chart-2: oklch(0.194 0.003 154.207);
--chart-3: oklch(0.297 0.017 153.504);
--chart-4: oklch(0.228 0.005 154.167);
--chart-5: oklch(0.488 0.143 146.398);
}