Absolute Apricot Grouse for shadcn/ui

Absolute Apricot Grouse is a shadcn/ui theme built around a vivid orange primary color (#ff9742) with muted light orange accents (#ded5ce). The light mode uses a neutral background (#fdfaf6). Dark mode keeps the vivid orange primary (#ff9742) on an orange-tinted background (#100c08).

Color palette

TokenLightDark
Background
#fdfaf6snow
#100c08black
Foreground
#0e0702black
#f9f7f6whitesmoke
Card
#fdf7f2floralwhite
#070503black
Card foreground
#090501black
#fbfaf9snow
Popover
#fdf7f2floralwhite
#070503black
Popover foreground
#090501black
#fbfaf9snow
Primary
#ff9742coral
#ff9742coral
Primary foreground
#0f0700black
#0f0700black
Secondary
#ded5celightgrey
#24211eblack
Secondary foreground
#493c32darkslategray
#c0bab5silver
Muted
#f2efedwhitesmoke
#120f0dblack
Muted foreground
#625850dimgray
#afa59ddarkgray
Accent
#ded5celightgrey
#24211eblack
Accent foreground
#493c32darkslategray
#c0bab5silver
Destructive
#b01507firebrick
#f64231tomato
Destructive foreground
#feedeblinen
#ffffffwhite
Border
#eceae9linen
#201e1dblack
Input
#eceae9linen
#201e1dblack
Ring
#ff9742coral
#ff9742coral

Contrast

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

Light mode
Text on background19.18:1AAA
Text on card19.08:1AAA
Primary button9.30:1AAA
Secondary button7.36:1AAA
Muted text6.07:1AA
Accent7.36:1AAA
Destructive6.24:1AA
Dark mode
Text on background18.27:1AAA
Text on card19.52:1AAA
Primary button9.30:1AAA
Secondary button8.34:1AAA
Muted text7.90:1AAA
Accent8.34:1AAA
Destructive3.64:1AA Large

CSS variables

Paste this into your globals.css to use Absolute Apricot Grouse in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.006 62.113);
  --foreground: oklch(0.136 0.022 72.812);
  --muted: oklch(0.955 0.004 62.14);
  --muted-foreground: oklch(0.469 0.018 61.666);
  --popover: oklch(0.979 0.009 62.072);
  --popover-foreground: oklch(0.118 0.019 74.203);
  --card: oklch(0.979 0.009 62.072);
  --card-foreground: oklch(0.118 0.019 74.203);
  --border: oklch(0.939 0.002 62.164);
  --input: oklch(0.939 0.002 62.164);
  --primary: oklch(0.772 0.157 56.363);
  --primary-foreground: oklch(0.138 0.029 75.69);
  --secondary: oklch(0.879 0.013 61.991);
  --secondary-foreground: oklch(0.367 0.025 61.204);
  --accent: oklch(0.879 0.013 61.991);
  --accent-foreground: oklch(0.367 0.025 61.204);
  --destructive: oklch(0.484 0.188 30.106);
  --destructive-foreground: oklch(0.959 0.019 23.781);
  --ring: oklch(0.772 0.157 56.363);
  --chart-1: oklch(0.772 0.157 56.363);
  --chart-2: oklch(0.879 0.013 61.991);
  --chart-3: oklch(0.879 0.013 61.991);
  --chart-4: oklch(0.902 0.011 62.034);
  --chart-5: oklch(0.775 0.161 56.046);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.01 62.08);
  --foreground: oklch(0.978 0.002 62.166);
  --muted: oklch(0.171 0.006 61.718);
  --muted-foreground: oklch(0.727 0.016 61.896);
  --popover: oklch(0.117 0.01 68.765);
  --popover-foreground: oklch(0.985 0.001 62.175);
  --card: oklch(0.117 0.01 68.765);
  --card-foreground: oklch(0.985 0.001 62.175);
  --border: oklch(0.238 0.004 61.947);
  --input: oklch(0.238 0.004 61.947);
  --primary: oklch(0.772 0.157 56.363);
  --primary-foreground: oklch(0.138 0.029 75.69);
  --secondary: oklch(0.25 0.006 61.855);
  --secondary-foreground: oklch(0.791 0.01 62.029);
  --accent: oklch(0.25 0.006 61.855);
  --accent-foreground: oklch(0.791 0.01 62.029);
  --destructive: oklch(0.645 0.219 29.565);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.772 0.157 56.363);
  --chart-1: oklch(0.772 0.157 56.363);
  --chart-2: oklch(0.25 0.006 61.855);
  --chart-3: oklch(0.25 0.006 61.855);
  --chart-4: oklch(0.282 0.008 61.835);
  --chart-5: oklch(0.775 0.161 56.046);
}