External North Texas Green for shadcn/ui

External North Texas Green is a shadcn/ui theme built around a vivid green primary color (#118d30) with muted light green accents (#e0e6e2). The light mode uses a neutral background (#f6fdf8). Dark mode keeps the vivid green primary (#118d30) on a green-tinted background (#030c06).

Color palette

TokenLightDark
Background
#f6fdf8mintcream
#030c06black
Foreground
#020803black
#f9fbf9mintcream
Card
#f2fdf5honeydew
#051007black
Card foreground
#010402black
#fcfdfcwhite
Popover
#f6fdf8mintcream
#030c06black
Popover foreground
#020803black
#f9fbf9mintcream
Primary
#118d30forestgreen
#118d30forestgreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e0e6e2gainsboro
#141414black
Secondary foreground
#435146darkslategray
#adadaddarkgray
Muted
#e2e9e4gainsboro
#1d1616black
Muted foreground
#506d57dimgray
#af9292rosybrown
Accent
#e0e6e2gainsboro
#141414black
Accent foreground
#435146darkslategray
#adadaddarkgray
Destructive
#d81b0efirebrick
#f12c1eorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eceeedwhitesmoke
#181b19black
Input
#eceeedwhitesmoke
#181b19black
Ring
#118d30forestgreen
#118d30forestgreen

Contrast

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

Light mode
Text on background19.63:1AAA
Text on card19.71:1AAA
Primary button4.32:1AA Large
Secondary button6.61:1AA
Muted text4.64:1AA
Accent6.61:1AA
Destructive5.15:1AA
Dark mode
Text on background19.07:1AAA
Text on card19.03:1AAA
Primary button4.32:1AA Large
Secondary button8.18:1AAA
Muted text6.24:1AA
Accent8.18:1AAA
Destructive4.11:1AA Large

CSS variables

Paste this into your globals.css to use External North Texas Green in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.01 153.703);
  --foreground: oklch(0.124 0.022 153.124);
  --muted: oklch(0.928 0.011 153.671);
  --muted-foreground: oklch(0.504 0.047 152.156);
  --popover: oklch(0.989 0.01 153.703);
  --popover-foreground: oklch(0.124 0.022 153.124);
  --card: oklch(0.983 0.015 153.612);
  --card-foreground: oklch(0.098 0.017 153.124);
  --border: oklch(0.947 0.002 153.84);
  --input: oklch(0.947 0.002 153.84);
  --primary: oklch(0.561 0.165 146.119);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.919 0.008 153.725);
  --secondary-foreground: oklch(0.42 0.026 152.77);
  --accent: oklch(0.919 0.008 153.725);
  --accent-foreground: oklch(0.42 0.026 152.77);
  --destructive: oklch(0.562 0.219 29.746);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.561 0.165 146.119);
  --chart-1: oklch(0.561 0.165 146.119);
  --chart-2: oklch(0.919 0.008 153.725);
  --chart-3: oklch(0.919 0.008 153.725);
  --chart-4: oklch(0.941 0.006 153.77);
  --chart-5: oklch(0.567 0.169 145.901);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.022 153.103);
  --foreground: oklch(0.986 0.003 153.819);
  --muted: oklch(0.208 0.012 18.201);
  --muted-foreground: oklch(0.687 0.034 18.012);
  --popover: oklch(0.141 0.022 153.103);
  --popover-foreground: oklch(0.986 0.003 153.819);
  --card: oklch(0.157 0.026 152.337);
  --card-foreground: oklch(0.993 0.002 153.848);
  --border: oklch(0.217 0.004 153.539);
  --input: oklch(0.217 0.004 153.539);
  --primary: oklch(0.561 0.165 146.119);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.193 0 164.055);
  --secondary-foreground: oklch(0.749 0 158.199);
  --accent: oklch(0.193 0 164.055);
  --accent-foreground: oklch(0.749 0 158.199);
  --destructive: oklch(0.617 0.231 29.563);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.561 0.165 146.119);
  --chart-1: oklch(0.561 0.165 146.119);
  --chart-2: oklch(0.193 0 164.055);
  --chart-3: oklch(0.193 0 164.055);
  --chart-4: oklch(0.227 0 164.055);
  --chart-5: oklch(0.567 0.169 145.901);
}