Strange Iwai Brown for shadcn/ui

Strange Iwai Brown is a shadcn/ui theme built around a muted green primary color (#6b6e59) with muted green accents (#616e59). The light mode uses a neutral background (#fefefb). Dark mode keeps the muted green primary (#6b6e59) on a green-tinted background (#090a05).

Color palette

TokenLightDark
Background
#fefefbwhite
#090a05black
Foreground
#080901black
#fdfdfcwhite
Card
#fefefbwhite
#090a05black
Card foreground
#080901black
#fdfdfcwhite
Popover
#fefefbwhite
#090a05black
Popover foreground
#080901black
#fdfdfcwhite
Primary
#6b6e59dimgray
#6b6e59dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#6e6659dimgray
#6e6659dimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eae5dcgainsboro
#231e15black
Muted foreground
#544f45darkolivegreen
#bab5abdarkgray
Accent
#616e59dimgray
#616e59dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#e42701orangered
#e42701orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e4e5e1gainsboro
#1b1b18black
Input
#e4e5e1gainsboro
#1b1b18black
Ring
#6b6e59dimgray
#6b6e59dimgray

Contrast

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

Light mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button5.22:1AA
Secondary button5.63:1AA
Muted text6.47:1AA
Accent5.39:1AA
Destructive4.56:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.49:1AAA
Primary button5.22:1AA
Secondary button5.63:1AA
Muted text8.12:1AAA
Accent5.39:1AA
Destructive4.56:1AA

CSS variables

Paste this into your globals.css to use Strange Iwai Brown in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.004 112.622);
  --foreground: oklch(0.134 0.024 113.899);
  --muted: oklch(0.923 0.013 81.506);
  --muted-foreground: oklch(0.428 0.017 81.432);
  --popover: oklch(0.996 0.004 112.622);
  --popover-foreground: oklch(0.134 0.024 113.899);
  --card: oklch(0.996 0.004 112.622);
  --card-foreground: oklch(0.134 0.024 113.899);
  --border: oklch(0.92 0.005 112.651);
  --input: oklch(0.92 0.005 112.651);
  --primary: oklch(0.531 0.033 113.705);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.515 0.023 81.406);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.521 0.037 134.078);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.591 0.225 31.805);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.531 0.033 113.705);
  --chart-1: oklch(0.531 0.033 113.705);
  --chart-2: oklch(0.515 0.023 81.406);
  --chart-3: oklch(0.521 0.037 134.078);
  --chart-4: oklch(0.543 0.025 81.404);
  --chart-5: oklch(0.539 0.042 113.983);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.012 113.22);
  --foreground: oklch(0.993 0.001 112.558);
  --muted: oklch(0.237 0.017 81.197);
  --muted-foreground: oklch(0.773 0.015 81.497);
  --popover: oklch(0.142 0.012 113.22);
  --popover-foreground: oklch(0.993 0.001 112.558);
  --card: oklch(0.142 0.012 113.22);
  --card-foreground: oklch(0.993 0.001 112.558);
  --border: oklch(0.221 0.007 113.117);
  --input: oklch(0.221 0.007 113.117);
  --primary: oklch(0.531 0.033 113.705);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.515 0.023 81.406);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.521 0.037 134.078);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.591 0.225 31.805);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.531 0.033 113.705);
  --chart-1: oklch(0.531 0.033 113.705);
  --chart-2: oklch(0.515 0.023 81.406);
  --chart-3: oklch(0.521 0.037 134.078);
  --chart-4: oklch(0.543 0.025 81.404);
  --chart-5: oklch(0.539 0.042 113.983);
}