Experienced for shadcn/ui

Experienced is a shadcn/ui theme built around a light yellow primary color (#f4f4c7) with light indigo accents (#c8c7f4). The light mode uses a neutral background (#fefefb). Dark mode keeps the light yellow primary (#f4f4c7) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefefbwhite
#000000black
Foreground
#080803black
#fafaf5whitesmoke
Card
#fefefbwhite
#000000black
Card foreground
#080803black
#fafaf5whitesmoke
Popover
#fefefbwhite
#000000black
Popover foreground
#080803black
#fafaf5whitesmoke
Primary
#f4f4c7lemonchiffon
#f4f4c7lemonchiffon
Primary foreground
#1e1e06black
#1e1e06black
Secondary
#c8c7f4lightsteelblue
#c8c7f4lightsteelblue
Secondary foreground
#181674midnightblue
#181674midnightblue
Muted
#eaeaf5lavender
#0a0a15black
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#c8c7f4lightsteelblue
#c8c7f4lightsteelblue
Accent foreground
#181674midnightblue
#181674midnightblue
Destructive
#cb0a06firebrick
#f81512red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f4f4c7lemonchiffon
#f4f4c7lemonchiffon

Contrast

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

Light mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button14.99:1AAA
Secondary button9.22:1AAA
Muted text6.35:1AA
Accent9.22:1AAA
Destructive5.86:1AA
Dark mode
Text on background20.05:1AAA
Text on card20.05:1AAA
Primary button14.99:1AAA
Secondary button9.22:1AAA
Muted text8.57:1AAA
Accent9.22:1AAA
Destructive4.11:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.004 107.241);
  --foreground: oklch(0.129 0.016 109.072);
  --muted: oklch(0.941 0.015 286.88);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(0.996 0.004 107.241);
  --popover-foreground: oklch(0.129 0.016 109.072);
  --card: oklch(0.996 0.004 107.241);
  --card-foreground: oklch(0.129 0.016 109.072);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.956 0.058 108.244);
  --primary-foreground: oklch(0.228 0.04 110.085);
  --secondary: oklch(0.846 0.063 285.746);
  --secondary-foreground: oklch(0.287 0.152 272.149);
  --accent: oklch(0.846 0.063 285.746);
  --accent-foreground: oklch(0.287 0.152 272.149);
  --destructive: oklch(0.531 0.214 29.144);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.956 0.058 108.244);
  --chart-1: oklch(0.956 0.058 108.244);
  --chart-2: oklch(0.846 0.063 285.746);
  --chart-3: oklch(0.846 0.063 285.746);
  --chart-4: oklch(0.882 0.048 286.147);
  --chart-5: oklch(0.959 0.061 108.284);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.983 0.006 107.285);
  --muted: oklch(0.15 0.023 283.971);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.983 0.006 107.285);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.983 0.006 107.285);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.956 0.058 108.244);
  --primary-foreground: oklch(0.228 0.04 110.085);
  --secondary: oklch(0.846 0.063 285.746);
  --secondary-foreground: oklch(0.287 0.152 272.149);
  --accent: oklch(0.846 0.063 285.746);
  --accent-foreground: oklch(0.287 0.152 272.149);
  --destructive: oklch(0.619 0.247 28.939);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.956 0.058 108.244);
  --chart-1: oklch(0.956 0.058 108.244);
  --chart-2: oklch(0.846 0.063 285.746);
  --chart-3: oklch(0.846 0.063 285.746);
  --chart-4: oklch(0.882 0.048 286.147);
  --chart-5: oklch(0.959 0.061 108.284);
}