Likely for shadcn/ui

Likely is a shadcn/ui theme built around a yellow primary color (#d8dc5b) with muted light yellow accents (#c9cabf). The light mode uses a neutral background (#fbfbf8). Dark mode keeps the yellow primary (#d8dc5b) on a yellow-tinted background (#0c0c03).

Color palette

TokenLightDark
Background
#fbfbf8snow
#0c0c03black
Foreground
#111203black
#ffffffwhite
Card
#fbfbf8snow
#0c0c03black
Card foreground
#111203black
#ffffffwhite
Popover
#fbfbf8snow
#0c0c03black
Popover foreground
#111203black
#ffffffwhite
Primary
#d8dc5bdarkkhaki
#d8dc5bdarkkhaki
Primary foreground
#040401black
#040401black
Secondary
#dedfddgainsboro
#232419black
Secondary foreground
#464643darkslategray
#c3c4absilver
Muted
#ededd9beige
#262612black
Muted foreground
#6e6e59dimgray
#a6a691darkgray
Accent
#c9cabfsilver
#434427darkolivegreen
Accent foreground
#2f2f27darkslategray
#dbdcc1lightgrey
Destructive
#9a0604darkred
#fa2d29crimson
Destructive foreground
#fed3d2pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d8dc5bdarkkhaki
#d8dc5bdarkkhaki

Contrast

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

Light mode
Text on background18.28:1AAA
Text on card18.28:1AAA
Primary button14.00:1AAA
Secondary button7.06:1AAA
Muted text4.39:1AA Large
Accent8.13:1AAA
Destructive6.42:1AA
Dark mode
Text on background19.64:1AAA
Text on card19.64:1AAA
Primary button14.00:1AAA
Secondary button8.82:1AAA
Muted text6.18:1AA
Accent7.16:1AAA
Destructive3.85:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.004 108.015);
  --foreground: oklch(0.175 0.031 110.691);
  --muted: oklch(0.941 0.027 108.468);
  --muted-foreground: oklch(0.533 0.033 109.039);
  --popover: oklch(0.988 0.004 108.015);
  --popover-foreground: oklch(0.175 0.031 110.691);
  --card: oklch(0.988 0.004 108.015);
  --card-foreground: oklch(0.175 0.031 110.691);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.867 0.151 110.95);
  --primary-foreground: oklch(0.106 0.016 110.096);
  --secondary: oklch(0.902 0.002 107.976);
  --secondary-foreground: oklch(0.394 0.005 108.151);
  --accent: oklch(0.835 0.014 108.255);
  --accent-foreground: oklch(0.303 0.014 108.746);
  --destructive: oklch(0.434 0.174 29.172);
  --destructive-foreground: oklch(0.903 0.048 19.23);
  --ring: oklch(0.867 0.151 110.95);
  --chart-1: oklch(0.867 0.151 110.95);
  --chart-2: oklch(0.902 0.002 107.976);
  --chart-3: oklch(0.835 0.014 108.255);
  --chart-4: oklch(0.925 0.001 107.967);
  --chart-5: oklch(0.875 0.156 111.024);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.15 0.021 109.988);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.264 0.035 110.241);
  --muted-foreground: oklch(0.72 0.031 108.708);
  --popover: oklch(0.15 0.021 109.988);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.15 0.021 109.988);
  --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.867 0.151 110.95);
  --primary-foreground: oklch(0.106 0.016 110.096);
  --secondary: oklch(0.256 0.019 109.233);
  --secondary-foreground: oklch(0.812 0.033 108.675);
  --accent: oklch(0.378 0.045 110.023);
  --accent-foreground: oklch(0.886 0.035 108.651);
  --destructive: oklch(0.634 0.237 27.929);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.867 0.151 110.95);
  --chart-1: oklch(0.867 0.151 110.95);
  --chart-2: oklch(0.256 0.019 109.233);
  --chart-3: oklch(0.378 0.045 110.023);
  --chart-4: oklch(0.291 0.023 109.305);
  --chart-5: oklch(0.875 0.156 111.024);
}