Precise Valley Vineyards for shadcn/ui

Precise Valley Vineyards is a shadcn/ui theme built around a yellow primary color (#88743a) with neutral gray accents (#cfcfcf). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#88743a) on a yellow-tinted background (#0c0a03).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0a03black
Foreground
#171203black
#fbfaf9snow
Card
#fcfcfcsnow
#100d04black
Card foreground
#120e02black
#fdfdfcwhite
Popover
#fcfcfcsnow
#100d04black
Popover foreground
#120e02black
#fdfdfcwhite
Primary
#88743asienna
#88743asienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#cfcfcflightgrey
#201e18black
Secondary foreground
#363636darkslategray
#bfbaabsilver
Muted
#ded3d3lightgrey
#2c2921darkslategray
Muted foreground
#6b5757dimgray
#a8a394darkgray
Accent
#cfcfcflightgrey
#201e18black
Accent foreground
#363636darkslategray
#bfbaabsilver
Destructive
#7c0703maroon
#fa3f38tomato
Destructive foreground
#fdb7b4lightpink
#ffffffwhite
Border
#efeeeclinen
#272521darkslategray
Input
#efeeeclinen
#272521darkslategray
Ring
#88743asienna
#88743asienna

Contrast

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

Light mode
Text on background18.67:1AAA
Text on card18.86:1AAA
Primary button4.55:1AA
Secondary button7.72:1AAA
Muted text4.60:1AA
Accent7.72:1AAA
Destructive6.65:1AA
Dark mode
Text on background19.01:1AAA
Text on card19.07:1AAA
Primary button4.55:1AA
Secondary button8.58:1AAA
Muted text5.77:1AA
Accent8.58:1AAA
Destructive3.60:1AA Large

CSS variables

Paste this into your globals.css to use Precise Valley Vineyards in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.183 0.031 93.308);
  --muted: oklch(0.877 0.012 17.383);
  --muted-foreground: oklch(0.477 0.026 18.087);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.166 0.028 94.666);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.166 0.028 94.666);
  --border: oklch(0.949 0.003 91.436);
  --input: oklch(0.949 0.003 91.436);
  --primary: oklch(0.565 0.081 91.245);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.853 0 168.69);
  --secondary-foreground: oklch(0.331 0 180);
  --accent: oklch(0.853 0 168.69);
  --accent-foreground: oklch(0.331 0 180);
  --destructive: oklch(0.373 0.148 29.464);
  --destructive-foreground: oklch(0.844 0.082 21.174);
  --ring: oklch(0.565 0.081 91.245);
  --chart-1: oklch(0.565 0.081 91.245);
  --chart-2: oklch(0.853 0 168.69);
  --chart-3: oklch(0.853 0 168.69);
  --chart-4: oklch(0.877 0 180);
  --chart-5: oklch(0.571 0.086 91.076);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.144 0.017 95.752);
  --foreground: oklch(0.986 0.002 91.427);
  --muted: oklch(0.281 0.015 91.761);
  --muted-foreground: oklch(0.715 0.021 91.642);
  --popover: oklch(0.16 0.019 93.789);
  --popover-foreground: oklch(0.993 0.001 91.418);
  --card: oklch(0.16 0.019 93.789);
  --card-foreground: oklch(0.993 0.001 91.418);
  --border: oklch(0.265 0.008 91.646);
  --input: oklch(0.265 0.008 91.646);
  --primary: oklch(0.565 0.081 91.245);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.235 0.011 91.743);
  --secondary-foreground: oklch(0.79 0.022 91.631);
  --accent: oklch(0.235 0.011 91.743);
  --accent-foreground: oklch(0.79 0.022 91.631);
  --destructive: oklch(0.649 0.224 27.542);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.565 0.081 91.245);
  --chart-1: oklch(0.565 0.081 91.245);
  --chart-2: oklch(0.235 0.011 91.743);
  --chart-3: oklch(0.235 0.011 91.743);
  --chart-4: oklch(0.27 0.014 91.757);
  --chart-5: oklch(0.571 0.086 91.076);
}