Army Green Mosquito for shadcn/ui

Army Green Mosquito is a shadcn/ui theme built around a deep green primary color (#4d5421) with neutral gray accents (#c7c8c0). The light mode uses a neutral background (#fcfcf7). Dark mode keeps the deep green primary (#4d5421) on a neutral background (#030302).

Color palette

TokenLightDark
Background
#fcfcf7snow
#030302black
Foreground
#101203black
#ffffffwhite
Card
#fcfcf7snow
#030302black
Card foreground
#101203black
#ffffffwhite
Popover
#fcfcf7snow
#030302black
Popover foreground
#101203black
#ffffffwhite
Primary
#4d5421darkolivegreen
#4d5421darkolivegreen
Primary foreground
#e1e7c1wheat
#e1e7c1wheat
Secondary
#d2d2d0lightgrey
#292a23darkslategray
Secondary foreground
#393937darkslategray
#c3c5basilver
Muted
#e5e7d4gainsboro
#282b18black
Muted foreground
#5c5e55dimgray
#a9aaa1darkgray
Accent
#c7c8c0silver
#383b2bdarkslategray
Accent foreground
#2d2e28darkslategray
#d1d4c4lightgrey
Destructive
#b21e08firebrick
#d72e14firebrick
Destructive foreground
#f6ada2lightpink
#ffffffwhite
Border
#edede8linen
#27291fdarkslategray
Input
#edede8linen
#27291fdarkslategray
Ring
#4d5421darkolivegreen
#4d5421darkolivegreen

Contrast

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

Light mode
Text on background18.42:1AAA
Text on card18.42:1AAA
Primary button6.26:1AA
Secondary button7.64:1AAA
Muted text5.25:1AA
Accent8.15:1AAA
Destructive3.71:1AA Large
Dark mode
Text on background20.59:1AAA
Text on card20.59:1AAA
Primary button6.26:1AA
Secondary button8.32:1AAA
Muted text6.19:1AA
Accent7.63:1AAA
Destructive4.90:1AA

CSS variables

Paste this into your globals.css to use Army Green Mosquito in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.007 113.431);
  --foreground: oklch(0.174 0.032 115.882);
  --muted: oklch(0.922 0.026 113.826);
  --muted-foreground: oklch(0.477 0.014 113.856);
  --popover: oklch(0.99 0.007 113.431);
  --popover-foreground: oklch(0.174 0.032 115.882);
  --card: oklch(0.99 0.007 113.431);
  --card-foreground: oklch(0.174 0.032 115.882);
  --border: oklch(0.945 0.008 113.457);
  --input: oklch(0.945 0.008 113.457);
  --primary: oklch(0.428 0.074 116.774);
  --primary-foreground: oklch(0.913 0.051 114.339);
  --secondary: oklch(0.863 0.003 113.36);
  --secondary-foreground: oklch(0.344 0.004 113.515);
  --accent: oklch(0.831 0.011 113.561);
  --accent-foreground: oklch(0.3 0.011 113.973);
  --destructive: oklch(0.492 0.184 31.335);
  --destructive-foreground: oklch(0.814 0.088 28.871);
  --ring: oklch(0.428 0.074 116.774);
  --chart-1: oklch(0.428 0.074 116.774);
  --chart-2: oklch(0.863 0.003 113.36);
  --chart-3: oklch(0.831 0.011 113.561);
  --chart-4: oklch(0.886 0.002 113.35);
  --chart-5: oklch(0.434 0.078 116.951);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.009 113.912);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.279 0.033 115.54);
  --muted-foreground: oklch(0.735 0.013 113.628);
  --popover: oklch(0.099 0.009 113.912);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.099 0.009 113.912);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.275 0.018 114.515);
  --input: oklch(0.275 0.018 114.515);
  --primary: oklch(0.428 0.074 116.774);
  --primary-foreground: oklch(0.913 0.051 114.339);
  --secondary: oklch(0.28 0.012 114.126);
  --secondary-foreground: oklch(0.819 0.016 113.667);
  --accent: oklch(0.344 0.026 114.699);
  --accent-foreground: oklch(0.863 0.021 113.756);
  --destructive: oklch(0.572 0.207 31.531);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.428 0.074 116.774);
  --chart-1: oklch(0.428 0.074 116.774);
  --chart-2: oklch(0.28 0.012 114.126);
  --chart-3: oklch(0.344 0.026 114.699);
  --chart-4: oklch(0.313 0.014 114.161);
  --chart-5: oklch(0.434 0.078 116.951);
}