Main Mast Gold Marmot for shadcn/ui

Main Mast Gold Marmot is a shadcn/ui theme built around a vivid yellow primary color (#b79501) with muted light yellow accents (#dbd9d2). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the vivid yellow primary (#b79501) on a neutral background (#080702).

Color palette

TokenLightDark
Background
#fdfcf7snow
#080702black
Foreground
#100e04black
#ffffffwhite
Card
#fcfaf3floralwhite
#0c0a03black
Card foreground
#0c0b03black
#ffffffwhite
Popover
#fdfcf7snow
#080702black
Popover foreground
#100e04black
#ffffffwhite
Primary
#b79501darkgoldenrod
#b79501darkgoldenrod
Primary foreground
#000000black
#000000black
Secondary
#dbd9d2lightgrey
#1b1b18black
Secondary foreground
#444136darkslategray
#b8b6addarkgray
Muted
#e0ded7gainsboro
#28261fblack
Muted foreground
#686764dimgray
#9b9a97darkgray
Accent
#dbd9d2lightgrey
#1b1b18black
Accent foreground
#444136darkslategray
#b8b6addarkgray
Destructive
#a52d12firebrick
#e13e19orangered
Destructive foreground
#fdf0edseashell
#ffffffwhite
Border
#ecece9linen
#1e1d1ablack
Input
#ecece9linen
#1e1d1ablack
Ring
#b79501darkgoldenrod
#b79501darkgoldenrod

Contrast

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

Light mode
Text on background18.80:1AAA
Text on card18.93:1AAA
Primary button7.32:1AAA
Secondary button7.23:1AAA
Muted text4.19:1AA Large
Accent7.23:1AAA
Destructive6.30:1AA
Dark mode
Text on background20.16:1AAA
Text on card19.76:1AAA
Primary button7.32:1AAA
Secondary button8.51:1AAA
Muted text5.35:1AA
Accent8.51:1AAA
Destructive4.29:1AA Large

CSS variables

Paste this into your globals.css to use Main Mast Gold Marmot in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.007 96.254);
  --foreground: oklch(0.163 0.021 98.555);
  --muted: oklch(0.9 0.01 96.298);
  --muted-foreground: oklch(0.514 0.005 96.292);
  --popover: oklch(0.99 0.007 96.254);
  --popover-foreground: oklch(0.163 0.021 98.555);
  --card: oklch(0.986 0.011 96.298);
  --card-foreground: oklch(0.146 0.019 99.819);
  --border: oklch(0.942 0.004 96.214);
  --input: oklch(0.942 0.004 96.214);
  --primary: oklch(0.682 0.139 92.847);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.885 0.01 96.307);
  --secondary-foreground: oklch(0.376 0.018 96.71);
  --accent: oklch(0.885 0.01 96.307);
  --accent-foreground: oklch(0.376 0.018 96.71);
  --destructive: oklch(0.482 0.161 33.699);
  --destructive-foreground: oklch(0.964 0.015 32.668);
  --ring: oklch(0.682 0.139 92.847);
  --chart-1: oklch(0.682 0.139 92.847);
  --chart-2: oklch(0.885 0.01 96.307);
  --chart-3: oklch(0.885 0.01 96.307);
  --chart-4: oklch(0.907 0.008 96.278);
  --chart-5: oklch(0.688 0.141 92.591);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.016 100.362);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.27 0.013 96.694);
  --muted-foreground: oklch(0.687 0.005 96.255);
  --popover: oklch(0.127 0.016 100.362);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.146 0.019 99.785);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.232 0.007 96.521);
  --input: oklch(0.232 0.007 96.521);
  --primary: oklch(0.682 0.139 92.847);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.22 0.006 96.472);
  --secondary-foreground: oklch(0.775 0.012 96.362);
  --accent: oklch(0.22 0.006 96.472);
  --accent-foreground: oklch(0.775 0.012 96.362);
  --destructive: oklch(0.603 0.205 33.544);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.682 0.139 92.847);
  --chart-1: oklch(0.682 0.139 92.847);
  --chart-2: oklch(0.22 0.006 96.472);
  --chart-3: oklch(0.22 0.006 96.472);
  --chart-4: oklch(0.254 0.007 96.496);
  --chart-5: oklch(0.688 0.141 92.591);
}