Accountant is a shadcn/ui theme built around a vivid light orange primary color (#fbbf9d) with muted light orange accents (#d0c8c3). The light mode uses a neutral background (#fdf9f6). Dark mode keeps the vivid light orange primary (#fbbf9d) on an orange-tinted background (#0d0907).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f6snow | #0d0907black |
| Foreground | #040201black | #faf7f5whitesmoke |
| Card | #fdf6f2seashell | #110c09black |
| Card foreground | #000000black | #fcf9f8snow |
| Popover | #fdf9f6snow | #0d0907black |
| Popover foreground | #040201black | #faf7f5whitesmoke |
| Primary | #fbbf9dnavajowhite | #fbbf9dnavajowhite |
| Primary foreground | #622604maroon | #622604maroon |
| Secondary | #dfddddgainsboro | #312721darkslategray |
| Secondary foreground | #484442darkslategray | #cdbfb6silver |
| Muted | #eee7e3linen | #1c1511black |
| Muted foreground | #504844darkslategray | #bbb3afdarkgray |
| Accent | #d0c8c3silver | #4d392ddarkslategray |
| Accent foreground | #362f2bdarkslategray | #e1d3cclightgrey |
| Destructive | #991200darkred | #f01c00red |
| Destructive foreground | #ffd2ccpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fbbf9dnavajowhite | #fbbf9dnavajowhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.62:1 | AAA |
| Primary button | 7.27:1 | AAA |
| Secondary button | 7.14:1 | AAA |
| Muted text | 7.27:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 18.54:1 | AAA |
| Text on card | 18.58:1 | AAA |
| Primary button | 7.27:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 8.70:1 | AAA |
| Accent | 7.42:1 | AAA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Accountant in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.006 52.497);
--foreground: oklch(0.092 0.01 61.286);
--muted: oklch(0.931 0.009 52.444);
--muted-foreground: oklch(0.409 0.012 52.184);
--popover: oklch(0.985 0.006 52.497);
--popover-foreground: oklch(0.092 0.01 61.286);
--card: oklch(0.977 0.009 52.456);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.852 0.084 51.313);
--primary-foreground: oklch(0.353 0.097 45.095);
--secondary: oklch(0.9 0.002 52.545);
--secondary-foreground: oklch(0.39 0.006 52.38);
--accent: oklch(0.837 0.011 52.4);
--accent-foreground: oklch(0.311 0.013 52.038);
--destructive: oklch(0.436 0.169 31.135);
--destructive-foreground: oklch(0.901 0.052 26.928);
--ring: oklch(0.852 0.084 51.313);
--chart-1: oklch(0.852 0.084 51.313);
--chart-2: oklch(0.9 0.002 52.545);
--chart-3: oklch(0.837 0.011 52.4);
--chart-4: oklch(0.923 0.002 52.554);
--chart-5: oklch(0.852 0.086 51.269);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.146 0.009 54.837);
--foreground: oklch(0.977 0.004 52.521);
--muted: oklch(0.205 0.014 51.723);
--muted-foreground: oklch(0.773 0.011 52.397);
--popover: oklch(0.146 0.009 54.837);
--popover-foreground: oklch(0.977 0.004 52.521);
--card: oklch(0.158 0.01 52.074);
--card-foreground: oklch(0.985 0.003 52.541);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.852 0.084 51.313);
--primary-foreground: oklch(0.353 0.097 45.095);
--secondary: oklch(0.281 0.018 51.766);
--secondary-foreground: oklch(0.814 0.021 52.248);
--accent: oklch(0.363 0.035 51.351);
--accent-foreground: oklch(0.877 0.018 52.303);
--destructive: oklch(0.606 0.239 30.58);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.852 0.084 51.313);
--chart-1: oklch(0.852 0.084 51.313);
--chart-2: oklch(0.281 0.018 51.766);
--chart-3: oklch(0.363 0.035 51.351);
--chart-4: oklch(0.312 0.021 51.732);
--chart-5: oklch(0.852 0.086 51.269);
}