Hull for shadcn/ui

Hull is a shadcn/ui theme built around a vivid green primary color (#38e589) with vivid pink accents (#e53895). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#38e589) on a neutral background (#020402).

Color palette

TokenLightDark
Background
#ffffffwhite
#020402black
Foreground
#000000black
#fcfdfcwhite
Card
#ffffffwhite
#020402black
Card foreground
#000000black
#fcfdfcwhite
Popover
#ffffffwhite
#020402black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#38e589mediumseagreen
#38e589mediumseagreen
Primary foreground
#094827darkgreen
#094827darkgreen
Secondary
#e53895deeppink
#e53895deeppink
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e4d3dcgainsboro
#2c1b24black
Muted foreground
#6f5262dimgray
#ad909frosybrown
Accent
#e53895deeppink
#e53895deeppink
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#702005maroon
#f4511aorangered
Destructive foreground
#fbc0aclightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#38e589mediumseagreen
#38e589mediumseagreen

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.48:1AA
Secondary button3.93:1AA Large
Muted text4.78:1AA
Accent3.93:1AA Large
Destructive6.97:1AA
Dark mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button6.48:1AA
Secondary button3.93:1AA Large
Muted text5.61:1AA
Accent3.93:1AA Large
Destructive3.47:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.883 0.022 344.045);
  --muted-foreground: oklch(0.476 0.045 345.674);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.816 0.189 154.301);
  --primary-foreground: oklch(0.356 0.084 153.975);
  --secondary: oklch(0.63 0.221 353.046);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.63 0.221 353.046);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.368 0.118 36.869);
  --destructive-foreground: oklch(0.856 0.074 39.226);
  --ring: oklch(0.816 0.189 154.301);
  --chart-1: oklch(0.816 0.189 154.301);
  --chart-2: oklch(0.63 0.221 353.046);
  --chart-3: oklch(0.63 0.221 353.046);
  --chart-4: oklch(0.647 0.211 351.903);
  --chart-5: oklch(0.824 0.194 153.983);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.009 163.494);
  --foreground: oklch(0.993 0.002 163.403);
  --muted: oklch(0.249 0.03 346.251);
  --muted-foreground: oklch(0.683 0.041 344.884);
  --popover: oklch(0.096 0.009 163.494);
  --popover-foreground: oklch(0.993 0.002 163.403);
  --card: oklch(0.096 0.009 163.494);
  --card-foreground: oklch(0.993 0.002 163.403);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.816 0.189 154.301);
  --primary-foreground: oklch(0.356 0.084 153.975);
  --secondary: oklch(0.63 0.221 353.046);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.63 0.221 353.046);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.654 0.209 36.705);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.816 0.189 154.301);
  --chart-1: oklch(0.816 0.189 154.301);
  --chart-2: oklch(0.63 0.221 353.046);
  --chart-3: oklch(0.63 0.221 353.046);
  --chart-4: oklch(0.647 0.211 351.903);
  --chart-5: oklch(0.824 0.194 153.983);
}