Excellent for shadcn/ui

Excellent is a shadcn/ui theme built around a light yellow primary color (#faf7e6) with light blue accents (#e6e9fa). The light mode uses a neutral background (#fdfcf6). Dark mode keeps the light yellow primary (#faf7e6) on a yellow-tinted background (#0e0d06).

Color palette

TokenLightDark
Background
#fdfcf6snow
#0e0d06black
Foreground
#110f04black
#fcfbf8snow
Card
#fdfcf6snow
#0e0d06black
Card foreground
#110f04black
#fcfbf8snow
Popover
#fdfcf6snow
#0e0d06black
Popover foreground
#110f04black
#fcfbf8snow
Primary
#faf7e6oldlace
#faf7e6oldlace
Primary foreground
#3b340cdarkolivegreen
#3b340cdarkolivegreen
Secondary
#e6e9falavender
#e6e9falavender
Secondary foreground
#1e2f8fmidnightblue
#1e2f8fmidnightblue
Muted
#e4e4e7gainsboro
#18181bblack
Muted foreground
#4d4d4ddarkslategray
#b3b3b3darkgray
Accent
#e6e9falavender
#e6e9falavender
Accent foreground
#1e2f8fmidnightblue
#1e2f8fmidnightblue
Destructive
#7c340esaddlebrown
#e15f19chocolate
Destructive foreground
#f8d6c3peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#faf7e6oldlace
#faf7e6oldlace

Contrast

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

Light mode
Text on background18.73:1AAA
Text on card18.73:1AAA
Primary button11.56:1AAA
Secondary button9.34:1AAA
Muted text6.67:1AA
Accent9.34:1AAA
Destructive6.52:1AA
Dark mode
Text on background18.81:1AAA
Text on card18.81:1AAA
Primary button11.56:1AAA
Secondary button9.34:1AAA
Muted text8.43:1AAA
Accent9.34:1AAA
Destructive3.59:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.008 98.43);
  --foreground: oklch(0.165 0.023 100.778);
  --muted: oklch(0.92 0.004 278.253);
  --muted-foreground: oklch(0.418 0 173.29);
  --popover: oklch(0.991 0.008 98.43);
  --popover-foreground: oklch(0.165 0.023 100.778);
  --card: oklch(0.991 0.008 98.43);
  --card-foreground: oklch(0.165 0.023 100.778);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.973 0.022 98.632);
  --primary-foreground: oklch(0.323 0.057 99.119);
  --secondary: oklch(0.936 0.023 277.951);
  --secondary-foreground: oklch(0.362 0.158 268.849);
  --accent: oklch(0.936 0.023 277.951);
  --accent-foreground: oklch(0.362 0.158 268.849);
  --destructive: oklch(0.419 0.111 44.539);
  --destructive-foreground: oklch(0.9 0.046 50.046);
  --ring: oklch(0.973 0.022 98.632);
  --chart-1: oklch(0.973 0.022 98.632);
  --chart-2: oklch(0.936 0.023 277.951);
  --chart-3: oklch(0.936 0.023 277.951);
  --chart-4: oklch(0.968 0.011 278.146);
  --chart-5: oklch(0.974 0.023 98.645);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.014 99.937);
  --foreground: oklch(0.988 0.004 98.38);
  --muted: oklch(0.211 0.006 277.891);
  --muted-foreground: oklch(0.765 0 172.405);
  --popover: oklch(0.158 0.014 99.937);
  --popover-foreground: oklch(0.988 0.004 98.38);
  --card: oklch(0.158 0.014 99.937);
  --card-foreground: oklch(0.988 0.004 98.38);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.973 0.022 98.632);
  --primary-foreground: oklch(0.323 0.057 99.119);
  --secondary: oklch(0.936 0.023 277.951);
  --secondary-foreground: oklch(0.362 0.158 268.849);
  --accent: oklch(0.936 0.023 277.951);
  --accent-foreground: oklch(0.362 0.158 268.849);
  --destructive: oklch(0.641 0.178 43.51);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.973 0.022 98.632);
  --chart-1: oklch(0.973 0.022 98.632);
  --chart-2: oklch(0.936 0.023 277.951);
  --chart-3: oklch(0.936 0.023 277.951);
  --chart-4: oklch(0.968 0.011 278.146);
  --chart-5: oklch(0.974 0.023 98.645);
}