Lost for shadcn/ui

Lost is a shadcn/ui theme built around a vivid green primary color (#68ed73) with vivid teal accents (#68edb6). The light mode uses a neutral background (#fbfefb). Dark mode keeps the vivid green primary (#68ed73) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefbwhite
#000000black
Foreground
#010401black
#f6f9f6whitesmoke
Card
#fbfefbwhite
#000000black
Card foreground
#010401black
#f6f9f6whitesmoke
Popover
#fbfefbwhite
#000000black
Popover foreground
#010401black
#f6f9f6whitesmoke
Primary
#68ed73lightgreen
#68ed73lightgreen
Primary foreground
#042006black
#042006black
Secondary
#a0ed68lightgreen
#a0ed68lightgreen
Secondary foreground
#0f2004black
#0f2004black
Muted
#eff3ecwhitesmoke
#0f130cblack
Muted foreground
#5c6c51dimgray
#9eae93darkseagreen
Accent
#68edb6mediumaquamarine
#68edb6mediumaquamarine
Accent foreground
#042014black
#042014black
Destructive
#b23d0afirebrick
#e74f0dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#68ed73lightgreen
#68ed73lightgreen

Contrast

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

Light mode
Text on background20.25:1AAA
Text on card20.25:1AAA
Primary button11.52:1AAA
Secondary button12.08:1AAA
Muted text5.02:1AA
Accent11.80:1AAA
Destructive5.88:1AA
Dark mode
Text on background19.79:1AAA
Text on card19.79:1AAA
Primary button11.52:1AAA
Secondary button12.08:1AAA
Muted text8.00:1AAA
Accent11.80:1AAA
Destructive3.79:1AA Large

CSS variables

Paste this into your globals.css to use Lost in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 148.023);
  --foreground: oklch(0.098 0.021 146.446);
  --muted: oklch(0.959 0.009 131.804);
  --muted-foreground: oklch(0.509 0.045 132.484);
  --popover: oklch(0.994 0.004 148.023);
  --popover-foreground: oklch(0.098 0.021 146.446);
  --card: oklch(0.994 0.004 148.023);
  --card-foreground: oklch(0.098 0.021 146.446);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.846 0.201 145.049);
  --primary-foreground: oklch(0.214 0.059 144.914);
  --secondary: oklch(0.869 0.183 134.052);
  --secondary-foreground: oklch(0.221 0.055 133.941);
  --accent: oklch(0.858 0.142 163.273);
  --accent-foreground: oklch(0.218 0.042 162.6);
  --destructive: oklch(0.522 0.162 38.988);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.846 0.201 145.049);
  --chart-1: oklch(0.846 0.201 145.049);
  --chart-2: oklch(0.869 0.183 134.052);
  --chart-3: oklch(0.858 0.142 163.273);
  --chart-4: oklch(0.879 0.169 133.734);
  --chart-5: oklch(0.851 0.207 144.954);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.004 148.022);
  --muted: oklch(0.178 0.014 132.407);
  --muted-foreground: oklch(0.731 0.041 132.197);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.004 148.022);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.978 0.004 148.022);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.846 0.201 145.049);
  --primary-foreground: oklch(0.214 0.059 144.914);
  --secondary: oklch(0.869 0.183 134.052);
  --secondary-foreground: oklch(0.221 0.055 133.941);
  --accent: oklch(0.858 0.142 163.273);
  --accent-foreground: oklch(0.218 0.042 162.6);
  --destructive: oklch(0.631 0.199 38.577);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.846 0.201 145.049);
  --chart-1: oklch(0.846 0.201 145.049);
  --chart-2: oklch(0.869 0.183 134.052);
  --chart-3: oklch(0.858 0.142 163.273);
  --chart-4: oklch(0.879 0.169 133.734);
  --chart-5: oklch(0.851 0.207 144.954);
}