Stingy Crustose Lichen for shadcn/ui

Stingy Crustose Lichen is a shadcn/ui theme built around a vivid orange primary color (#ba5012) with vivid yellow accents (#baa312). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid orange primary (#ba5012) on a neutral background (#070503).

Color palette

TokenLightDark
Background
#fefcfbsnow
#070503black
Foreground
#0d0603black
#ffffffwhite
Card
#fefcfbsnow
#070503black
Card foreground
#0d0603black
#ffffffwhite
Popover
#fefcfbsnow
#070503black
Popover foreground
#0d0603black
#ffffffwhite
Primary
#ba5012chocolate
#ba5012chocolate
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#ba1229firebrick
#ba1229firebrick
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e8e3e4gainsboro
#1c1718black
Muted foreground
#685e60dimgray
#a19798darkgray
Accent
#baa312darkgoldenrod
#baa312darkgoldenrod
Accent foreground
#000000black
#000000black
Destructive
#b60707firebrick
#f61313red
Destructive foreground
#fef0f0lavenderblush
#ffffffwhite
Border
#ebeaealinen
#222120black
Input
#ebeaealinen
#222120black
Ring
#ba5012chocolate
#ba5012chocolate

Contrast

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

Light mode
Text on background19.66:1AAA
Text on card19.66:1AAA
Primary button4.96:1AA
Secondary button6.56:1AA
Muted text4.92:1AA
Accent8.35:1AAA
Destructive6.26:1AA
Dark mode
Text on background20.38:1AAA
Text on card20.38:1AAA
Primary button4.96:1AA
Secondary button6.56:1AA
Muted text6.24:1AA
Accent8.35:1AAA
Destructive4.17:1AA Large

CSS variables

Paste this into your globals.css to use Stingy Crustose Lichen in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 52.552);
  --foreground: oklch(0.132 0.017 61.773);
  --muted: oklch(0.92 0.006 7.898);
  --muted-foreground: oklch(0.493 0.013 8.387);
  --popover: oklch(0.992 0.002 52.552);
  --popover-foreground: oklch(0.132 0.017 61.773);
  --card: oklch(0.992 0.002 52.552);
  --card-foreground: oklch(0.132 0.017 61.773);
  --border: oklch(0.939 0.001 52.56);
  --input: oklch(0.939 0.001 52.56);
  --primary: oklch(0.559 0.152 44.8);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.503 0.195 23.083);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.715 0.145 99.123);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.49 0.198 28.89);
  --destructive-foreground: oklch(0.967 0.015 17.423);
  --ring: oklch(0.559 0.152 44.8);
  --chart-1: oklch(0.559 0.152 44.8);
  --chart-2: oklch(0.503 0.195 23.083);
  --chart-3: oklch(0.715 0.145 99.123);
  --chart-4: oklch(0.531 0.206 23.219);
  --chart-5: oklch(0.563 0.157 44.248);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.115 0.009 58.467);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.211 0.008 8.702);
  --muted-foreground: oklch(0.684 0.012 8.172);
  --popover: oklch(0.115 0.009 58.467);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.115 0.009 58.467);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.248 0.003 52.41);
  --input: oklch(0.248 0.003 52.41);
  --primary: oklch(0.559 0.152 44.8);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.503 0.195 23.083);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.715 0.145 99.123);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.616 0.247 28.687);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.559 0.152 44.8);
  --chart-1: oklch(0.559 0.152 44.8);
  --chart-2: oklch(0.503 0.195 23.083);
  --chart-3: oklch(0.715 0.145 99.123);
  --chart-4: oklch(0.531 0.206 23.219);
  --chart-5: oklch(0.563 0.157 44.248);
}