Simple for shadcn/ui

Simple is a shadcn/ui theme built around a green primary color (#b8c997) with pink accents (#c997b8). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the green primary (#b8c997) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#000000black
Foreground
#060802black
#f8f9f6whitesmoke
Card
#fdfdfcwhite
#000000black
Card foreground
#060802black
#f8f9f6whitesmoke
Popover
#fdfdfcwhite
#000000black
Popover foreground
#060802black
#f8f9f6whitesmoke
Primary
#b8c997tan
#b8c997tan
Primary foreground
#191e10black
#191e10black
Secondary
#97b8c9lightsteelblue
#97b8c9lightsteelblue
Secondary foreground
#10191eblack
#10191eblack
Muted
#d4dee3gainsboro
#1c262bdarkslategray
Muted foreground
#425057darkslategray
#a8b6bddarkgray
Accent
#c997b8darkgray
#c997b8darkgray
Accent foreground
#1e1019black
#1e1019black
Destructive
#7e340csaddlebrown
#e55e15chocolate
Destructive foreground
#f9d6c2peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b8c997tan
#b8c997tan

Contrast

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

Light mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button9.59:1AAA
Secondary button8.45:1AAA
Muted text6.07:1AA
Accent7.50:1AAA
Destructive6.48:1AA
Dark mode
Text on background19.87:1AAA
Text on card19.87:1AAA
Primary button9.59:1AAA
Secondary button8.45:1AAA
Muted text7.41:1AAA
Accent7.50:1AAA
Destructive3.54:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 122.246);
  --foreground: oklch(0.127 0.018 121.809);
  --muted: oklch(0.893 0.013 230.859);
  --muted-foreground: oklch(0.421 0.022 231.474);
  --popover: oklch(0.994 0.002 122.246);
  --popover-foreground: oklch(0.127 0.018 121.809);
  --card: oklch(0.994 0.002 122.246);
  --card-foreground: oklch(0.127 0.018 121.809);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.81 0.071 123.638);
  --primary-foreground: oklch(0.226 0.028 124.282);
  --secondary: oklch(0.763 0.044 231.594);
  --secondary-foreground: oklch(0.207 0.017 232.182);
  --accent: oklch(0.733 0.075 339.981);
  --accent-foreground: oklch(0.196 0.03 340.936);
  --destructive: oklch(0.421 0.114 44.079);
  --destructive-foreground: oklch(0.9 0.048 50.024);
  --ring: oklch(0.81 0.071 123.638);
  --chart-1: oklch(0.81 0.071 123.638);
  --chart-2: oklch(0.763 0.044 231.594);
  --chart-3: oklch(0.733 0.075 339.981);
  --chart-4: oklch(0.786 0.039 231.453);
  --chart-5: oklch(0.815 0.077 123.763);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.98 0.004 122.277);
  --muted: oklch(0.261 0.017 231.743);
  --muted-foreground: oklch(0.767 0.019 231.014);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.98 0.004 122.277);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.98 0.004 122.277);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.81 0.071 123.638);
  --primary-foreground: oklch(0.226 0.028 124.282);
  --secondary: oklch(0.763 0.044 231.594);
  --secondary-foreground: oklch(0.207 0.017 232.182);
  --accent: oklch(0.733 0.075 339.981);
  --accent-foreground: oklch(0.196 0.03 340.936);
  --destructive: oklch(0.645 0.183 42.975);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.81 0.071 123.638);
  --chart-1: oklch(0.81 0.071 123.638);
  --chart-2: oklch(0.763 0.044 231.594);
  --chart-3: oklch(0.733 0.075 339.981);
  --chart-4: oklch(0.786 0.039 231.453);
  --chart-5: oklch(0.815 0.077 123.763);
}