Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

Arstotzka (rainglow) for shadcn/ui

Arstotzka (rainglow) is a shadcn/ui theme built around a muted light yellow primary color (#eeece7) with neutral gray accents (#5b5252). The light mode uses a neutral background (#332e2e). Dark mode keeps the muted light yellow primary (#eeece7) on a neutral background (#332e2e).

Color palette

TokenLightDark
Background
#332e2edarkslategray
#332e2edarkslategray
Foreground
#eeece7linen
#eeece7linen
Card
#2e2929darkslategray
#2e2929darkslategray
Card foreground
#f9f8f6whitesmoke
#f9f8f6whitesmoke
Popover
#2b2727darkslategray
#2b2727darkslategray
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#eeece7linen
#eeece7linen
Primary foreground
#5f5745darkolivegreen
#5f5745darkolivegreen
Secondary
#44413cdarkslategray
#44413cdarkslategray
Secondary foreground
#dbdad6gainsboro
#dbdad6gainsboro
Muted
#423434darkslategray
#423434darkslategray
Muted foreground
#c2b2b2silver
#c2b2b2silver
Accent
#5b5252dimgray
#5b5252dimgray
Accent foreground
#f0efefwhitesmoke
#f0efefwhitesmoke
Destructive
#eb4742tomato
#eb4742tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#3d3d3ddarkslategray
#3d3d3ddarkslategray
Input
#454545darkslategray
#454545darkslategray
Ring
#eeece7linen
#eeece7linen

Contrast

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

Light mode
Text on background11.32:1AAA
Text on card13.49:1AAA
Primary button6.05:1AA
Secondary button7.24:1AAA
Muted text5.84:1AA
Accent6.56:1AA
Destructive3.79:1AA Large
Dark mode
Text on background11.32:1AAA
Text on card13.49:1AAA
Primary button6.05:1AA
Secondary button7.24:1AAA
Muted text5.84:1AA
Accent6.56:1AA
Destructive3.79:1AA Large

CSS variables

Paste this into your globals.css to use Arstotzka (rainglow) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.306 0.007 17.542);
  --foreground: oklch(0.943 0.007 88.836);
  --muted: oklch(0.339 0.02 18.202);
  --muted-foreground: oklch(0.777 0.019 17.568);
  --popover: oklch(0.276 0.006 17.526);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.286 0.006 17.532);
  --card-foreground: oklch(0.979 0.002 88.807);
  --border: oklch(0.361 0 180);
  --input: oklch(0.39 0 165.964);
  --primary: oklch(0.943 0.007 88.836);
  --primary-foreground: oklch(0.459 0.03 89.012);
  --secondary: oklch(0.377 0.01 88.934);
  --secondary-foreground: oklch(0.888 0.005 88.825);
  --accent: oklch(0.448 0.011 17.587);
  --accent-foreground: oklch(0.953 0.002 17.187);
  --destructive: oklch(0.633 0.201 26.649);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.943 0.007 88.836);
  --chart-1: oklch(0.943 0.007 88.836);
  --chart-2: oklch(0.377 0.01 88.934);
  --chart-3: oklch(0.448 0.011 17.587);
  --chart-4: oklch(0.407 0.011 88.936);
  --chart-5: oklch(0.944 0.008 88.843);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.306 0.007 17.542);
  --foreground: oklch(0.943 0.007 88.836);
  --muted: oklch(0.339 0.02 18.202);
  --muted-foreground: oklch(0.777 0.019 17.568);
  --popover: oklch(0.276 0.006 17.526);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.286 0.006 17.532);
  --card-foreground: oklch(0.979 0.002 88.807);
  --border: oklch(0.361 0 180);
  --input: oklch(0.39 0 165.964);
  --primary: oklch(0.943 0.007 88.836);
  --primary-foreground: oklch(0.459 0.03 89.012);
  --secondary: oklch(0.377 0.01 88.934);
  --secondary-foreground: oklch(0.888 0.005 88.825);
  --accent: oklch(0.448 0.011 17.587);
  --accent-foreground: oklch(0.953 0.002 17.187);
  --destructive: oklch(0.633 0.201 26.649);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.943 0.007 88.836);
  --chart-1: oklch(0.943 0.007 88.836);
  --chart-2: oklch(0.377 0.01 88.934);
  --chart-3: oklch(0.448 0.011 17.587);
  --chart-4: oklch(0.407 0.011 88.936);
  --chart-5: oklch(0.944 0.008 88.843);
}