Accountant for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.79:1AAA
Text on card19.62:1AAA
Primary button7.27:1AAA
Secondary button7.14:1AAA
Muted text7.27:1AAA
Accent7.94:1AAA
Destructive6.28:1AA
Dark mode
Text on background18.54:1AAA
Text on card18.58:1AAA
Primary button7.27:1AAA
Secondary button8.15:1AAA
Muted text8.70:1AAA
Accent7.42:1AAA
Destructive4.32:1AA Large

CSS variables

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);
}