Valuable for shadcn/ui

Valuable is a shadcn/ui theme built around a light green primary color (#f5faeb) with light green accents (#edfaeb). The light mode uses a neutral background (#fbfdf7). Dark mode keeps the light green primary (#f5faeb) on a green-tinted background (#0b0e07).

Color palette

TokenLightDark
Background
#fbfdf7snow
#0b0e07black
Foreground
#0c1005black
#fdfdfcwhite
Card
#fbfdf7snow
#0b0e07black
Card foreground
#0c1005black
#fdfdfcwhite
Popover
#fbfdf7snow
#0b0e07black
Popover foreground
#0c1005black
#fdfdfcwhite
Primary
#f5faebhoneydew
#f5faebhoneydew
Primary foreground
#2e3c10darkgreen
#2e3c10darkgreen
Secondary
#faf7eboldlace
#faf7eboldlace
Secondary foreground
#3c3510darkolivegreen
#3c3510darkolivegreen
Muted
#eeede7linen
#181711black
Muted foreground
#585546darkolivegreen
#b9b6a7darkgray
Accent
#edfaebhoneydew
#edfaebhoneydew
Accent foreground
#173c10darkgreen
#173c10darkgreen
Destructive
#d5120bfirebrick
#e9140cred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f5faebhoneydew
#f5faebhoneydew

Contrast

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

Light mode
Text on background18.71:1AAA
Text on card18.71:1AAA
Primary button11.13:1AAA
Secondary button11.45:1AAA
Muted text6.37:1AA
Accent11.50:1AAA
Destructive5.34:1AA
Dark mode
Text on background19.11:1AAA
Text on card19.11:1AAA
Primary button11.13:1AAA
Secondary button11.45:1AAA
Muted text8.84:1AAA
Accent11.50:1AAA
Destructive4.61:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.007 121.61);
  --foreground: oklch(0.164 0.024 122.806);
  --muted: oklch(0.945 0.007 97.363);
  --muted-foreground: oklch(0.447 0.023 97.874);
  --popover: oklch(0.99 0.007 121.61);
  --popover-foreground: oklch(0.164 0.024 122.806);
  --card: oklch(0.99 0.007 121.61);
  --card-foreground: oklch(0.164 0.024 122.806);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.976 0.02 121.826);
  --primary-foreground: oklch(0.334 0.069 125.702);
  --secondary: oklch(0.975 0.016 97.48);
  --secondary-foreground: oklch(0.328 0.055 97.956);
  --accent: oklch(0.971 0.023 140.494);
  --accent-foreground: oklch(0.319 0.083 140.498);
  --destructive: oklch(0.553 0.22 29.22);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.976 0.02 121.826);
  --chart-1: oklch(0.976 0.02 121.826);
  --chart-2: oklch(0.975 0.016 97.48);
  --chart-3: oklch(0.971 0.023 140.494);
  --chart-4: oklch(0.99 0.007 97.348);
  --chart-5: oklch(0.977 0.021 121.843);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.016 122.426);
  --foreground: oklch(0.993 0.001 121.51);
  --muted: oklch(0.202 0.011 97.881);
  --muted-foreground: oklch(0.774 0.02 97.596);
  --popover: oklch(0.157 0.016 122.426);
  --popover-foreground: oklch(0.993 0.001 121.51);
  --card: oklch(0.157 0.016 122.426);
  --card-foreground: oklch(0.993 0.001 121.51);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.976 0.02 121.826);
  --primary-foreground: oklch(0.334 0.069 125.702);
  --secondary: oklch(0.975 0.016 97.48);
  --secondary-foreground: oklch(0.328 0.055 97.956);
  --accent: oklch(0.971 0.023 140.494);
  --accent-foreground: oklch(0.319 0.083 140.498);
  --destructive: oklch(0.59 0.236 29.241);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.976 0.02 121.826);
  --chart-1: oklch(0.976 0.02 121.826);
  --chart-2: oklch(0.975 0.016 97.48);
  --chart-3: oklch(0.971 0.023 140.494);
  --chart-4: oklch(0.99 0.007 97.348);
  --chart-5: oklch(0.977 0.021 121.843);
}