Jumbo for shadcn/ui

Jumbo is a shadcn/ui theme built around a deep yellow primary color (#43310a) with deep green accents (#38430a). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the deep yellow primary (#43310a) on a neutral background (#070603).

Color palette

TokenLightDark
Background
#fdfbf7snow
#070603black
Foreground
#151005black
#fbfaf9snow
Card
#fcf9f3floralwhite
#0a0905black
Card foreground
#110d04black
#fdfdfcwhite
Popover
#fcf9f3floralwhite
#0a0905black
Popover foreground
#110d04black
#fdfdfcwhite
Primary
#43310adarkolivegreen
#43310adarkolivegreen
Primary foreground
#e2ac36goldenrod
#e2ac36goldenrod
Secondary
#43140amaroon
#43140amaroon
Secondary foreground
#efa18fdarksalmon
#efa18fdarksalmon
Muted
#f2e6e3linen
#1c100dblack
Muted foreground
#4f3e3bdarkslategray
#c4b4b0silver
Accent
#38430adarkolivegreen
#38430adarkolivegreen
Accent foreground
#c3e236greenyellow
#c3e236greenyellow
Destructive
#ac3e06saddlebrown
#e75308orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#43310adarkolivegreen
#43310adarkolivegreen

Contrast

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

Light mode
Text on background18.32:1AAA
Text on card18.43:1AAA
Primary button6.07:1AA
Secondary button7.56:1AAA
Muted text8.25:1AAA
Accent7.21:1AAA
Destructive6.10:1AA
Dark mode
Text on background19.45:1AAA
Text on card19.58:1AAA
Primary button6.07:1AA
Secondary button7.56:1AAA
Muted text9.31:1AAA
Accent7.21:1AAA
Destructive3.72:1AA Large

CSS variables

Paste this into your globals.css to use Jumbo in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 86.029);
  --foreground: oklch(0.174 0.023 87.158);
  --muted: oklch(0.934 0.014 32.666);
  --muted-foreground: oklch(0.382 0.025 32.824);
  --popover: oklch(0.983 0.009 86.04);
  --popover-foreground: oklch(0.159 0.021 88.864);
  --card: oklch(0.983 0.009 86.04);
  --card-foreground: oklch(0.159 0.021 88.864);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.325 0.059 82.439);
  --primary-foreground: oklch(0.775 0.142 82.293);
  --secondary: oklch(0.266 0.075 34.152);
  --secondary-foreground: oklch(0.781 0.097 33.204);
  --accent: oklch(0.361 0.078 119.826);
  --accent-foreground: oklch(0.862 0.188 119.89);
  --destructive: oklch(0.513 0.155 40.675);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.325 0.059 82.439);
  --chart-1: oklch(0.325 0.059 82.439);
  --chart-2: oklch(0.266 0.075 34.152);
  --chart-3: oklch(0.361 0.078 119.826);
  --chart-4: oklch(0.298 0.087 34.125);
  --chart-5: oklch(0.327 0.061 82.111);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.009 89.98);
  --foreground: oklch(0.986 0.003 86.017);
  --muted: oklch(0.187 0.021 33.124);
  --muted-foreground: oklch(0.782 0.02 32.684);
  --popover: oklch(0.139 0.011 89.947);
  --popover-foreground: oklch(0.993 0.001 86.012);
  --card: oklch(0.139 0.011 89.947);
  --card-foreground: oklch(0.993 0.001 86.012);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.325 0.059 82.439);
  --primary-foreground: oklch(0.775 0.142 82.293);
  --secondary: oklch(0.266 0.075 34.152);
  --secondary-foreground: oklch(0.781 0.097 33.204);
  --accent: oklch(0.361 0.078 119.826);
  --accent-foreground: oklch(0.862 0.188 119.89);
  --destructive: oklch(0.635 0.196 40.049);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.325 0.059 82.439);
  --chart-1: oklch(0.325 0.059 82.439);
  --chart-2: oklch(0.266 0.075 34.152);
  --chart-3: oklch(0.361 0.078 119.826);
  --chart-4: oklch(0.298 0.087 34.125);
  --chart-5: oklch(0.327 0.061 82.111);
}