Achiever for shadcn/ui

Achiever is a shadcn/ui theme built around a vivid orange primary color (#ed703b) with muted light orange accents (#d3c9c5). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the vivid orange primary (#ed703b) on an orange-tinted background (#0a0705).

Color palette

TokenLightDark
Background
#fdf9f7snow
#0a0705black
Foreground
#000000black
#fdfcfcsnow
Card
#fdf9f7snow
#0a0705black
Card foreground
#000000black
#fdfcfcsnow
Popover
#fdf9f7snow
#0a0705black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#ed703btomato
#ed703btomato
Primary foreground
#000000black
#000000black
Secondary
#e0dddcgainsboro
#292524darkslategray
Secondary foreground
#484341darkslategray
#c3bebbsilver
Muted
#e1dddbgainsboro
#24201eblack
Muted foreground
#5e4d45darkolivegreen
#baa9a1darkgray
Accent
#d3c9c5lightgrey
#41352fdarkslategray
Accent foreground
#3a302cdarkslategray
#d8cecalightgrey
Destructive
#772d08saddlebrown
#e05510chocolate
Destructive foreground
#faceb7peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ed703btomato
#ed703btomato

Contrast

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

Light mode
Text on background20.03:1AAA
Text on card20.03:1AAA
Primary button6.98:1AA
Secondary button7.21:1AAA
Muted text5.91:1AA
Accent7.89:1AAA
Destructive6.71:1AA
Dark mode
Text on background19.63:1AAA
Text on card19.63:1AAA
Primary button6.98:1AA
Secondary button8.22:1AAA
Muted text7.13:1AAA
Accent7.69:1AAA
Destructive3.83:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.004 44.936);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.899 0.006 44.916);
  --muted-foreground: oklch(0.434 0.026 44.475);
  --popover: oklch(0.984 0.004 44.936);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.984 0.004 44.936);
  --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.686 0.168 42.197);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.9 0.003 44.949);
  --secondary-foreground: oklch(0.389 0.007 44.794);
  --accent: oklch(0.843 0.013 44.832);
  --accent-foreground: oklch(0.319 0.016 44.536);
  --destructive: oklch(0.4 0.113 42.384);
  --destructive-foreground: oklch(0.883 0.059 48.035);
  --ring: oklch(0.686 0.168 42.197);
  --chart-1: oklch(0.686 0.168 42.197);
  --chart-2: oklch(0.9 0.003 44.949);
  --chart-3: oklch(0.843 0.013 44.832);
  --chart-4: oklch(0.923 0.002 44.958);
  --chart-5: oklch(0.688 0.173 41.98);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.131 0.008 48.848);
  --foreground: oklch(0.992 0 44.978);
  --muted: oklch(0.247 0.008 44.679);
  --muted-foreground: oklch(0.746 0.023 44.698);
  --popover: oklch(0.131 0.008 48.848);
  --popover-foreground: oklch(0.992 0 44.978);
  --card: oklch(0.131 0.008 48.848);
  --card-foreground: oklch(0.992 0 44.978);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.686 0.168 42.197);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.269 0.005 44.784);
  --secondary-foreground: oklch(0.804 0.007 44.895);
  --accent: oklch(0.339 0.02 44.475);
  --accent-foreground: oklch(0.859 0.013 44.831);
  --destructive: oklch(0.627 0.187 41.115);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.686 0.168 42.197);
  --chart-1: oklch(0.686 0.168 42.197);
  --chart-2: oklch(0.269 0.005 44.784);
  --chart-3: oklch(0.339 0.02 44.475);
  --chart-4: oklch(0.3 0.006 44.776);
  --chart-5: oklch(0.688 0.173 41.98);
}