Owner for shadcn/ui

Owner is a shadcn/ui theme built around a vivid light green primary color (#c2f9cb) with muted light green accents (#dfe7e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#c2f9cb) on a neutral background (#020302).

Color palette

TokenLightDark
Background
#ffffffwhite
#020302black
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#020302black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#020302black
Popover foreground
#000000black
#ffffffwhite
Primary
#c2f9cbpowderblue
#c2f9cbpowderblue
Primary foreground
#032107black
#032107black
Secondary
#dfe7e0gainsboro
#273529darkslategray
Secondary foreground
#3f5542darkslategray
#bed0c1silver
Muted
#dff1e2gainsboro
#0e2011black
Muted foreground
#576059dimgray
#9fa8a0darkgray
Accent
#dfe7e0gainsboro
#273529darkslategray
Accent foreground
#3f5542darkslategray
#bed0c1silver
Destructive
#620704maroon
#f83c35tomato
Destructive foreground
#fba09dlightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c2f9cbpowderblue
#c2f9cbpowderblue

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button14.50:1AAA
Secondary button6.43:1AA
Muted text5.52:1AA
Accent6.43:1AA
Destructive6.82:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.63:1AAA
Primary button14.50:1AAA
Secondary button7.96:1AAA
Muted text6.97:1AA
Accent7.96:1AAA
Destructive3.70:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.94 0.027 149.867);
  --muted-foreground: oklch(0.48 0.017 149.781);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.933 0.084 148.995);
  --primary-foreground: oklch(0.217 0.059 146.433);
  --secondary: oklch(0.92 0.013 150.06);
  --secondary-foreground: oklch(0.425 0.041 148.894);
  --accent: oklch(0.92 0.013 150.06);
  --accent-foreground: oklch(0.425 0.041 148.894);
  --destructive: oklch(0.318 0.123 29.34);
  --destructive-foreground: oklch(0.796 0.11 21.966);
  --ring: oklch(0.933 0.084 148.995);
  --chart-1: oklch(0.933 0.084 148.995);
  --chart-2: oklch(0.92 0.013 150.06);
  --chart-3: oklch(0.92 0.013 150.06);
  --chart-4: oklch(0.942 0.009 150.115);
  --chart-5: oklch(0.935 0.087 148.949);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.011 149.582);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.222 0.037 147.749);
  --muted-foreground: oklch(0.721 0.015 149.969);
  --popover: oklch(0.095 0.011 149.582);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.095 0.011 149.582);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.933 0.084 148.995);
  --primary-foreground: oklch(0.217 0.059 146.433);
  --secondary: oklch(0.312 0.03 148.931);
  --secondary-foreground: oklch(0.839 0.029 149.795);
  --accent: oklch(0.312 0.03 148.931);
  --accent-foreground: oklch(0.839 0.029 149.795);
  --destructive: oklch(0.643 0.224 27.677);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.933 0.084 148.995);
  --chart-1: oklch(0.933 0.084 148.995);
  --chart-2: oklch(0.312 0.03 148.931);
  --chart-3: oklch(0.312 0.03 148.931);
  --chart-4: oklch(0.345 0.034 148.886);
  --chart-5: oklch(0.935 0.087 148.949);
}