Nori Green Muskox for shadcn/ui

Nori Green Muskox is a shadcn/ui theme built around a deep green primary color (#122711) with muted light green accents (#e1eae1). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#122711) on a green-tinted background (#060f06).

Color palette

TokenLightDark
Background
#ffffffwhite
#060f06black
Foreground
#031203black
#f9fbf9mintcream
Card
#fcfcfcsnow
#081207black
Card foreground
#030d02black
#fcfdfcwhite
Popover
#fcfcfcsnow
#081207black
Popover foreground
#030d02black
#fcfdfcwhite
Primary
#122711black
#122711black
Primary foreground
#56b351mediumseagreen
#56b351mediumseagreen
Secondary
#e1eae1gainsboro
#141514black
Secondary foreground
#3f5b3edarkslategray
#adaeaddarkgray
Muted
#ebefebwhitesmoke
#101410black
Muted foreground
#5b6c5adimgray
#93a593darkseagreen
Accent
#e1eae1gainsboro
#141514black
Accent foreground
#3f5b3edarkslategray
#adaeaddarkgray
Destructive
#9d2706firebrick
#f85f35tomato
Destructive foreground
#fee0d8mistyrose
#000000black
Border
#e3e9e2gainsboro
#1b231bblack
Input
#e3e9e2gainsboro
#1b231bblack
Ring
#122711black
#122711black

Contrast

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

Light mode
Text on background19.23:1AAA
Text on card19.34:1AAA
Primary button6.01:1AA
Secondary button6.15:1AA
Muted text4.84:1AA
Accent6.15:1AA
Destructive6.17:1AA
Dark mode
Text on background18.75:1AAA
Text on card18.68:1AAA
Primary button6.01:1AA
Secondary button8.24:1AAA
Muted text7.12:1AAA
Accent8.24:1AAA
Destructive6.68:1AA

CSS variables

Paste this into your globals.css to use Nori Green Muskox in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.161 0.041 141.991);
  --muted: oklch(0.949 0.007 144.09);
  --muted-foreground: oklch(0.513 0.035 143.727);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.143 0.035 141.924);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.143 0.035 141.924);
  --border: oklch(0.927 0.011 144.06);
  --input: oklch(0.927 0.011 144.06);
  --primary: oklch(0.248 0.048 142.925);
  --primary-foreground: oklch(0.687 0.162 142.673);
  --secondary: oklch(0.928 0.016 144.028);
  --secondary-foreground: oklch(0.441 0.057 143.334);
  --accent: oklch(0.928 0.016 144.028);
  --accent-foreground: oklch(0.441 0.057 143.334);
  --destructive: oklch(0.461 0.16 34.405);
  --destructive-foreground: oklch(0.928 0.035 35.944);
  --ring: oklch(0.248 0.048 142.925);
  --chart-1: oklch(0.248 0.048 142.925);
  --chart-2: oklch(0.928 0.016 144.028);
  --chart-3: oklch(0.928 0.016 144.028);
  --chart-4: oklch(0.95 0.011 144.06);
  --chart-5: oklch(0.25 0.051 142.854);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.154 0.024 142.857);
  --foreground: oklch(0.986 0.004 144.107);
  --muted: oklch(0.185 0.01 143.814);
  --muted-foreground: oklch(0.702 0.032 143.859);
  --popover: oklch(0.169 0.028 142.915);
  --popover-foreground: oklch(0.993 0.002 144.119);
  --card: oklch(0.169 0.028 142.915);
  --card-foreground: oklch(0.993 0.002 144.119);
  --border: oklch(0.244 0.018 143.676);
  --input: oklch(0.244 0.018 143.676);
  --primary: oklch(0.248 0.048 142.925);
  --primary-foreground: oklch(0.687 0.162 142.673);
  --secondary: oklch(0.193 0.001 144.1);
  --secondary-foreground: oklch(0.75 0.003 144.108);
  --accent: oklch(0.193 0.001 144.1);
  --accent-foreground: oklch(0.75 0.003 144.108);
  --destructive: oklch(0.679 0.195 36.018);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.248 0.048 142.925);
  --chart-1: oklch(0.248 0.048 142.925);
  --chart-2: oklch(0.193 0.001 144.1);
  --chart-3: oklch(0.193 0.001 144.1);
  --chart-4: oklch(0.227 0.001 144.096);
  --chart-5: oklch(0.25 0.051 142.854);
}