Vengeance for shadcn/ui

Vengeance is a shadcn/ui theme built around a muted yellow primary color (#8d8253) with muted green accents (#7c8d53). The light mode uses a neutral background (#fdfcf6). Dark mode keeps the muted yellow primary (#8d8253) on a yellow-tinted background (#0f0d06).

Color palette

TokenLightDark
Background
#fdfcf6snow
#0f0d06black
Foreground
#120f03black
#ffffffwhite
Card
#fdfcf6snow
#0f0d06black
Card foreground
#120f03black
#ffffffwhite
Popover
#fdfcf6snow
#0f0d06black
Popover foreground
#120f03black
#ffffffwhite
Primary
#8d8253gray
#8d8253gray
Primary foreground
#000000black
#000000black
Secondary
#8d6553dimgray
#8d6553dimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eddcd4gainsboro
#2b1a12black
Muted foreground
#625650dimgray
#afa29ddarkgray
Accent
#7c8d53dimgray
#7c8d53dimgray
Accent foreground
#000000black
#000000black
Destructive
#851d00maroon
#ff5729tomato
Destructive foreground
#ffc7b8peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8d8253gray
#8d8253gray

Contrast

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

Light mode
Text on background18.67:1AAA
Text on card18.67:1AAA
Primary button5.44:1AA
Secondary button5.11:1AA
Muted text5.30:1AA
Accent5.81:1AA
Destructive6.52:1AA
Dark mode
Text on background19.44:1AAA
Text on card19.44:1AAA
Primary button5.44:1AA
Secondary button5.11:1AA
Muted text6.74:1AA
Accent5.81:1AA
Destructive6.65:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.008 95.123);
  --foreground: oklch(0.166 0.026 97.885);
  --muted: oklch(0.905 0.021 44.754);
  --muted-foreground: oklch(0.463 0.019 44.619);
  --popover: oklch(0.991 0.008 95.123);
  --popover-foreground: oklch(0.166 0.026 97.885);
  --card: oklch(0.991 0.008 95.123);
  --card-foreground: oklch(0.166 0.026 97.885);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.605 0.066 95.788);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.543 0.059 44.148);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.616 0.084 122.509);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.404 0.143 34.595);
  --destructive-foreground: oklch(0.876 0.068 35.991);
  --ring: oklch(0.605 0.066 95.788);
  --chart-1: oklch(0.605 0.066 95.788);
  --chart-2: oklch(0.543 0.059 44.148);
  --chart-3: oklch(0.616 0.084 122.509);
  --chart-4: oklch(0.569 0.063 44.142);
  --chart-5: oklch(0.612 0.073 95.769);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.159 0.016 96.964);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.237 0.031 44);
  --muted-foreground: oklch(0.722 0.017 44.761);
  --popover: oklch(0.159 0.016 96.964);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.159 0.016 96.964);
  --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.605 0.066 95.788);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.543 0.059 44.148);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.616 0.084 122.509);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.68 0.212 35.579);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.605 0.066 95.788);
  --chart-1: oklch(0.605 0.066 95.788);
  --chart-2: oklch(0.543 0.059 44.148);
  --chart-3: oklch(0.616 0.084 122.509);
  --chart-4: oklch(0.569 0.063 44.142);
  --chart-5: oklch(0.612 0.073 95.769);
}