Genuine for shadcn/ui

Genuine is a shadcn/ui theme built around a light green primary color (#ccf5c7) with light purple accents (#f0c7f5). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#ccf5c7) on a green-tinted background (#040c03).

Color palette

TokenLightDark
Background
#ffffffwhite
#040c03black
Foreground
#030803black
#f6f9f6whitesmoke
Card
#ffffffwhite
#040c03black
Card foreground
#030803black
#f6f9f6whitesmoke
Popover
#ffffffwhite
#040c03black
Popover foreground
#030803black
#f6f9f6whitesmoke
Primary
#ccf5c7gainsboro
#ccf5c7gainsboro
Primary foreground
#081e05black
#081e05black
Secondary
#f0c7f5lavender
#f0c7f5lavender
Secondary foreground
#6a1575purple
#6a1575purple
Muted
#f1eef1whitesmoke
#100e11black
Muted foreground
#5f585fdimgray
#a6a0a7darkgray
Accent
#f0c7f5lavender
#f0c7f5lavender
Accent foreground
#6a1575purple
#6a1575purple
Destructive
#c23a00firebrick
#eb4600orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ccf5c7gainsboro
#ccf5c7gainsboro

Contrast

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

Light mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button14.57:1AAA
Secondary button7.15:1AAA
Muted text5.99:1AA
Accent7.15:1AAA
Destructive5.38:1AA
Dark mode
Text on background18.68:1AAA
Text on card18.68:1AAA
Primary button14.57:1AAA
Secondary button7.15:1AAA
Muted text7.51:1AAA
Accent7.15:1AAA
Destructive3.88:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.122 0.02 140.572);
  --muted: oklch(0.953 0.005 322.131);
  --muted-foreground: oklch(0.47 0.014 322.215);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.122 0.02 140.572);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.122 0.02 140.572);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.929 0.075 141.833);
  --primary-foreground: oklch(0.211 0.054 140.938);
  --secondary: oklch(0.878 0.077 322.398);
  --secondary-foreground: oklch(0.387 0.163 322.648);
  --accent: oklch(0.878 0.077 322.398);
  --accent-foreground: oklch(0.387 0.163 322.648);
  --destructive: oklch(0.545 0.18 37.504);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.929 0.075 141.833);
  --chart-1: oklch(0.929 0.075 141.833);
  --chart-2: oklch(0.878 0.077 322.398);
  --chart-3: oklch(0.878 0.077 322.398);
  --chart-4: oklch(0.906 0.059 322.327);
  --chart-5: oklch(0.931 0.078 141.822);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.026 140.42);
  --foreground: oklch(0.979 0.005 142.095);
  --muted: oklch(0.167 0.008 322.266);
  --muted-foreground: oklch(0.712 0.013 322.174);
  --popover: oklch(0.141 0.026 140.42);
  --popover-foreground: oklch(0.979 0.005 142.095);
  --card: oklch(0.141 0.026 140.42);
  --card-foreground: oklch(0.979 0.005 142.095);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.929 0.075 141.833);
  --primary-foreground: oklch(0.211 0.054 140.938);
  --secondary: oklch(0.878 0.077 322.398);
  --secondary-foreground: oklch(0.387 0.163 322.648);
  --accent: oklch(0.878 0.077 322.398);
  --accent-foreground: oklch(0.387 0.163 322.648);
  --destructive: oklch(0.627 0.21 37.051);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.929 0.075 141.833);
  --chart-1: oklch(0.929 0.075 141.833);
  --chart-2: oklch(0.878 0.077 322.398);
  --chart-3: oklch(0.878 0.077 322.398);
  --chart-4: oklch(0.906 0.059 322.327);
  --chart-5: oklch(0.931 0.078 141.822);
}