Yellowjacket for shadcn/ui

Yellowjacket is a shadcn/ui theme built around a light teal primary color (#dbeff0) with light red accents (#f0dcdb). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#dbeff0) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#061314black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#061314black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#061314black
#ffffffwhite
Primary
#dbeff0lavender
#dbeff0lavender
Primary foreground
#0f2324black
#0f2324black
Secondary
#f0dcdbmistyrose
#f0dcdbmistyrose
Secondary foreground
#6c312dsaddlebrown
#6c312dsaddlebrown
Muted
#f5f0efwhitesmoke
#100a0ablack
Muted foreground
#63514fdimgray
#b09d9cdarkgray
Accent
#f0dcdbmistyrose
#f0dcdbmistyrose
Accent foreground
#6c312dsaddlebrown
#6c312dsaddlebrown
Destructive
#a9440asaddlebrown
#f26b1cchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dbeff0lavender
#dbeff0lavender

Contrast

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

Light mode
Text on background18.90:1AAA
Text on card18.90:1AAA
Primary button13.65:1AAA
Secondary button7.57:1AAA
Muted text6.58:1AA
Accent7.57:1AAA
Destructive5.97:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button13.65:1AAA
Secondary button7.57:1AAA
Muted text7.61:1AAA
Accent7.57:1AAA
Destructive6.87:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.173 0.019 201.289);
  --muted: oklch(0.959 0.006 22.281);
  --muted-foreground: oklch(0.452 0.025 22.903);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.173 0.019 201.289);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.173 0.019 201.289);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.937 0.021 201.989);
  --primary-foreground: oklch(0.238 0.026 201.562);
  --secondary: oklch(0.911 0.022 22.493);
  --secondary-foreground: oklch(0.392 0.084 25.83);
  --accent: oklch(0.911 0.022 22.493);
  --accent-foreground: oklch(0.392 0.084 25.83);
  --destructive: oklch(0.516 0.146 43.78);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.937 0.021 201.989);
  --chart-1: oklch(0.937 0.021 201.989);
  --chart-2: oklch(0.911 0.022 22.493);
  --chart-3: oklch(0.911 0.022 22.493);
  --chart-4: oklch(0.938 0.015 22.398);
  --chart-5: oklch(0.938 0.022 201.974);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.153 0.009 22.958);
  --muted-foreground: oklch(0.712 0.022 22.578);
  --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.937 0.021 201.989);
  --primary-foreground: oklch(0.238 0.026 201.562);
  --secondary: oklch(0.911 0.022 22.493);
  --secondary-foreground: oklch(0.392 0.084 25.83);
  --accent: oklch(0.911 0.022 22.493);
  --accent-foreground: oklch(0.392 0.084 25.83);
  --destructive: oklch(0.683 0.185 44.92);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.937 0.021 201.989);
  --chart-1: oklch(0.937 0.021 201.989);
  --chart-2: oklch(0.911 0.022 22.493);
  --chart-3: oklch(0.911 0.022 22.493);
  --chart-4: oklch(0.938 0.015 22.398);
  --chart-5: oklch(0.938 0.022 201.974);
}