Luscious Lemongrass Panda for shadcn/ui

Luscious Lemongrass Panda is a shadcn/ui theme built around a green primary color (#4f772d) with neutral gray accents (#e3e3e3). The light mode uses a neutral background (#fdf7f7). Dark mode switches to a vivid red primary (#f06a6f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf7f7snow
#000000black
Foreground
#130607black
#ffffffwhite
Card
#fdf7f7snow
#000000black
Card foreground
#130607black
#ffffffwhite
Popover
#fdf7f7snow
#000000black
Popover foreground
#130607black
#ffffffwhite
Primary
#4f772ddarkolivegreen
#f06a6fsalmon
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e3e3e3gainsboro
#252323black
Secondary foreground
#4b4949darkslategray
#bfbbbbsilver
Muted
#f5f0f0whitesmoke
#000000black
Muted foreground
#514d4edarkslategray
#b2aeaedarkgray
Accent
#e3e3e3gainsboro
#252323black
Accent foreground
#4b4949darkslategray
#bfbbbbsilver
Destructive
#b80a0afirebrick
#ef2b16orangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e7e4e4gainsboro
#231f1fblack
Input
#e7e4e4gainsboro
#231f1fblack
Ring
#4f772ddarkolivegreen
#f06a6fsalmon

Contrast

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

Light mode
Text on background18.71:1AAA
Text on card18.71:1AAA
Primary button5.23:1AA
Secondary button6.95:1AA
Muted text7.36:1AAA
Accent6.95:1AA
Destructive6.79:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button2.98:1Fail
Secondary button8.25:1AAA
Muted text9.55:1AAA
Accent8.25:1AAA
Destructive5.03:1AA

CSS variables

Paste this into your globals.css to use Luscious Lemongrass Panda in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.007 14.926);
  --foreground: oklch(0.146 0.025 17.945);
  --muted: oklch(0.958 0.005 14.892);
  --muted-foreground: oklch(0.425 0.004 14.975);
  --popover: oklch(0.98 0.007 14.926);
  --popover-foreground: oklch(0.146 0.025 17.945);
  --card: oklch(0.98 0.007 14.926);
  --card-foreground: oklch(0.146 0.025 17.945);
  --border: oklch(0.921 0.003 14.857);
  --input: oklch(0.921 0.003 14.857);
  --primary: oklch(0.523 0.113 132.915);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.915 0.001 14.802);
  --secondary-foreground: oklch(0.408 0.002 14.88);
  --accent: oklch(0.915 0.001 14.802);
  --accent-foreground: oklch(0.408 0.002 14.88);
  --destructive: oklch(0.495 0.199 28.749);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.523 0.113 132.915);
  --chart-1: oklch(0.523 0.113 132.915);
  --chart-2: oklch(0.915 0.001 14.802);
  --chart-3: oklch(0.915 0.001 14.802);
  --chart-4: oklch(0.939 0 14.799);
  --chart-5: oklch(0.529 0.119 133.117);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0 0 0);
  --muted-foreground: oklch(0.755 0.004 14.88);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.245 0.006 15.263);
  --input: oklch(0.245 0.006 15.263);
  --primary: oklch(0.69 0.165 20.432);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.257 0.003 15.026);
  --secondary-foreground: oklch(0.794 0.004 14.896);
  --accent: oklch(0.257 0.003 15.026);
  --accent-foreground: oklch(0.794 0.004 14.896);
  --destructive: oklch(0.614 0.231 30.399);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.69 0.165 20.432);
  --chart-1: oklch(0.69 0.165 20.432);
  --chart-2: oklch(0.257 0.003 15.026);
  --chart-3: oklch(0.257 0.003 15.026);
  --chart-4: oklch(0.288 0.004 15.038);
  --chart-5: oklch(0.69 0.171 20.701);
}