Yuzu Marmalade Cricket for shadcn/ui

Yuzu Marmalade Cricket is a shadcn/ui theme built around a vivid yellow primary color (#ffd86b) with muted blue accents (#474b66). The light mode uses a blue-tinted background (#282a39). Dark mode keeps the vivid yellow primary (#ffd86b) on a blue-tinted background (#282a39).

Color palette

TokenLightDark
Background
#282a39darkslategray
#282a39darkslategray
Foreground
#e9f1f0whitesmoke
#e9f1f0whitesmoke
Card
#242533darkslategray
#242533darkslategray
Card foreground
#f9fbfbghostwhite
#f9fbfbghostwhite
Popover
#212330darkslategray
#212330darkslategray
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#ffd86bkhaki
#ffd86bkhaki
Primary foreground
#382900black
#382900black
Secondary
#53492ddarkolivegreen
#53492ddarkolivegreen
Secondary foreground
#e4decdgainsboro
#e4decdgainsboro
Muted
#343542darkslategray
#343542darkslategray
Muted foreground
#b2b4c2silver
#b2b4c2silver
Accent
#474b66darkslategray
#474b66darkslategray
Accent foreground
#edeef2whitesmoke
#edeef2whitesmoke
Destructive
#f4502ftomato
#f4502ftomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#383942darkslategray
#383942darkslategray
Input
#3f414adarkslategray
#3f414adarkslategray
Ring
#ffd86bkhaki
#ffd86bkhaki

Contrast

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

Light mode
Text on background12.39:1AAA
Text on card14.53:1AAA
Primary button10.26:1AAA
Secondary button6.65:1AA
Muted text5.87:1AA
Accent7.36:1AAA
Destructive3.48:1AA Large
Dark mode
Text on background12.39:1AAA
Text on card14.53:1AAA
Primary button10.26:1AAA
Secondary button6.65:1AA
Muted text5.87:1AA
Accent7.36:1AAA
Destructive3.48:1AA Large

CSS variables

Paste this into your globals.css to use Yuzu Marmalade Cricket in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.289 0.028 278.614);
  --foreground: oklch(0.953 0.009 188.68);
  --muted: oklch(0.333 0.022 279.217);
  --muted-foreground: oklch(0.772 0.021 279.898);
  --popover: oklch(0.261 0.024 278.697);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.27 0.026 278.667);
  --card-foreground: oklch(0.987 0.003 188.847);
  --border: oklch(0.349 0.015 279.62);
  --input: oklch(0.376 0.017 279.603);
  --primary: oklch(0.894 0.134 89.51);
  --primary-foreground: oklch(0.291 0.059 87.335);
  --secondary: oklch(0.407 0.045 90.254);
  --secondary-foreground: oklch(0.901 0.024 90.298);
  --accent: oklch(0.42 0.046 278.38);
  --accent-foreground: oklch(0.949 0.007 280.222);
  --destructive: oklch(0.654 0.206 33.181);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.894 0.134 89.51);
  --chart-1: oklch(0.894 0.134 89.51);
  --chart-2: oklch(0.407 0.045 90.254);
  --chart-3: oklch(0.42 0.046 278.38);
  --chart-4: oklch(0.439 0.049 90.237);
  --chart-5: oklch(0.897 0.137 89.42);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.289 0.028 278.614);
  --foreground: oklch(0.953 0.009 188.68);
  --muted: oklch(0.333 0.022 279.217);
  --muted-foreground: oklch(0.772 0.021 279.898);
  --popover: oklch(0.261 0.024 278.697);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.27 0.026 278.667);
  --card-foreground: oklch(0.987 0.003 188.847);
  --border: oklch(0.349 0.015 279.62);
  --input: oklch(0.376 0.017 279.603);
  --primary: oklch(0.894 0.134 89.51);
  --primary-foreground: oklch(0.291 0.059 87.335);
  --secondary: oklch(0.407 0.045 90.254);
  --secondary-foreground: oklch(0.901 0.024 90.298);
  --accent: oklch(0.42 0.046 278.38);
  --accent-foreground: oklch(0.949 0.007 280.222);
  --destructive: oklch(0.654 0.206 33.181);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.894 0.134 89.51);
  --chart-1: oklch(0.894 0.134 89.51);
  --chart-2: oklch(0.407 0.045 90.254);
  --chart-3: oklch(0.42 0.046 278.38);
  --chart-4: oklch(0.439 0.049 90.237);
  --chart-5: oklch(0.897 0.137 89.42);
}