Bountiful for shadcn/ui

Bountiful is a shadcn/ui theme built around a muted green primary color (#a9cbb6) with muted pink accents (#cba9be). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the muted green primary (#a9cbb6) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#000000black
Foreground
#04160bblack
#ffffffwhite
Card
#fcfdfcwhite
#000000black
Card foreground
#04160bblack
#ffffffwhite
Popover
#fcfdfcwhite
#000000black
Popover foreground
#04160bblack
#ffffffwhite
Primary
#a9cbb6silver
#a9cbb6silver
Primary foreground
#19291fblack
#19291fblack
Secondary
#cba9besilver
#cba9besilver
Secondary foreground
#291923black
#291923black
Muted
#f1e4eclinen
#1b0e16black
Muted foreground
#51434cdarkslategray
#bcaeb7silver
Accent
#cba9besilver
#cba9besilver
Accent foreground
#291923black
#291923black
Destructive
#bd2c0ffirebrick
#ef5739tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a9cbb6silver
#a9cbb6silver

Contrast

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

Light mode
Text on background18.33:1AAA
Text on card18.33:1AAA
Primary button8.66:1AAA
Secondary button7.92:1AAA
Muted text7.57:1AAA
Accent7.92:1AAA
Destructive5.95:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button8.66:1AAA
Secondary button7.92:1AAA
Muted text8.80:1AAA
Accent7.92:1AAA
Destructive6.09:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 159.42);
  --foreground: oklch(0.178 0.034 155.792);
  --muted: oklch(0.932 0.017 339.858);
  --muted-foreground: oklch(0.4 0.025 340.79);
  --popover: oklch(0.993 0.002 159.42);
  --popover-foreground: oklch(0.178 0.034 155.792);
  --card: oklch(0.993 0.002 159.42);
  --card-foreground: oklch(0.178 0.034 155.792);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.812 0.047 158.1);
  --primary-foreground: oklch(0.264 0.029 156.668);
  --secondary: oklch(0.771 0.049 340.82);
  --secondary-foreground: oklch(0.239 0.032 342.204);
  --accent: oklch(0.771 0.049 340.82);
  --accent-foreground: oklch(0.239 0.032 342.204);
  --destructive: oklch(0.523 0.185 32.689);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.812 0.047 158.1);
  --chart-1: oklch(0.812 0.047 158.1);
  --chart-2: oklch(0.771 0.049 340.82);
  --chart-3: oklch(0.771 0.049 340.82);
  --chart-4: oklch(0.797 0.043 340.627);
  --chart-5: oklch(0.815 0.053 157.935);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.185 0.025 342.236);
  --muted-foreground: oklch(0.765 0.021 340.067);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.812 0.047 158.1);
  --primary-foreground: oklch(0.264 0.029 156.668);
  --secondary: oklch(0.771 0.049 340.82);
  --secondary-foreground: oklch(0.239 0.032 342.204);
  --accent: oklch(0.771 0.049 340.82);
  --accent-foreground: oklch(0.239 0.032 342.204);
  --destructive: oklch(0.656 0.193 33.207);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.812 0.047 158.1);
  --chart-1: oklch(0.812 0.047 158.1);
  --chart-2: oklch(0.771 0.049 340.82);
  --chart-3: oklch(0.771 0.049 340.82);
  --chart-4: oklch(0.797 0.043 340.627);
  --chart-5: oklch(0.815 0.053 157.935);
}