Green Wrasse Silverfish for shadcn/ui

Green Wrasse Silverfish is a shadcn/ui theme built around a vivid green primary color (#0fd501) with vivid red accents (#d5010f). The light mode uses a neutral background (#f7fdf7). Dark mode keeps the vivid green primary (#0fd501) on a neutral background (#020401).

Color palette

TokenLightDark
Background
#f7fdf7mintcream
#020401black
Foreground
#051104black
#ffffffwhite
Card
#f7fdf7mintcream
#020401black
Card foreground
#051104black
#ffffffwhite
Popover
#f7fdf7mintcream
#020401black
Popover foreground
#051104black
#ffffffwhite
Primary
#0fd501lime
#0fd501lime
Primary foreground
#010a00black
#010a00black
Secondary
#010fd5mediumblue
#010fd5mediumblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dfdfe2gainsboro
#1d1d20black
Muted foreground
#5d5e6fdimgray
#9091a2lightslategray
Accent
#d5010fred
#d5010fred
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#841b06maroon
#e52f0borangered
Destructive foreground
#fccac0pink
#ffffffwhite
Border
#e2e4e2gainsboro
#262725darkslategray
Input
#e2e4e2gainsboro
#262725darkslategray
Ring
#0fd501lime
#0fd501lime

Contrast

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

Light mode
Text on background18.69:1AAA
Text on card18.69:1AAA
Primary button10.10:1AAA
Secondary button10.32:1AAA
Muted text4.79:1AA
Accent5.46:1AA
Destructive6.72:1AA
Dark mode
Text on background20.61:1AAA
Text on card20.61:1AAA
Primary button10.10:1AAA
Secondary button10.32:1AAA
Muted text5.39:1AA
Accent5.46:1AA
Destructive4.42:1AA Large

CSS variables

Paste this into your globals.css to use Green Wrasse Silverfish in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.01 143.582);
  --foreground: oklch(0.159 0.034 141.859);
  --muted: oklch(0.905 0.004 283.034);
  --muted-foreground: oklch(0.487 0.027 282.101);
  --popover: oklch(0.988 0.01 143.582);
  --popover-foreground: oklch(0.159 0.034 141.859);
  --card: oklch(0.988 0.01 143.582);
  --card-foreground: oklch(0.159 0.034 141.859);
  --border: oklch(0.916 0.002 143.625);
  --input: oklch(0.916 0.002 143.625);
  --primary: oklch(0.758 0.256 142.298);
  --primary-foreground: oklch(0.127 0.041 140.542);
  --secondary: oklch(0.402 0.269 264.257);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.549 0.224 27.973);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.401 0.142 32.731);
  --destructive-foreground: oklch(0.88 0.059 31.329);
  --ring: oklch(0.758 0.256 142.298);
  --chart-1: oklch(0.758 0.256 142.298);
  --chart-2: oklch(0.402 0.269 264.257);
  --chart-3: oklch(0.549 0.224 27.973);
  --chart-4: oklch(0.423 0.284 264.243);
  --chart-5: oklch(0.766 0.26 142.298);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.014 142.334);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.233 0.005 282.701);
  --muted-foreground: oklch(0.661 0.025 282.435);
  --popover: oklch(0.096 0.014 142.334);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.096 0.014 142.334);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.271 0.003 143.568);
  --input: oklch(0.271 0.003 143.568);
  --primary: oklch(0.758 0.256 142.298);
  --primary-foreground: oklch(0.127 0.041 140.542);
  --secondary: oklch(0.402 0.269 264.257);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.549 0.224 27.973);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.598 0.22 32.219);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.758 0.256 142.298);
  --chart-1: oklch(0.758 0.256 142.298);
  --chart-2: oklch(0.402 0.269 264.257);
  --chart-3: oklch(0.549 0.224 27.973);
  --chart-4: oklch(0.423 0.284 264.243);
  --chart-5: oklch(0.766 0.26 142.298);
}