Rally Green Amphibian for shadcn/ui

Rally Green Amphibian is a shadcn/ui theme built around a green primary color (#80c28a) with red accents (#c28a80). The light mode uses a neutral background (#f6fdf8). Dark mode keeps the green primary (#80c28a) on a green-tinted background (#040b05).

Color palette

TokenLightDark
Background
#f6fdf8mintcream
#040b05black
Foreground
#031105black
#ffffffwhite
Card
#f2fcf4honeydew
#050f07black
Card foreground
#020d04black
#ffffffwhite
Popover
#f6fdf8mintcream
#040b05black
Popover foreground
#031105black
#ffffffwhite
Primary
#80c28adarkseagreen
#80c28adarkseagreen
Primary foreground
#050a06black
#050a06black
Secondary
#8a80c2mediumpurple
#8a80c2mediumpurple
Secondary foreground
#000000black
#000000black
Muted
#e8e7eflavender
#121018black
Muted foreground
#47464edarkslategray
#b2b1b9darkgray
Accent
#c28a80rosybrown
#c28a80rosybrown
Accent foreground
#0a0605black
#0a0605black
Destructive
#702905saddlebrown
#f5702etomato
Destructive foreground
#fbc7acpeachpuff
#000000black
Border
#e1e5e1gainsboro
#1c211dblack
Input
#e1e5e1gainsboro
#1c211dblack
Ring
#80c28adarkseagreen
#80c28adarkseagreen

Contrast

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

Light mode
Text on background18.75:1AAA
Text on card18.90:1AAA
Primary button9.46:1AAA
Secondary button5.91:1AA
Muted text7.56:1AAA
Accent6.91:1AA
Destructive6.91:1AA
Dark mode
Text on background19.87:1AAA
Text on card19.47:1AAA
Primary button9.46:1AAA
Secondary button5.91:1AA
Muted text8.86:1AAA
Accent6.91:1AA
Destructive7.24:1AAA

CSS variables

Paste this into your globals.css to use Rally Green Amphibian in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.01 150.108);
  --foreground: oklch(0.16 0.035 148.282);
  --muted: oklch(0.93 0.011 293.083);
  --muted-foreground: oklch(0.399 0.012 292.72);
  --popover: oklch(0.988 0.01 150.108);
  --popover-foreground: oklch(0.16 0.035 148.282);
  --card: oklch(0.982 0.016 150.037);
  --card-foreground: oklch(0.143 0.03 148.77);
  --border: oklch(0.918 0.007 150.147);
  --input: oklch(0.918 0.007 150.147);
  --primary: oklch(0.754 0.105 148.23);
  --primary-foreground: oklch(0.137 0.015 149.581);
  --secondary: oklch(0.634 0.098 290.18);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.685 0.071 30.191);
  --accent-foreground: oklch(0.128 0.01 32.677);
  --destructive: oklch(0.381 0.11 42.167);
  --destructive-foreground: oklch(0.868 0.07 47.895);
  --ring: oklch(0.754 0.105 148.23);
  --chart-1: oklch(0.754 0.105 148.23);
  --chart-2: oklch(0.634 0.098 290.18);
  --chart-3: oklch(0.685 0.071 30.191);
  --chart-4: oklch(0.664 0.089 290.627);
  --chart-5: oklch(0.759 0.113 148.062);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.021 149.32);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.18 0.017 291.503);
  --muted-foreground: oklch(0.765 0.01 293.048);
  --popover: oklch(0.139 0.021 149.32);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.155 0.024 148.921);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.241 0.011 149.658);
  --input: oklch(0.241 0.011 149.658);
  --primary: oklch(0.754 0.105 148.23);
  --primary-foreground: oklch(0.137 0.015 149.581);
  --secondary: oklch(0.634 0.098 290.18);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.685 0.071 30.191);
  --accent-foreground: oklch(0.128 0.01 32.677);
  --destructive: oklch(0.696 0.18 43.845);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.754 0.105 148.23);
  --chart-1: oklch(0.754 0.105 148.23);
  --chart-2: oklch(0.634 0.098 290.18);
  --chart-3: oklch(0.685 0.071 30.191);
  --chart-4: oklch(0.664 0.089 290.627);
  --chart-5: oklch(0.759 0.113 148.062);
}