Algal Fuel Lemming for shadcn/ui

Algal Fuel Lemming is a shadcn/ui theme built around a vivid teal primary color (#00c16a) with muted light blue accents (#f3f4f6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#00c16a) on a blue-tinted background (#111827).

Color palette

TokenLightDark
Background
#ffffffwhite
#111827black
Foreground
#111827black
#ffffffwhite
Card
#fcfcfcsnow
#111827black
Card foreground
#111827black
#ffffffwhite
Popover
#ffffffwhite
#111827black
Popover foreground
#111827black
#ffffffwhite
Primary
#00c16amediumseagreen
#00c16amediumseagreen
Primary foreground
#ffffffwhite
#111827black
Secondary
#f3f4f6whitesmoke
#1f2937darkslategray
Secondary foreground
#374151darkslategray
#e5e7eblavender
Muted
#f3f4f6whitesmoke
#1f2937darkslategray
Muted foreground
#374151darkslategray
#9ca3afdarkgray
Accent
#f3f4f6whitesmoke
#1f2937darkslategray
Accent foreground
#374151darkslategray
#e5e7eblavender
Destructive
#811d09maroon
#f87171salmon
Destructive foreground
#fbcbc1pink
#111827black
Border
#e5e7eblavender
#374151darkslategray
Input
#e5e7eblavender
#374151darkslategray
Ring
#00c16amediumseagreen
#00c16amediumseagreen

Contrast

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

Light mode
Text on background17.73:1AAA
Text on card17.35:1AAA
Primary button2.37:1Fail
Secondary button9.36:1AAA
Muted text9.36:1AAA
Accent9.36:1AAA
Destructive6.83:1AA
Dark mode
Text on background17.73:1AAA
Text on card17.73:1AAA
Primary button7.46:1AAA
Secondary button11.85:1AAA
Muted text5.78:1AA
Accent11.85:1AAA
Destructive6.41:1AA

CSS variables

Paste this into your globals.css to use Algal Fuel Lemming in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.21 0.032 264.665);
  --muted: oklch(0.967 0.003 264.542);
  --muted-foreground: oklch(0.373 0.031 259.728);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.21 0.032 264.665);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.21 0.032 264.665);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.711 0.181 153.656);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.967 0.003 264.542);
  --secondary-foreground: oklch(0.373 0.031 259.728);
  --accent: oklch(0.967 0.003 264.542);
  --accent-foreground: oklch(0.373 0.031 259.728);
  --destructive: oklch(0.397 0.138 32.834);
  --destructive-foreground: oklch(0.88 0.057 31.309);
  --ring: oklch(0.711 0.181 153.656);
  --chart-1: oklch(0.711 0.181 153.656);
  --chart-2: oklch(0.967 0.003 264.542);
  --chart-3: oklch(0.967 0.003 264.542);
  --chart-4: oklch(0.991 0.001 264.549);
  --chart-5: oklch(0.719 0.184 153.365);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.21 0.032 264.665);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.278 0.03 256.848);
  --muted-foreground: oklch(0.714 0.019 261.317);
  --popover: oklch(0.21 0.032 264.665);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.21 0.032 264.665);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.373 0.031 259.728);
  --input: oklch(0.373 0.031 259.728);
  --primary: oklch(0.711 0.181 153.656);
  --primary-foreground: oklch(0.21 0.032 264.665);
  --secondary: oklch(0.278 0.03 256.848);
  --secondary-foreground: oklch(0.928 0.006 264.531);
  --accent: oklch(0.278 0.03 256.848);
  --accent-foreground: oklch(0.928 0.006 264.531);
  --destructive: oklch(0.711 0.166 22.217);
  --destructive-foreground: oklch(0.21 0.032 264.665);
  --ring: oklch(0.711 0.181 153.656);
  --chart-1: oklch(0.711 0.181 153.656);
  --chart-2: oklch(0.278 0.03 256.848);
  --chart-3: oklch(0.278 0.03 256.848);
  --chart-4: oklch(0.307 0.034 256.852);
  --chart-5: oklch(0.719 0.184 153.365);
}