Poor Dynamic Yellow for shadcn/ui

Poor Dynamic Yellow is a shadcn/ui theme built around a vivid yellow primary color (#fee36c) with vivid purple accents (#e36cfe). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid yellow primary (#fee36c) on a neutral background (#080702).

Color palette

TokenLightDark
Background
#ffffffwhite
#080702black
Foreground
#141106black
#f9f9f5whitesmoke
Card
#fcfcfcsnow
#0c0a03black
Card foreground
#100e05black
#fbfbf9snow
Popover
#ffffffwhite
#080702black
Popover foreground
#141106black
#f9f9f5whitesmoke
Primary
#fee36ckhaki
#fee36ckhaki
Primary foreground
#382e00black
#382e00black
Secondary
#6cfee3aquamarine
#6cfee3aquamarine
Secondary foreground
#00382edarkslategray
#00382edarkslategray
Muted
#eff6f5whitesmoke
#09100fblack
Muted foreground
#505353darkslategray
#acafaedarkgray
Accent
#e36cfeviolet
#e36cfeviolet
Accent foreground
#2e0038midnightblue
#2e0038midnightblue
Destructive
#993605saddlebrown
#f86f2atomato
Destructive foreground
#ffffffwhite
#000000black
Border
#eeeeecwhitesmoke
#282724darkslategray
Input
#eeeeecwhitesmoke
#282724darkslategray
Ring
#fee36ckhaki
#fee36ckhaki

Contrast

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

Light mode
Text on background18.87:1AAA
Text on card18.90:1AAA
Primary button10.56:1AAA
Secondary button10.56:1AAA
Muted text7.08:1AAA
Accent6.69:1AA
Destructive7.25:1AAA
Dark mode
Text on background19.10:1AAA
Text on card19.07:1AAA
Primary button10.56:1AAA
Secondary button10.56:1AAA
Muted text8.66:1AAA
Accent6.69:1AA
Destructive7.31:1AAA

CSS variables

Paste this into your globals.css to use Poor Dynamic Yellow in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.178 0.023 97.698);
  --muted: oklch(0.967 0.008 184.089);
  --muted-foreground: oklch(0.44 0.004 184.049);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.178 0.023 97.698);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.162 0.02 98.415);
  --border: oklch(0.948 0.002 96.192);
  --input: oklch(0.948 0.002 96.192);
  --primary: oklch(0.916 0.142 96.804);
  --primary-foreground: oklch(0.302 0.062 95.59);
  --secondary: oklch(0.911 0.132 179.122);
  --secondary-foreground: oklch(0.304 0.057 176.013);
  --accent: oklch(0.728 0.229 319.939);
  --accent-foreground: oklch(0.219 0.105 319.312);
  --destructive: oklch(0.471 0.142 40.858);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.916 0.142 96.804);
  --chart-1: oklch(0.916 0.142 96.804);
  --chart-2: oklch(0.911 0.132 179.122);
  --chart-3: oklch(0.728 0.229 319.939);
  --chart-4: oklch(0.917 0.122 179.786);
  --chart-5: oklch(0.921 0.145 96.761);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.016 100.362);
  --foreground: oklch(0.981 0.005 96.224);
  --muted: oklch(0.167 0.012 182.32);
  --muted-foreground: oklch(0.751 0.004 184.177);
  --popover: oklch(0.127 0.016 100.362);
  --popover-foreground: oklch(0.981 0.005 96.224);
  --card: oklch(0.146 0.019 99.785);
  --card-foreground: oklch(0.987 0.003 96.204);
  --border: oklch(0.274 0.006 96.419);
  --input: oklch(0.274 0.006 96.419);
  --primary: oklch(0.916 0.142 96.804);
  --primary-foreground: oklch(0.302 0.062 95.59);
  --secondary: oklch(0.911 0.132 179.122);
  --secondary-foreground: oklch(0.304 0.057 176.013);
  --accent: oklch(0.728 0.229 319.939);
  --accent-foreground: oklch(0.219 0.105 319.312);
  --destructive: oklch(0.699 0.185 43.513);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.916 0.142 96.804);
  --chart-1: oklch(0.916 0.142 96.804);
  --chart-2: oklch(0.911 0.132 179.122);
  --chart-3: oklch(0.728 0.229 319.939);
  --chart-4: oklch(0.917 0.122 179.786);
  --chart-5: oklch(0.921 0.145 96.761);
}