Luxurious for shadcn/ui

Luxurious is a shadcn/ui theme built around an orange primary color (#a07e4b) with green accents (#97a04b). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#a07e4b) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#160f04black
#fdfdfcwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#110c03black
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#110c03black
#ffffffwhite
Primary
#a07e4bperu
#a07e4bperu
Primary foreground
#000000black
#000000black
Secondary
#a0544bsienna
#a0544bsienna
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f5ebealinen
#150b0ablack
Muted foreground
#685b5adimgray
#a59997darkgray
Accent
#97a04byellowgreen
#97a04byellowgreen
Accent foreground
#14150ablack
#14150ablack
Destructive
#741507maroon
#f24126orangered
Destructive foreground
#fbbcb2lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a07e4bperu
#a07e4bperu

Contrast

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

Light mode
Text on background19.01:1AAA
Text on card19.06:1AAA
Primary button5.55:1AA
Secondary button5.46:1AA
Muted text5.56:1AA
Accent6.49:1AA
Destructive6.99:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.67:1AAA
Primary button5.55:1AA
Secondary button5.46:1AA
Muted text7.02:1AAA
Accent6.49:1AA
Destructive3.76:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.172 0.025 79.651);
  --muted: oklch(0.948 0.011 25.089);
  --muted-foreground: oklch(0.484 0.016 25.293);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.157 0.022 82.141);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.157 0.022 82.141);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.613 0.08 76.511);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.533 0.102 27.597);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.679 0.109 114.063);
  --accent-foreground: oklch(0.19 0.021 113.041);
  --destructive: oklch(0.364 0.131 31.672);
  --destructive-foreground: oklch(0.849 0.075 28.638);
  --ring: oklch(0.613 0.08 76.511);
  --chart-1: oklch(0.613 0.08 76.511);
  --chart-2: oklch(0.533 0.102 27.597);
  --chart-3: oklch(0.679 0.109 114.063);
  --chart-4: oklch(0.558 0.108 27.62);
  --chart-5: oklch(0.618 0.085 76.206);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 78.308);
  --muted: oklch(0.163 0.018 26.3);
  --muted-foreground: oklch(0.692 0.015 25.173);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.613 0.08 76.511);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.533 0.102 27.597);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.679 0.109 114.063);
  --accent-foreground: oklch(0.19 0.021 113.041);
  --destructive: oklch(0.637 0.217 31.661);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.613 0.08 76.511);
  --chart-1: oklch(0.613 0.08 76.511);
  --chart-2: oklch(0.533 0.102 27.597);
  --chart-3: oklch(0.679 0.109 114.063);
  --chart-4: oklch(0.558 0.108 27.62);
  --chart-5: oklch(0.618 0.085 76.206);
}