Valuable for shadcn/ui

Valuable is a shadcn/ui theme built around a vivid green primary color (#61e524) with muted light green accents (#d0dec9). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the vivid green primary (#61e524) on a green-tinted background (#060b04).

Color palette

TokenLightDark
Background
#f9fdf7mintcream
#060b04black
Foreground
#0a1504black
#f6faf5whitesmoke
Card
#f5fcf2honeydew
#080f05black
Card foreground
#081103black
#f9fcf8mintcream
Popover
#f5fcf2honeydew
#080f05black
Popover foreground
#081103black
#f9fcf8mintcream
Primary
#61e524lawngreen
#61e524lawngreen
Primary foreground
#163706darkgreen
#163706darkgreen
Secondary
#e2e7dfgainsboro
#131712black
Secondary foreground
#465440darkslategray
#aab8a3darkgray
Muted
#e9f0e5beige
#121a0fblack
Muted foreground
#606d5adimgray
#98a592darkseagreen
Accent
#d0dec9lightgrey
#263121darkslategray
Accent foreground
#35492ddarkslategray
#bdceb6silver
Destructive
#801700maroon
#ff4c24orangered
Destructive foreground
#ffc1b3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#61e524lawngreen
#61e524lawngreen

Contrast

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

Light mode
Text on background18.21:1AAA
Text on card18.46:1AAA
Primary button8.06:1AAA
Secondary button6.41:1AA
Muted text4.71:1AA
Accent6.99:1AA
Destructive6.64:1AA
Dark mode
Text on background18.78:1AAA
Text on card18.75:1AAA
Primary button8.06:1AAA
Secondary button8.70:1AAA
Muted text6.89:1AA
Accent8.21:1AAA
Destructive3.32:1AA Large

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.01 135.471);
  --foreground: oklch(0.18 0.039 135.374);
  --muted: oklch(0.947 0.017 135.504);
  --muted-foreground: oklch(0.519 0.035 135.731);
  --popover: oklch(0.984 0.015 135.494);
  --popover-foreground: oklch(0.163 0.034 134.503);
  --card: oklch(0.984 0.015 135.494);
  --card-foreground: oklch(0.163 0.034 134.503);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.816 0.244 138.618);
  --primary-foreground: oklch(0.3 0.083 137.798);
  --secondary: oklch(0.921 0.012 135.484);
  --secondary-foreground: oklch(0.428 0.038 135.839);
  --accent: oklch(0.884 0.032 135.586);
  --accent-foreground: oklch(0.38 0.052 136.13);
  --destructive: oklch(0.389 0.142 33.442);
  --destructive-foreground: oklch(0.862 0.075 32.948);
  --ring: oklch(0.816 0.244 138.618);
  --chart-1: oklch(0.816 0.244 138.618);
  --chart-2: oklch(0.921 0.012 135.484);
  --chart-3: oklch(0.884 0.032 135.586);
  --chart-4: oklch(0.943 0.009 135.467);
  --chart-5: oklch(0.825 0.25 138.773);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.022 134.059);
  --foreground: oklch(0.981 0.008 135.462);
  --muted: oklch(0.206 0.024 135.997);
  --muted-foreground: oklch(0.707 0.032 135.63);
  --popover: oklch(0.158 0.025 134.744);
  --popover-foreground: oklch(0.987 0.005 135.45);
  --card: oklch(0.158 0.025 134.744);
  --card-foreground: oklch(0.987 0.005 135.45);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.816 0.244 138.618);
  --primary-foreground: oklch(0.3 0.083 137.798);
  --secondary: oklch(0.199 0.012 135.694);
  --secondary-foreground: oklch(0.765 0.034 135.622);
  --accent: oklch(0.297 0.032 135.955);
  --accent-foreground: oklch(0.832 0.038 135.63);
  --destructive: oklch(0.668 0.221 33.732);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.816 0.244 138.618);
  --chart-1: oklch(0.816 0.244 138.618);
  --chart-2: oklch(0.199 0.012 135.694);
  --chart-3: oklch(0.297 0.032 135.955);
  --chart-4: oklch(0.234 0.016 135.728);
  --chart-5: oklch(0.825 0.25 138.773);
}