Ultimate for shadcn/ui

Ultimate is a shadcn/ui theme built around a vivid light orange primary color (#fdbd8b) with vivid light yellow accents (#fdf68b). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the vivid light orange primary (#fdbd8b) on an orange-tinted background (#0f0a05).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#0f0a05black
Foreground
#000000black
#ffffffwhite
Card
#fdfcfcsnow
#0f0a05black
Card foreground
#000000black
#ffffffwhite
Popover
#fdfcfcsnow
#0f0a05black
Popover foreground
#000000black
#ffffffwhite
Primary
#fdbd8bburlywood
#fdbd8bburlywood
Primary foreground
#552601maroon
#552601maroon
Secondary
#fd8b93lightcoral
#fd8b93lightcoral
Secondary foreground
#550107maroon
#550107maroon
Muted
#f1e4e5mistyrose
#1b0e0fblack
Muted foreground
#5c4748darkolivegreen
#b8a3a4darkgray
Accent
#fdf68bkhaki
#fdf68bkhaki
Accent foreground
#555001darkolivegreen
#555001darkolivegreen
Destructive
#82320dsaddlebrown
#ea6a2echocolate
Destructive foreground
#f9d7c7bisque
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fdbd8bburlywood
#fdbd8bburlywood

Contrast

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

Light mode
Text on background20.55:1AAA
Text on card20.55:1AAA
Primary button7.70:1AAA
Secondary button6.69:1AA
Muted text6.93:1AA
Accent7.37:1AAA
Destructive6.46:1AA
Dark mode
Text on background19.73:1AAA
Text on card19.73:1AAA
Primary button7.70:1AAA
Secondary button6.69:1AA
Muted text7.89:1AAA
Accent7.37:1AAA
Destructive6.60:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.001 60.265);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.93 0.014 12.738);
  --muted-foreground: oklch(0.421 0.029 13.904);
  --popover: oklch(0.993 0.001 60.265);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.993 0.001 60.265);
  --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.098 58.34);
  --primary-foreground: oklch(0.329 0.084 51.502);
  --secondary: oklch(0.764 0.138 16.637);
  --secondary-foreground: oklch(0.285 0.114 25.699);
  --accent: oklch(0.956 0.128 104.964);
  --accent-foreground: oklch(0.423 0.089 104.895);
  --destructive: oklch(0.425 0.12 41.618);
  --destructive-foreground: oklch(0.904 0.044 46.37);
  --ring: oklch(0.846 0.098 58.34);
  --chart-1: oklch(0.846 0.098 58.34);
  --chart-2: oklch(0.764 0.138 16.637);
  --chart-3: oklch(0.956 0.128 104.964);
  --chart-4: oklch(0.791 0.119 15.818);
  --chart-5: oklch(0.847 0.101 58.26);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.148 0.014 63.943);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.182 0.022 15.059);
  --muted-foreground: oklch(0.734 0.025 13.141);
  --popover: oklch(0.148 0.014 63.943);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.148 0.014 63.943);
  --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.846 0.098 58.34);
  --primary-foreground: oklch(0.329 0.084 51.502);
  --secondary: oklch(0.764 0.138 16.637);
  --secondary-foreground: oklch(0.285 0.114 25.699);
  --accent: oklch(0.956 0.128 104.964);
  --accent-foreground: oklch(0.423 0.089 104.895);
  --destructive: oklch(0.672 0.174 42.763);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.846 0.098 58.34);
  --chart-1: oklch(0.846 0.098 58.34);
  --chart-2: oklch(0.764 0.138 16.637);
  --chart-3: oklch(0.956 0.128 104.964);
  --chart-4: oklch(0.791 0.119 15.818);
  --chart-5: oklch(0.847 0.101 58.26);
}