Tuscan Sun Lemming for shadcn/ui

Tuscan Sun Lemming is a shadcn/ui theme built around a vivid yellow primary color (#ffd951) with vivid light purple accents (#eca6ff). The light mode uses a neutral background (#ffffff). Dark mode switches to a yellow primary (#d5bf6c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#fbfaf9snow
Card
#ffffffwhite
#000000black
Card foreground
#000000black
#fbfaf9snow
Popover
#ffffffwhite
#000000black
Popover foreground
#000000black
#fbfaf9snow
Primary
#ffd951sandybrown
#d5bf6cdarkkhaki
Primary foreground
#0c0a03black
#0c0a03black
Secondary
#6cd5bfmediumaquamarine
#6cd5bfmediumaquamarine
Secondary foreground
#000e0bblack
#030c0ablack
Muted
#e0e9e7gainsboro
#0c1815black
Muted foreground
#536e69dimgray
#91aca6darkgray
Accent
#eca6ffplum
#bf6cd5mediumorchid
Accent foreground
#0a030cblack
#0a030cblack
Destructive
#b82c56brown
#ea4634tomato
Destructive foreground
#ffece4linen
#ffffffwhite
Border
#e6e6e6gainsboro
#1d1d1bblack
Input
#c6c2b3silver
#1d1d1bblack
Ring
#86f3edaquamarine
#d5bf6cdarkkhaki

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button14.44:1AAA
Secondary button11.19:1AAA
Muted text4.48:1AA Large
Accent11.07:1AAA
Destructive5.19:1AA
Dark mode
Text on background20.14:1AAA
Text on card20.14:1AAA
Primary button10.82:1AAA
Secondary button11.26:1AAA
Muted text7.50:1AAA
Accent6.11:1AA
Destructive3.87:1AA Large

CSS variables

Paste this into your globals.css to use Tuscan Sun Lemming in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.928 0.01 181.76);
  --muted-foreground: oklch(0.517 0.033 180.15);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.923 0 153.435);
  --input: oklch(0.813 0.021 94.791);
  --primary: oklch(0.894 0.155 93.333);
  --primary-foreground: oklch(0.145 0.018 97.8);
  --secondary: oklch(0.805 0.104 177.504);
  --secondary-foreground: oklch(0.146 0.026 180.654);
  --accent: oklch(0.821 0.142 318.783);
  --accent-foreground: oklch(0.121 0.027 320.49);
  --destructive: oklch(0.525 0.178 8.269);
  --destructive-foreground: oklch(0.957 0.023 44.951);
  --ring: oklch(0.898 0.101 190.729);
  --chart-1: oklch(0.894 0.155 93.333);
  --chart-2: oklch(0.805 0.104 177.504);
  --chart-3: oklch(0.821 0.142 318.783);
  --chart-4: oklch(0.819 0.098 178.024);
  --chart-5: oklch(0.899 0.158 93.215);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.001 93.88);
  --muted: oklch(0.195 0.017 179.297);
  --muted-foreground: oklch(0.721 0.031 180.817);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.001 93.88);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.986 0.001 93.88);
  --border: oklch(0.23 0.004 94.057);
  --input: oklch(0.23 0.004 94.057);
  --primary: oklch(0.805 0.106 94.333);
  --primary-foreground: oklch(0.145 0.018 97.8);
  --secondary: oklch(0.805 0.104 177.504);
  --secondary-foreground: oklch(0.143 0.016 181.396);
  --accent: oklch(0.663 0.172 318.62);
  --accent-foreground: oklch(0.121 0.027 320.49);
  --destructive: oklch(0.628 0.203 30.042);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.805 0.106 94.333);
  --chart-1: oklch(0.805 0.106 94.333);
  --chart-2: oklch(0.805 0.104 177.504);
  --chart-3: oklch(0.663 0.172 318.62);
  --chart-4: oklch(0.819 0.098 178.024);
  --chart-5: oklch(0.811 0.111 94.279);
}