Keen for shadcn/ui

Keen is a shadcn/ui theme built around a vivid light orange primary color (#fed494) with muted light orange accents (#e4e1dd). The light mode uses a neutral background (#fdfbf6). Dark mode keeps the vivid light orange primary (#fed494) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfbf6snow
#000000black
Foreground
#080602black
#fcfaf8snow
Card
#fdfbf6snow
#000000black
Card foreground
#080602black
#fcfaf8snow
Popover
#fdfbf6snow
#000000black
Popover foreground
#080602black
#fcfaf8snow
Primary
#fed494khaki
#fed494khaki
Primary foreground
#603a00saddlebrown
#603a00saddlebrown
Secondary
#e4e1ddgainsboro
#2b2927darkslategray
Secondary foreground
#4f4940darkslategray
#c5c2bfsilver
Muted
#e6e0d6gainsboro
#292319black
Muted foreground
#4a4640darkslategray
#bfbbb5silver
Accent
#e4e1ddgainsboro
#2b2927darkslategray
Accent foreground
#4f4940darkslategray
#c5c2bfsilver
Destructive
#ae240ffirebrick
#ee523atomato
Destructive foreground
#fef3f1seashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fed494khaki
#fed494khaki

Contrast

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

Light mode
Text on background19.54:1AAA
Text on card19.54:1AAA
Primary button7.17:1AAA
Secondary button6.82:1AA
Muted text7.11:1AAA
Accent6.82:1AA
Destructive6.32:1AA
Dark mode
Text on background20.16:1AAA
Text on card20.16:1AAA
Primary button7.17:1AAA
Secondary button8.16:1AAA
Muted text8.15:1AAA
Accent8.16:1AAA
Destructive3.56:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 78.293);
  --foreground: oklch(0.122 0.016 86.097);
  --muted: oklch(0.908 0.015 78.252);
  --muted-foreground: oklch(0.395 0.011 78.198);
  --popover: oklch(0.988 0.006 78.293);
  --popover-foreground: oklch(0.122 0.016 86.097);
  --card: oklch(0.988 0.006 78.293);
  --card-foreground: oklch(0.122 0.016 86.097);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.892 0.093 77.227);
  --primary-foreground: oklch(0.386 0.084 68.735);
  --secondary: oklch(0.911 0.006 78.291);
  --secondary-foreground: oklch(0.408 0.017 78.097);
  --accent: oklch(0.911 0.006 78.291);
  --accent-foreground: oklch(0.408 0.017 78.097);
  --destructive: oklch(0.489 0.176 31.56);
  --destructive-foreground: oklch(0.971 0.012 28);
  --ring: oklch(0.892 0.093 77.227);
  --chart-1: oklch(0.892 0.093 77.227);
  --chart-2: oklch(0.911 0.006 78.291);
  --chart-3: oklch(0.911 0.006 78.291);
  --chart-4: oklch(0.933 0.005 78.297);
  --chart-5: oklch(0.894 0.096 77.166);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.003 78.303);
  --muted: oklch(0.26 0.02 77.715);
  --muted-foreground: oklch(0.794 0.009 78.273);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.003 78.303);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.986 0.003 78.303);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.892 0.093 77.227);
  --primary-foreground: oklch(0.386 0.084 68.735);
  --secondary: oklch(0.283 0.005 78.247);
  --secondary-foreground: oklch(0.816 0.006 78.29);
  --accent: oklch(0.283 0.005 78.247);
  --accent-foreground: oklch(0.816 0.006 78.29);
  --destructive: oklch(0.648 0.196 31.455);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.892 0.093 77.227);
  --chart-1: oklch(0.892 0.093 77.227);
  --chart-2: oklch(0.283 0.005 78.247);
  --chart-3: oklch(0.283 0.005 78.247);
  --chart-4: oklch(0.314 0.006 78.244);
  --chart-5: oklch(0.894 0.096 77.166);
}