Impeccable for shadcn/ui

Impeccable is a shadcn/ui theme built around a yellow primary color (#e2d736) with green accents (#98e236). The light mode uses a neutral background (#fefefb). Dark mode keeps the yellow primary (#e2d736) on a yellow-tinted background (#0d0d07).

Color palette

TokenLightDark
Background
#fefefbwhite
#0d0d07black
Foreground
#040401black
#faf9f5whitesmoke
Card
#fdfdf6snow
#111009black
Card foreground
#000000black
#fbfbf8snow
Popover
#fdfdf6snow
#111009black
Popover foreground
#000000black
#fbfbf8snow
Primary
#e2d736goldenrod
#e2d736goldenrod
Primary foreground
#433f0adarkolivegreen
#433f0adarkolivegreen
Secondary
#e28136peru
#e28136peru
Secondary foreground
#000000black
#000000black
Muted
#f7f2edlinen
#120c08black
Muted foreground
#6f5f52dimgray
#ad9c90rosybrown
Accent
#98e236yellowgreen
#98e236yellowgreen
Accent foreground
#2a430adarkgreen
#2a430adarkgreen
Destructive
#651501maroon
#fd5126tomato
Destructive foreground
#feae9alightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e2d736goldenrod
#e2d736goldenrod

Contrast

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

Light mode
Text on background20.31:1AAA
Text on card20.57:1AAA
Primary button7.16:1AAA
Secondary button7.42:1AAA
Muted text5.48:1AA
Accent6.97:1AA
Destructive7.06:1AAA
Dark mode
Text on background18.48:1AAA
Text on card18.36:1AAA
Primary button7.16:1AAA
Secondary button7.42:1AAA
Muted text7.33:1AAA
Accent6.97:1AA
Destructive3.29:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.004 103.179);
  --foreground: oklch(0.102 0.013 105.774);
  --muted: oklch(0.963 0.008 60.164);
  --muted-foreground: oklch(0.498 0.029 59.453);
  --popover: oklch(0.992 0.009 103.252);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0.009 103.252);
  --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.862 0.169 105.159);
  --primary-foreground: oklch(0.361 0.07 105.171);
  --secondary: oklch(0.697 0.148 54.282);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.834 0.208 130.806);
  --accent-foreground: oklch(0.35 0.087 130.723);
  --destructive: oklch(0.334 0.116 34.783);
  --destructive-foreground: oklch(0.823 0.099 34.629);
  --ring: oklch(0.862 0.169 105.159);
  --chart-1: oklch(0.862 0.169 105.159);
  --chart-2: oklch(0.697 0.148 54.282);
  --chart-3: oklch(0.834 0.208 130.806);
  --chart-4: oklch(0.715 0.139 55.403);
  --chart-5: oklch(0.871 0.172 105.127);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.013 104.532);
  --foreground: oklch(0.982 0.006 103.203);
  --muted: oklch(0.161 0.013 60.085);
  --muted-foreground: oklch(0.704 0.027 59.759);
  --popover: oklch(0.172 0.015 104.446);
  --popover-foreground: oklch(0.988 0.004 103.171);
  --card: oklch(0.172 0.015 104.446);
  --card-foreground: oklch(0.988 0.004 103.171);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.862 0.169 105.159);
  --primary-foreground: oklch(0.361 0.07 105.171);
  --secondary: oklch(0.697 0.148 54.282);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.834 0.208 130.806);
  --accent-foreground: oklch(0.35 0.087 130.723);
  --destructive: oklch(0.669 0.215 34.617);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.862 0.169 105.159);
  --chart-1: oklch(0.862 0.169 105.159);
  --chart-2: oklch(0.697 0.148 54.282);
  --chart-3: oklch(0.834 0.208 130.806);
  --chart-4: oklch(0.715 0.139 55.403);
  --chart-5: oklch(0.871 0.172 105.127);
}