P. \ Genmaicha for shadcn/ui

P. \ Genmaicha is a shadcn/ui theme built around a deep teal primary color (#27684f) with vivid orange accents (#f2c063). The light mode uses an orange-tinted background (#f8ddaa). Dark mode keeps the deep teal primary (#27684f) on an orange-tinted background (#f8ddaa).

Color palette

TokenLightDark
Background
#f8ddaanavajowhite
#f8ddaanavajowhite
Foreground
#232729darkslategray
#232729darkslategray
Card
#f7d9a1navajowhite
#f7d9a1navajowhite
Card foreground
#171a1cblack
#171a1cblack
Popover
#f7d79cnavajowhite
#f7d79cnavajowhite
Popover foreground
#0c0d0eblack
#0c0d0eblack
Primary
#27684fdarkslategray
#27684fdarkslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#acd2c4silver
#acd2c4silver
Secondary foreground
#1b3229darkslategray
#1b3229darkslategray
Muted
#cec9c0silver
#cec9c0silver
Muted foreground
#39352ddarkslategray
#39352ddarkslategray
Accent
#f2c063sandybrown
#f2c063sandybrown
Accent foreground
#211603black
#211603black
Destructive
#af0808firebrick
#af0808firebrick
Destructive foreground
#feececlinen
#feececlinen
Border
#f0d298khaki
#f0d298khaki
Input
#eecc8bburlywood
#eecc8bburlywood
Ring
#27684fdarkslategray
#27684fdarkslategray

Contrast

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

Light mode
Text on background11.40:1AAA
Text on card12.82:1AAA
Primary button6.58:1AA
Secondary button8.34:1AAA
Muted text7.39:1AAA
Accent10.61:1AAA
Destructive6.41:1AA
Dark mode
Text on background11.40:1AAA
Text on card12.82:1AAA
Primary button6.58:1AA
Secondary button8.34:1AAA
Muted text7.39:1AAA
Accent10.61:1AAA
Destructive6.41:1AA

CSS variables

Paste this into your globals.css to use P. \ Genmaicha in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.907 0.072 82.78);
  --foreground: oklch(0.271 0.007 229.111);
  --muted: oklch(0.837 0.013 83.065);
  --muted-foreground: oklch(0.33 0.015 83.013);
  --popover: oklch(0.893 0.084 82.607);
  --popover-foreground: oklch(0.158 0.003 228.979);
  --card: oklch(0.897 0.08 82.671);
  --card-foreground: oklch(0.216 0.005 229.066);
  --border: oklch(0.875 0.081 82.618);
  --input: oklch(0.859 0.091 82.404);
  --primary: oklch(0.469 0.079 164.79);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.833 0.045 169.92);
  --secondary-foreground: oklch(0.294 0.033 167.674);
  --accent: oklch(0.835 0.125 81.114);
  --accent-foreground: oklch(0.21 0.038 82.121);
  --destructive: oklch(0.477 0.192 28.771);
  --destructive-foreground: oklch(0.956 0.02 17.512);
  --ring: oklch(0.469 0.079 164.79);
  --chart-1: oklch(0.469 0.079 164.79);
  --chart-2: oklch(0.833 0.045 169.92);
  --chart-3: oklch(0.835 0.125 81.114);
  --chart-4: oklch(0.853 0.04 170.173);
  --chart-5: oklch(0.474 0.083 164.36);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.907 0.072 82.78);
  --foreground: oklch(0.271 0.007 229.111);
  --muted: oklch(0.837 0.013 83.065);
  --muted-foreground: oklch(0.33 0.015 83.013);
  --popover: oklch(0.893 0.084 82.607);
  --popover-foreground: oklch(0.158 0.003 228.979);
  --card: oklch(0.897 0.08 82.671);
  --card-foreground: oklch(0.216 0.005 229.066);
  --border: oklch(0.875 0.081 82.618);
  --input: oklch(0.859 0.091 82.404);
  --primary: oklch(0.469 0.079 164.79);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.833 0.045 169.92);
  --secondary-foreground: oklch(0.294 0.033 167.674);
  --accent: oklch(0.835 0.125 81.114);
  --accent-foreground: oklch(0.21 0.038 82.121);
  --destructive: oklch(0.477 0.192 28.771);
  --destructive-foreground: oklch(0.956 0.02 17.512);
  --ring: oklch(0.469 0.079 164.79);
  --chart-1: oklch(0.469 0.079 164.79);
  --chart-2: oklch(0.833 0.045 169.92);
  --chart-3: oklch(0.835 0.125 81.114);
  --chart-4: oklch(0.853 0.04 170.173);
  --chart-5: oklch(0.474 0.083 164.36);
}