Output for shadcn/ui

Output is a shadcn/ui theme built around a muted yellow primary color (#988b57) with muted green accents (#859857). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted yellow primary (#988b57) on a yellow-tinted background (#0f0d05).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f0d05black
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#0f0d05black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#0f0d05black
Popover foreground
#000000black
#ffffffwhite
Primary
#988b57gray
#988b57gray
Primary foreground
#000000black
#000000black
Secondary
#986b57sienna
#986b57sienna
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f4ebe7linen
#180f0bblack
Muted foreground
#4f4540darkslategray
#bfb5b0silver
Accent
#859857gray
#859857gray
Accent foreground
#000000black
#000000black
Destructive
#d94602orangered
#fd7130tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#988b57gray
#988b57gray

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.18:1AA
Secondary button4.58:1AA
Muted text7.89:1AAA
Accent6.63:1AA
Destructive4.34:1AA Large
Dark mode
Text on background19.41:1AAA
Text on card19.41:1AAA
Primary button6.18:1AA
Secondary button4.58:1AA
Muted text9.37:1AAA
Accent6.63:1AA
Destructive7.57:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.945 0.011 44.863);
  --muted-foreground: oklch(0.397 0.015 44.629);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.637 0.072 95.783);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.569 0.065 44.113);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.649 0.092 122.61);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.598 0.193 38.409);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.637 0.072 95.783);
  --chart-1: oklch(0.637 0.072 95.783);
  --chart-2: oklch(0.569 0.065 44.113);
  --chart-3: oklch(0.649 0.092 122.61);
  --chart-4: oklch(0.595 0.069 44.108);
  --chart-5: oklch(0.644 0.079 95.755);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.159 0.018 97.078);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.18 0.017 44.242);
  --muted-foreground: oklch(0.779 0.013 44.817);
  --popover: oklch(0.159 0.018 97.078);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.159 0.018 97.078);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.637 0.072 95.783);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.569 0.065 44.113);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.649 0.092 122.61);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.709 0.187 42.578);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.637 0.072 95.783);
  --chart-1: oklch(0.637 0.072 95.783);
  --chart-2: oklch(0.569 0.065 44.113);
  --chart-3: oklch(0.649 0.092 122.61);
  --chart-4: oklch(0.595 0.069 44.108);
  --chart-5: oklch(0.644 0.079 95.755);
}