Appalling Hyperpop Green for shadcn/ui

Appalling Hyperpop Green 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 switches to a vivid teal primary (#4ff7a9) on an indigo-tinted background (#2f2f4c).

Color palette

TokenLightDark
Background
#282a39darkslategray
#2f2f4cdarkslategray
Foreground
#e9f1f0whitesmoke
#e9f1f0whitesmoke
Card
#242533darkslategray
#222137darkslategray
Card foreground
#f9fbfbghostwhite
#f9fbfbghostwhite
Popover
#212330darkslategray
#222137darkslategray
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#ffd86bkhaki
#4ff7a9turquoise
Primary foreground
#382900black
#00332cdarkslategray
Secondary
#53492ddarkolivegreen
#267e53seagreen
Secondary foreground
#e4decdgainsboro
#e4decdgainsboro
Muted
#343542darkslategray
#7b7d93slategray
Muted foreground
#b2b4c2silver
#b2b4c2silver
Accent
#474b66darkslategray
#474b66darkslategray
Accent foreground
#edeef2whitesmoke
#edeef2whitesmoke
Destructive
#f4502ftomato
#f4502ftomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#383942darkslategray
#373843darkslategray
Input
#3f414adarkslategray
#3e3e6cdarkslateblue
Ring
#ffd86bkhaki
#4ff7a9turquoise

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 background11.21:1AAA
Text on card15.08:1AAA
Primary button10.07:1AAA
Secondary button3.72:1AA Large
Muted text1.95:1Fail
Accent7.34:1AAA
Destructive3.48:1AA Large

CSS variables

Paste this into your globals.css to use Appalling Hyperpop Green 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.319 0.051 283.108);
  --foreground: oklch(0.953 0.009 188.68);
  --muted: oklch(0.596 0.033 279.406);
  --muted-foreground: oklch(0.772 0.021 279.898);
  --popover: oklch(0.26 0.041 285.258);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.26 0.041 285.258);
  --card-foreground: oklch(0.987 0.003 188.847);
  --border: oklch(0.344 0.019 279.432);
  --input: oklch(0.386 0.077 282.183);
  --primary: oklch(0.871 0.176 158.745);
  --primary-foreground: oklch(0.288 0.052 181.1);
  --secondary: oklch(0.53 0.107 157.798);
  --secondary-foreground: oklch(0.901 0.024 90.298);
  --accent: oklch(0.42 0.045 277.732);
  --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.871 0.176 158.745);
  --chart-1: oklch(0.871 0.176 158.745);
  --chart-2: oklch(0.53 0.107 157.798);
  --chart-3: oklch(0.42 0.045 277.732);
  --chart-4: oklch(0.565 0.115 157.704);
  --chart-5: oklch(0.878 0.181 158.489);
}