Spotty Whipped Apricot for shadcn/ui

Spotty Whipped Apricot is a shadcn/ui theme built around a vivid light orange primary color (#f9ce94) with muted light orange accents (#d2cfcb). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the vivid light orange primary (#f9ce94) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfaf8snow
#000000black
Foreground
#000000black
#fcfaf8snow
Card
#fcfaf8snow
#000000black
Card foreground
#000000black
#fcfaf8snow
Popover
#fcfaf8snow
#000000black
Popover foreground
#000000black
#fcfaf8snow
Primary
#f9ce94khaki
#f9ce94khaki
Primary foreground
#573305saddlebrown
#573305saddlebrown
Secondary
#e1e0e0gainsboro
#151414black
Secondary foreground
#494846darkslategray
#aeaeaddarkgray
Muted
#f0e9e0antiquewhite
#1f180fblack
Muted foreground
#6a5e4edimgray
#b1a595darkgray
Accent
#d2cfcblightgrey
#302c27darkslategray
Accent foreground
#3a3631darkslategray
#cbc5besilver
Destructive
#9e0705darkred
#f93734crimson
Destructive foreground
#fed8d7mistyrose
#ffffffwhite
Border
#eeededwhitesmoke
#252423darkslategray
Input
#eeededwhitesmoke
#252423darkslategray
Ring
#f9ce94khaki
#f9ce94khaki

Contrast

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

Light mode
Text on background20.18:1AAA
Text on card20.18:1AAA
Primary button7.58:1AAA
Secondary button6.95:1AA
Muted text5.25:1AA
Accent7.73:1AAA
Destructive6.42:1AA
Dark mode
Text on background20.16:1AAA
Text on card20.16:1AAA
Primary button7.58:1AAA
Secondary button8.26:1AAA
Muted text7.26:1AAA
Accent8.09:1AAA
Destructive3.73:1AA Large

CSS variables

Paste this into your globals.css to use Spotty Whipped Apricot in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.003 74.933);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.937 0.014 74.857);
  --muted-foreground: oklch(0.488 0.029 74.442);
  --popover: oklch(0.986 0.003 74.933);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.986 0.003 74.933);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.947 0.001 74.948);
  --input: oklch(0.947 0.001 74.948);
  --primary: oklch(0.875 0.088 73.701);
  --primary-foreground: oklch(0.359 0.076 66.302);
  --secondary: oklch(0.908 0.001 74.946);
  --secondary-foreground: oklch(0.401 0.003 74.906);
  --accent: oklch(0.856 0.007 74.903);
  --accent-foreground: oklch(0.335 0.01 74.748);
  --destructive: oklch(0.443 0.178 29.115);
  --destructive-foreground: oklch(0.914 0.042 19.104);
  --ring: oklch(0.875 0.088 73.701);
  --chart-1: oklch(0.875 0.088 73.701);
  --chart-2: oklch(0.908 0.001 74.946);
  --chart-3: oklch(0.856 0.007 74.903);
  --chart-4: oklch(0.931 0.001 74.948);
  --chart-5: oklch(0.877 0.091 73.632);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.003 74.935);
  --muted: oklch(0.215 0.02 73.865);
  --muted-foreground: oklch(0.728 0.026 74.691);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.003 74.935);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.986 0.003 74.935);
  --border: oklch(0.26 0.003 74.891);
  --input: oklch(0.26 0.003 74.891);
  --primary: oklch(0.875 0.088 73.701);
  --primary-foreground: oklch(0.359 0.076 66.302);
  --secondary: oklch(0.193 0.001 74.937);
  --secondary-foreground: oklch(0.75 0.002 74.941);
  --accent: oklch(0.296 0.011 74.668);
  --accent-foreground: oklch(0.827 0.012 74.863);
  --destructive: oklch(0.641 0.228 27.249);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.875 0.088 73.701);
  --chart-1: oklch(0.875 0.088 73.701);
  --chart-2: oklch(0.193 0.001 74.937);
  --chart-3: oklch(0.296 0.011 74.668);
  --chart-4: oklch(0.227 0.001 74.935);
  --chart-5: oklch(0.877 0.091 73.632);
}