Dark Low Contrast Warm for shadcn/ui

Dark Low Contrast Warm is a shadcn/ui theme built around a muted light orange primary color (#d6d1cc) with muted deep orange accents (#514539). The light mode uses an orange-tinted background (#241f19). Dark mode keeps the muted light orange primary (#d6d1cc) on an orange-tinted background (#241f19).

Color palette

TokenLightDark
Background
#241f19black
#241f19black
Foreground
#b5b0abdarkgray
#b5b0abdarkgray
Card
#1e1915black
#1e1915black
Card foreground
#c1bdb9silver
#c1bdb9silver
Popover
#1b1713black
#1b1713black
Popover foreground
#cdc9c6silver
#cdc9c6silver
Primary
#d6d1cclightgrey
#d6d1cclightgrey
Primary foreground
#3e3832darkslategray
#3e3832darkslategray
Secondary
#40403fdarkslategray
#40403fdarkslategray
Secondary foreground
#d9d9d8gainsboro
#d9d9d8gainsboro
Muted
#2e2924darkslategray
#2e2924darkslategray
Muted foreground
#b3a89edarkgray
#b3a89edarkgray
Accent
#514539darkolivegreen
#514539darkolivegreen
Accent foreground
#e3ded8gainsboro
#e3ded8gainsboro
Destructive
#e91616red
#e91616red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#2e2b28darkslategray
#2e2b28darkslategray
Input
#37332fdarkslategray
#37332fdarkslategray
Ring
#d6d1cclightgrey
#d6d1cclightgrey

Contrast

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

Light mode
Text on background7.62:1AAA
Text on card9.30:1AAA
Primary button7.63:1AAA
Secondary button7.35:1AAA
Muted text6.19:1AA
Accent6.97:1AA
Destructive4.56:1AA
Dark mode
Text on background7.62:1AAA
Text on card9.30:1AAA
Primary button7.63:1AAA
Secondary button7.35:1AAA
Muted text6.19:1AA
Accent6.97:1AA
Destructive4.56:1AA

CSS variables

Paste this into your globals.css to use Dark Low Contrast Warm in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.242 0.013 67.175);
  --foreground: oklch(0.76 0.009 67.696);
  --muted: oklch(0.284 0.011 67.343);
  --muted-foreground: oklch(0.738 0.019 67.527);
  --popover: oklch(0.208 0.01 67.245);
  --popover-foreground: oklch(0.839 0.006 67.747);
  --card: oklch(0.219 0.011 67.219);
  --card-foreground: oklch(0.799 0.007 67.723);
  --border: oklch(0.293 0.007 67.549);
  --input: oklch(0.324 0.008 67.538);
  --primary: oklch(0.864 0.009 67.708);
  --primary-foreground: oklch(0.345 0.014 67.351);
  --secondary: oklch(0.371 0.001 67.781);
  --secondary-foreground: oklch(0.885 0.001 67.813);
  --accent: oklch(0.398 0.025 67.011);
  --accent-foreground: oklch(0.903 0.01 67.702);
  --destructive: oklch(0.593 0.235 28.487);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.864 0.009 67.708);
  --chart-1: oklch(0.864 0.009 67.708);
  --chart-2: oklch(0.371 0.001 67.781);
  --chart-3: oklch(0.398 0.025 67.011);
  --chart-4: oklch(0.4 0.002 67.78);
  --chart-5: oklch(0.864 0.011 67.676);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.242 0.013 67.175);
  --foreground: oklch(0.76 0.009 67.696);
  --muted: oklch(0.284 0.011 67.343);
  --muted-foreground: oklch(0.738 0.019 67.527);
  --popover: oklch(0.208 0.01 67.245);
  --popover-foreground: oklch(0.839 0.006 67.747);
  --card: oklch(0.219 0.011 67.219);
  --card-foreground: oklch(0.799 0.007 67.723);
  --border: oklch(0.293 0.007 67.549);
  --input: oklch(0.324 0.008 67.538);
  --primary: oklch(0.864 0.009 67.708);
  --primary-foreground: oklch(0.345 0.014 67.351);
  --secondary: oklch(0.371 0.001 67.781);
  --secondary-foreground: oklch(0.885 0.001 67.813);
  --accent: oklch(0.398 0.025 67.011);
  --accent-foreground: oklch(0.903 0.01 67.702);
  --destructive: oklch(0.593 0.235 28.487);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.864 0.009 67.708);
  --chart-1: oklch(0.864 0.009 67.708);
  --chart-2: oklch(0.371 0.001 67.781);
  --chart-3: oklch(0.398 0.025 67.011);
  --chart-4: oklch(0.4 0.002 67.78);
  --chart-5: oklch(0.864 0.011 67.676);
}