Feel for shadcn/ui

Feel is a shadcn/ui theme built around a muted light yellow primary color (#cecdc5) with muted light yellow accents (#d7d5c6). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the muted light yellow primary (#cecdc5) on a yellow-tinted background (#0f0e06).

Color palette

TokenLightDark
Background
#fdfcf7snow
#0f0e06black
Foreground
#000000black
#f9f8f6whitesmoke
Card
#fcfbf3floralwhite
#131107black
Card foreground
#000000black
#fbfbf9snow
Popover
#fcfbf3floralwhite
#131107black
Popover foreground
#000000black
#fbfbf9snow
Primary
#cecdc5lightgrey
#cecdc5lightgrey
Primary foreground
#34332ddarkslategray
#34332ddarkslategray
Secondary
#eaeae6linen
#282824darkslategray
Secondary foreground
#575547darkolivegreen
#c2c2bcsilver
Muted
#f0efe6linen
#1a180fblack
Muted foreground
#40403fdarkslategray
#c0c0bfsilver
Accent
#d7d5c6lightgrey
#3b3a30darkslategray
Accent foreground
#3f3d2cdarkslategray
#d4d3c9lightgrey
Destructive
#9f2009firebrick
#e72e0dorangered
Destructive foreground
#fde2ddmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cecdc5lightgrey
#cecdc5lightgrey

Contrast

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

Light mode
Text on background20.47:1AAA
Text on card20.21:1AAA
Primary button7.92:1AAA
Secondary button6.22:1AA
Muted text8.95:1AAA
Accent7.41:1AAA
Destructive6.37:1AA
Dark mode
Text on background18.24:1AAA
Text on card18.23:1AAA
Primary button7.92:1AAA
Secondary button8.28:1AAA
Muted text9.75:1AAA
Accent7.59:1AAA
Destructive4.36:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.007 100.443);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.949 0.012 100.523);
  --muted-foreground: oklch(0.372 0.002 100.409);
  --popover: oklch(0.986 0.011 100.499);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.986 0.011 100.499);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.846 0.01 100.517);
  --primary-foreground: oklch(0.321 0.012 100.869);
  --secondary: oklch(0.936 0.005 100.42);
  --secondary-foreground: oklch(0.447 0.022 101.035);
  --accent: oklch(0.87 0.02 100.67);
  --accent-foreground: oklch(0.355 0.027 101.338);
  --destructive: oklch(0.458 0.166 32.003);
  --destructive-foreground: oklch(0.934 0.031 29.615);
  --ring: oklch(0.846 0.01 100.517);
  --chart-1: oklch(0.846 0.01 100.517);
  --chart-2: oklch(0.936 0.005 100.42);
  --chart-3: oklch(0.87 0.02 100.67);
  --chart-4: oklch(0.957 0.004 100.388);
  --chart-5: oklch(0.849 0.014 100.584);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.161 0.018 102.251);
  --foreground: oklch(0.98 0.003 100.378);
  --muted: oklch(0.209 0.017 101.407);
  --muted-foreground: oklch(0.807 0.002 100.36);
  --popover: oklch(0.177 0.02 101.922);
  --popover-foreground: oklch(0.987 0.002 100.362);
  --card: oklch(0.177 0.02 101.922);
  --card-foreground: oklch(0.987 0.002 100.362);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.846 0.01 100.517);
  --primary-foreground: oklch(0.321 0.012 100.869);
  --secondary: oklch(0.275 0.006 100.663);
  --secondary-foreground: oklch(0.812 0.008 100.477);
  --accent: oklch(0.347 0.018 101.05);
  --accent-foreground: oklch(0.864 0.013 100.555);
  --destructive: oklch(0.601 0.223 31.8);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.846 0.01 100.517);
  --chart-1: oklch(0.846 0.01 100.517);
  --chart-2: oklch(0.275 0.006 100.663);
  --chart-3: oklch(0.347 0.018 101.05);
  --chart-4: oklch(0.307 0.007 100.678);
  --chart-5: oklch(0.849 0.014 100.584);
}