Verdun Green Lynx for shadcn/ui

Verdun Green Lynx is a shadcn/ui theme built around a deep green primary color (#51581c) with green accents (#88c865). The light mode uses a yellow-tinted background (#fcf9ef). Dark mode keeps the deep green primary (#5d681d) on a green-tinted background (#fbfdf1).

Color palette

TokenLightDark
Background
#fcf9effloralwhite
#fbfdf1ivory
Foreground
#837150dimgray
#4b4b4bdarkslategray
Card
#fcf9effloralwhite
#ffffffwhite
Card foreground
#97a546yellowgreen
#becc6edarkkhaki
Popover
#f7e9c4bisque
#c2cc8atan
Popover foreground
#000000black
#676c4cdimgray
Primary
#51581cdarkolivegreen
#5d681ddarkolivegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d0ab67darkkhaki
#76623ddarkolivegreen
Secondary foreground
#7e550asaddlebrown
#f0e1c7bisque
Muted
#d0ab67darkkhaki
#dfdcd7gainsboro
Muted foreground
#7e550asaddlebrown
#5c5547darkolivegreen
Accent
#88c865darkseagreen
#37681ddarkolivegreen
Accent foreground
#fffde4lightyellow
#ffffffwhite
Destructive
#f02c0aorangered
#8e1a06darkred
Destructive foreground
#ffffffwhite
#fdd1c9pink
Border
#937425sienna
#232808black
Input
#abb383darkkhaki
#f3f4f1whitesmoke
Ring
#282e08black
#5d681ddarkolivegreen

Contrast

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

Light mode
Text on background4.48:1AA Large
Text on card2.56:1Fail
Primary button7.59:1AAA
Secondary button3.04:1AA Large
Muted text3.04:1AA Large
Accent1.94:1Fail
Destructive4.13:1AA Large
Dark mode
Text on background8.48:1AAA
Text on card1.74:1Fail
Primary button6.06:1AA
Secondary button4.56:1AA
Muted text5.41:1AA
Accent6.63:1AA
Destructive6.57:1AA

CSS variables

Paste this into your globals.css to use Verdun Green Lynx in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.014 92.975);
  --foreground: oklch(0.557 0.053 81.727);
  --muted: oklch(0.76 0.097 81.669);
  --muted-foreground: oklch(0.483 0.098 75.153);
  --popover: oklch(0.935 0.05 89.041);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.014 92.975);
  --card-foreground: oklch(0.69 0.121 116.811);
  --border: oklch(0.575 0.102 86.491);
  --input: oklch(0.747 0.066 114.945);
  --primary: oklch(0.441 0.083 115.52);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.76 0.097 81.912);
  --secondary-foreground: oklch(0.483 0.097 75.699);
  --accent: oklch(0.767 0.147 135.655);
  --accent-foreground: oklch(0.99 0.033 104.179);
  --destructive: oklch(0.616 0.231 31.614);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.287 0.057 117.516);
  --chart-1: oklch(0.677 0.157 35.19);
  --chart-2: oklch(0.631 0.101 183.491);
  --chart-3: oklch(0.379 0.044 225.539);
  --chart-4: oklch(0.834 0.119 88.146);
  --chart-5: oklch(0.783 0.126 58.749);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.989 0.016 113.61);
  --foreground: oklch(0.411 0 180);
  --muted: oklch(0.897 0.008 83.062);
  --muted-foreground: oklch(0.452 0.024 82.981);
  --popover: oklch(0.822 0.088 115.31);
  --popover-foreground: oklch(0.518 0.048 115.05);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.814 0.12 116.149);
  --border: oklch(0.265 0.051 117.229);
  --input: oklch(0.965 0.004 113.385);
  --primary: oklch(0.492 0.099 117.581);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.506 0.059 82.196);
  --secondary-foreground: oklch(0.915 0.038 83.024);
  --accent: oklch(0.466 0.119 136.658);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.42 0.153 32.04);
  --destructive-foreground: oklch(0.896 0.051 29.776);
  --ring: oklch(0.492 0.099 117.581);
  --chart-1: oklch(0.529 0.193 262.129);
  --chart-2: oklch(0.698 0.134 165.463);
  --chart-3: oklch(0.723 0.15 60.631);
  --chart-4: oklch(0.619 0.204 312.728);
  --chart-5: oklch(0.612 0.209 6.386);
}