Banking is a shadcn/ui theme built around a vivid green primary color (#4ce641) with vivid purple accents (#db41e6). The light mode uses a neutral background (#fbfefb). Dark mode keeps the vivid green primary (#4ce641) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #000000black |
| Foreground | #031202black | #fcfdfcwhite |
| Card | #f8fcf8mintcream | #030303black |
| Card foreground | #020e02black | #ffffffwhite |
| Popover | #fbfefbwhite | #000000black |
| Popover foreground | #031202black | #fcfdfcwhite |
| Primary | #4ce641limegreen | #4ce641limegreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #db41e6mediumorchid | #db41e6mediumorchid |
| Secondary foreground | #000000black | #000000black |
| Muted | #f5eff5whitesmoke | #0f0a10black |
| Muted foreground | #616161dimgray | #9e9e9edarkgray |
| Accent | #db41e6mediumorchid | #db41e6mediumorchid |
| Accent foreground | #000000black | #000000black |
| Destructive | #652206maroon | #ec500eorangered |
| Destructive foreground | #fabda3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4ce641limegreen | #4ce641limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.91:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 12.74:1 | AAA |
| Secondary button | 5.93:1 | AA |
| Muted text | 5.48:1 | AA |
| Accent | 5.93:1 | AA |
| Destructive | 7.18:1 | AAA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 12.74:1 | AAA |
| Secondary button | 5.93:1 | AA |
| Muted text | 7.31:1 | AAA |
| Accent | 5.93:1 | AA |
| Destructive | 3.65:1 | AA Large |
Paste this into your globals.css to use Banking in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 143.616);
--foreground: oklch(0.163 0.044 141.341);
--muted: oklch(0.959 0.009 323.686);
--muted-foreground: oklch(0.492 0 180);
--popover: oklch(0.994 0.004 143.616);
--popover-foreground: oklch(0.163 0.044 141.341);
--card: oklch(0.987 0.008 143.595);
--card-foreground: oklch(0.145 0.039 141.219);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.815 0.24 142.142);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.661 0.258 325.075);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.661 0.258 325.075);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.352 0.103 40.32);
--destructive-foreground: oklch(0.848 0.078 44.261);
--ring: oklch(0.815 0.24 142.142);
--chart-1: oklch(0.815 0.24 142.142);
--chart-2: oklch(0.661 0.258 325.075);
--chart-3: oklch(0.661 0.258 325.075);
--chart-4: oklch(0.678 0.245 325.046);
--chart-5: oklch(0.822 0.246 142.133);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 143.627);
--muted: oklch(0.154 0.015 324.106);
--muted-foreground: oklch(0.7 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 143.627);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.815 0.24 142.142);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.661 0.258 325.075);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.661 0.258 325.075);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.641 0.202 38.547);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.815 0.24 142.142);
--chart-1: oklch(0.815 0.24 142.142);
--chart-2: oklch(0.661 0.258 325.075);
--chart-3: oklch(0.661 0.258 325.075);
--chart-4: oklch(0.678 0.245 325.046);
--chart-5: oklch(0.822 0.246 142.133);
}