Excellent Crude Banana Green is a shadcn/ui theme built around a vivid green primary color (#1ec318) with vivid purple accents (#bd18c3). The light mode uses a neutral background (#fbfefb). Dark mode keeps the vivid green primary (#1ec318) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #020302black |
| Foreground | #051505black | #f6f9f5whitesmoke |
| Card | #f7fdf7mintcream | #030703black |
| Card foreground | #041004black | #f9fbf9mintcream |
| Popover | #fbfefbwhite | #020302black |
| Popover foreground | #051505black | #f6f9f5whitesmoke |
| Primary | #1ec318limegreen | #1ec318limegreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #bd18c3darkorchid | #bd18c3darkorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f0eaf1whitesmoke | #150e15black |
| Muted foreground | #6b566cdimgray | #a893a9darkgray |
| Accent | #bd18c3darkorchid | #bd18c3darkorchid |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #890a01darkred | #fe2a1borangered |
| Destructive foreground | #ffc1bdlightpink | #ffffffwhite |
| Border | #eff0efwhitesmoke | #232423black |
| Input | #eff0efwhitesmoke | #232423black |
| Ring | #1ec318limegreen | #1ec318limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.52:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 2.36:1 | Fail |
| Secondary button | 5.12:1 | AA |
| Muted text | 5.58:1 | AA |
| Accent | 5.12:1 | AA |
| Destructive | 6.46:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 2.36:1 | Fail |
| Secondary button | 5.12:1 | AA |
| Muted text | 6.68:1 | AA |
| Accent | 5.12:1 | AA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Excellent Crude Banana Green in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 144.585);
--foreground: oklch(0.174 0.039 142.818);
--muted: oklch(0.943 0.011 324.695);
--muted-foreground: oklch(0.482 0.042 325.155);
--popover: oklch(0.994 0.005 144.585);
--popover-foreground: oklch(0.174 0.039 142.818);
--card: oklch(0.988 0.01 144.55);
--card-foreground: oklch(0.158 0.034 142.804);
--border: oklch(0.955 0.001 144.611);
--input: oklch(0.955 0.001 144.611);
--primary: oklch(0.711 0.233 142.409);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.571 0.253 326.642);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.571 0.253 326.642);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.4 0.158 30.278);
--destructive-foreground: oklch(0.866 0.071 23.31);
--ring: oklch(0.711 0.233 142.409);
--chart-1: oklch(0.711 0.233 142.409);
--chart-2: oklch(0.571 0.253 326.642);
--chart-3: oklch(0.571 0.253 326.642);
--chart-4: oklch(0.6 0.267 326.642);
--chart-5: oklch(0.72 0.238 142.406);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.012 143.521);
--foreground: oklch(0.979 0.006 144.577);
--muted: oklch(0.178 0.017 325.21);
--muted-foreground: oklch(0.69 0.039 324.968);
--popover: oklch(0.095 0.012 143.521);
--popover-foreground: oklch(0.979 0.006 144.577);
--card: oklch(0.12 0.016 143.521);
--card-foreground: oklch(0.986 0.004 144.591);
--border: oklch(0.26 0.003 144.536);
--input: oklch(0.26 0.003 144.536);
--primary: oklch(0.711 0.233 142.409);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.571 0.253 326.642);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.571 0.253 326.642);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.64 0.243 29.661);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.711 0.233 142.409);
--chart-1: oklch(0.711 0.233 142.409);
--chart-2: oklch(0.571 0.253 326.642);
--chart-3: oklch(0.571 0.253 326.642);
--chart-4: oklch(0.6 0.267 326.642);
--chart-5: oklch(0.72 0.238 142.406);
}