Baby Green Turtle for shadcn/ui

Baby Green Turtle is a shadcn/ui theme built around a vivid green primary color (#78fc95) with vivid red accents (#fc9578). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#78fc95) on a green-tinted background (#070e08).

Color palette

TokenLightDark
Background
#ffffffwhite
#070e08black
Foreground
#010401black
#f9fbf9mintcream
Card
#ffffffwhite
#070e08black
Card foreground
#010401black
#f9fbf9mintcream
Popover
#ffffffwhite
#070e08black
Popover foreground
#010401black
#f9fbf9mintcream
Primary
#78fc95lightgreen
#78fc95lightgreen
Primary foreground
#01410fdarkgreen
#01410fdarkgreen
Secondary
#9578fcmediumslateblue
#9578fcmediumslateblue
Secondary foreground
#000000black
#000000black
Muted
#d5d3delightgrey
#23212cdarkslategray
Muted foreground
#3e3a4adarkslategray
#b8b5c5silver
Accent
#fc9578lightsalmon
#fc9578lightsalmon
Accent foreground
#410f01maroon
#410f01maroon
Destructive
#95150edarkred
#ed4840tomato
Destructive foreground
#fcdbdamistyrose
#ffffffwhite
Border
#eaf0ecwhitesmoke
#1c261eblack
Input
#eaf0ecwhitesmoke
#1c261eblack
Ring
#78fc95lightgreen
#78fc95lightgreen

Contrast

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

Light mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button9.17:1AAA
Secondary button6.37:1AA
Muted text7.45:1AAA
Accent7.49:1AAA
Destructive6.79:1AA
Dark mode
Text on background18.81:1AAA
Text on card18.81:1AAA
Primary button9.17:1AAA
Secondary button6.37:1AA
Muted text7.91:1AAA
Accent7.49:1AAA
Destructive3.73:1AA Large

CSS variables

Paste this into your globals.css to use Baby Green Turtle in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.02 151.588);
  --muted: oklch(0.872 0.016 295.999);
  --muted-foreground: oklch(0.36 0.028 294.912);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.099 0.02 151.588);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.099 0.02 151.588);
  --border: oklch(0.949 0.008 152.485);
  --input: oklch(0.949 0.008 152.485);
  --primary: oklch(0.892 0.184 148.621);
  --primary-foreground: oklch(0.327 0.099 145.724);
  --secondary: oklch(0.662 0.189 290.246);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.771 0.132 36.303);
  --accent-foreground: oklch(0.254 0.081 37.523);
  --destructive: oklch(0.431 0.163 29.158);
  --destructive-foreground: oklch(0.919 0.036 21.417);
  --ring: oklch(0.892 0.184 148.621);
  --chart-1: oklch(0.892 0.184 148.621);
  --chart-2: oklch(0.662 0.189 290.246);
  --chart-3: oklch(0.771 0.132 36.303);
  --chart-4: oklch(0.698 0.168 291.393);
  --chart-5: oklch(0.896 0.189 148.505);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.152 0.016 151.657);
  --foreground: oklch(0.986 0.002 152.583);
  --muted: oklch(0.254 0.022 294.741);
  --muted-foreground: oklch(0.78 0.023 295.8);
  --popover: oklch(0.152 0.016 151.657);
  --popover-foreground: oklch(0.986 0.002 152.583);
  --card: oklch(0.152 0.016 151.657);
  --card-foreground: oklch(0.986 0.002 152.583);
  --border: oklch(0.257 0.02 151.311);
  --input: oklch(0.257 0.02 151.311);
  --primary: oklch(0.892 0.184 148.621);
  --primary-foreground: oklch(0.327 0.099 145.724);
  --secondary: oklch(0.662 0.189 290.246);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.771 0.132 36.303);
  --accent-foreground: oklch(0.254 0.081 37.523);
  --destructive: oklch(0.638 0.203 27.486);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.892 0.184 148.621);
  --chart-1: oklch(0.892 0.184 148.621);
  --chart-2: oklch(0.662 0.189 290.246);
  --chart-3: oklch(0.771 0.132 36.303);
  --chart-4: oklch(0.698 0.168 291.393);
  --chart-5: oklch(0.896 0.189 148.505);
}