Remaining Iron for shadcn/ui

Remaining Iron is a shadcn/ui theme built around a neutral gray primary color (#5e5e5e) with neutral gray accents (#5e5e5e). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the neutral gray primary (#5e5e5e) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf8f8snow
#000000black
Foreground
#050101black
#f8f6f6whitesmoke
Card
#fcf8f8snow
#000000black
Card foreground
#050101black
#f8f6f6whitesmoke
Popover
#fcf8f8snow
#000000black
Popover foreground
#050101black
#f8f6f6whitesmoke
Primary
#5e5e5edimgray
#5e5e5edimgray
Primary foreground
#f7f7f7whitesmoke
#f7f7f7whitesmoke
Secondary
#5e5e5edimgray
#5e5e5edimgray
Secondary foreground
#f7f7f7whitesmoke
#f7f7f7whitesmoke
Muted
#eae1e1gainsboro
#1e1515black
Muted foreground
#403f3fdarkslategray
#c0bfbfsilver
Accent
#5e5e5edimgray
#5e5e5edimgray
Accent foreground
#f7f7f7whitesmoke
#f7f7f7whitesmoke
Destructive
#8f2b0asaddlebrown
#f16232tomato
Destructive foreground
#fcdacfbisque
#000000black
Border
#e6e5e5gainsboro
#272525darkslategray
Input
#e6e5e5gainsboro
#272525darkslategray
Ring
#5e5e5edimgray
#5e5e5edimgray

Contrast

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

Light mode
Text on background19.69:1AAA
Text on card19.69:1AAA
Primary button6.02:1AA
Secondary button6.02:1AA
Muted text8.18:1AAA
Accent6.02:1AA
Destructive6.37:1AA
Dark mode
Text on background19.50:1AAA
Text on card19.50:1AAA
Primary button6.02:1AA
Secondary button6.02:1AA
Muted text9.74:1AAA
Accent6.02:1AA
Destructive6.51:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 17.224);
  --foreground: oklch(0.077 0.022 23.785);
  --muted: oklch(0.917 0.009 17.329);
  --muted-foreground: oklch(0.369 0.002 17.236);
  --popover: oklch(0.982 0.004 17.224);
  --popover-foreground: oklch(0.077 0.022 23.785);
  --card: oklch(0.982 0.004 17.224);
  --card-foreground: oklch(0.077 0.022 23.785);
  --border: oklch(0.922 0.002 17.188);
  --input: oklch(0.922 0.002 17.188);
  --primary: oklch(0.483 0 180);
  --primary-foreground: oklch(0.977 0 180);
  --secondary: oklch(0.483 0 180);
  --secondary-foreground: oklch(0.977 0 180);
  --accent: oklch(0.483 0 180);
  --accent-foreground: oklch(0.977 0 180);
  --destructive: oklch(0.439 0.14 36.654);
  --destructive-foreground: oklch(0.914 0.04 39.302);
  --ring: oklch(0.483 0 180);
  --chart-1: oklch(0.483 0 180);
  --chart-2: oklch(0.483 0 180);
  --chart-3: oklch(0.483 0 180);
  --chart-4: oklch(0.51 0 171.87);
  --chart-5: oklch(0.478 0.007 17.412);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.976 0.002 17.191);
  --muted: oklch(0.207 0.014 18.363);
  --muted-foreground: oklch(0.804 0.001 17.187);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.976 0.002 17.191);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.976 0.002 17.191);
  --border: oklch(0.267 0.003 17.37);
  --input: oklch(0.267 0.003 17.37);
  --primary: oklch(0.483 0 180);
  --primary-foreground: oklch(0.977 0 180);
  --secondary: oklch(0.483 0 180);
  --secondary-foreground: oklch(0.977 0 180);
  --accent: oklch(0.483 0 180);
  --accent-foreground: oklch(0.977 0 180);
  --destructive: oklch(0.671 0.187 38.081);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.483 0 180);
  --chart-1: oklch(0.483 0 180);
  --chart-2: oklch(0.483 0 180);
  --chart-3: oklch(0.483 0 180);
  --chart-4: oklch(0.51 0 171.87);
  --chart-5: oklch(0.478 0.007 17.412);
}