Banana Palm Capybara is a shadcn/ui theme built around a muted green primary color (#959f64) with vivid yellow accents (#e4a30c). The light mode uses a neutral background (#fefbfb). Dark mode switches to a vivid red primary (#e4370c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #000000black |
| Foreground | #050101black | #fcf9f8snow |
| Card | #fdf8f7snow | #030303black |
| Card foreground | #000000black | #fdfcfbsnow |
| Popover | #fefbfbsnow | #000000black |
| Popover foreground | #050101black | #fcf9f8snow |
| Primary | #959f64gray | #e4370corangered |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #606838darkolivegreen | #e40c4dcrimson |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dbd6d8gainsboro | #292425darkslategray |
| Muted foreground | #634b52dimgray | #b49ca3darkgray |
| Accent | #e4a30cgoldenrod | #e4a30cgoldenrod |
| Accent foreground | #221802black | #221802black |
| Destructive | #c71d0afirebrick | #df210cred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ede9e8linen | #1f1a19black |
| Input | #ede9e8linen | #1f1a19black |
| Ring | #e4370corangered | #e4370corangered |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 2.83:1 | Fail |
| Secondary button | 5.94:1 | AA |
| Muted text | 5.50:1 | AA |
| Accent | 7.94:1 | AAA |
| Destructive | 5.83:1 | AA |
| Text on background | 20.04:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 4.33:1 | AA Large |
| Secondary button | 4.72:1 | AA |
| Muted text | 6.01:1 | AA |
| Accent | 7.94:1 | AAA |
| Destructive | 4.82:1 | AA |
Paste this into your globals.css to use Banana Palm Capybara in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 34.312);
--foreground: oklch(0.086 0.016 45.424);
--muted: oklch(0.881 0.006 356.862);
--muted-foreground: oklch(0.439 0.035 358.834);
--popover: oklch(0.991 0.003 34.312);
--popover-foreground: oklch(0.086 0.016 45.424);
--card: oklch(0.983 0.006 34.307);
--card-foreground: oklch(0 0 0);
--border: oklch(0.937 0.004 34.31);
--input: oklch(0.937 0.004 34.31);
--primary: oklch(0.68 0.081 116.46);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.498 0.07 116.899);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.758 0.155 79.615);
--accent-foreground: oklch(0.217 0.041 87.027);
--destructive: oklch(0.531 0.203 30.457);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.602 0.214 33.501);
--chart-1: oklch(0.819 0.072 115.827);
--chart-2: oklch(0.498 0.07 116.773);
--chart-3: oklch(0.7 0.133 83.196);
--chart-4: oklch(0.614 0.242 15.479);
--chart-5: oklch(0.606 0.219 33.226);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.004 34.311);
--muted: oklch(0.265 0.009 357.567);
--muted-foreground: oklch(0.717 0.03 357.844);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.004 34.311);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.002 34.314);
--border: oklch(0.224 0.008 34.309);
--input: oklch(0.224 0.008 34.309);
--primary: oklch(0.602 0.214 33.501);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.586 0.231 15.342);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.758 0.155 79.615);
--accent-foreground: oklch(0.217 0.041 87.027);
--destructive: oklch(0.578 0.222 30.434);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.602 0.214 33.501);
--chart-1: oklch(0.602 0.214 33.501);
--chart-2: oklch(0.586 0.231 15.342);
--chart-3: oklch(0.758 0.155 79.615);
--chart-4: oklch(0.614 0.242 15.479);
--chart-5: oklch(0.606 0.219 33.226);
}