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

Go to generator

10000+Themes for shadcn/ui

Outback for shadcn/ui

Outback is a shadcn/ui theme built around a vivid light green primary color (#aff89b) with vivid light purple accents (#e49bf8). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#aff89b) on a green-tinted background (#071005).

Color palette

TokenLightDark
Background
#ffffffwhite
#071005black
Foreground
#030902black
#fcfdfcwhite
Card
#ffffffwhite
#071005black
Card foreground
#030902black
#fcfdfcwhite
Popover
#ffffffwhite
#071005black
Popover foreground
#030902black
#fcfdfcwhite
Primary
#aff89bpalegreen
#aff89bpalegreen
Primary foreground
#195b06darkgreen
#195b06darkgreen
Secondary
#e49bf8plum
#e49bf8plum
Secondary foreground
#48065bindigo
#48065bindigo
Muted
#e3d5e6gainsboro
#26192ablack
Muted foreground
#504653darkslategray
#b6acb9darkgray
Accent
#e49bf8plum
#e49bf8plum
Accent foreground
#48065bindigo
#48065bindigo
Destructive
#99110fdarkred
#e92825crimson
Destructive foreground
#fcdfdfmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#aff89bpalegreen
#aff89bpalegreen

Contrast

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

Light mode
Text on background20.11:1AAA
Text on card20.11:1AAA
Primary button6.58:1AA
Secondary button7.11:1AAA
Muted text6.38:1AA
Accent7.11:1AAA
Destructive6.84:1AA
Dark mode
Text on background19.01:1AAA
Text on card19.01:1AAA
Primary button6.58:1AA
Secondary button7.11:1AAA
Muted text7.66:1AAA
Accent7.11:1AAA
Destructive4.36:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.126 0.026 136.819);
  --muted: oklch(0.89 0.027 318.88);
  --muted-foreground: oklch(0.41 0.024 318.869);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.126 0.026 136.819);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.126 0.026 136.819);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.909 0.143 139.043);
  --primary-foreground: oklch(0.412 0.129 140.402);
  --secondary: oklch(0.793 0.149 318.764);
  --secondary-foreground: oklch(0.302 0.139 316.963);
  --accent: oklch(0.793 0.149 318.764);
  --accent-foreground: oklch(0.302 0.139 316.963);
  --destructive: oklch(0.437 0.168 28.403);
  --destructive-foreground: oklch(0.927 0.032 18.906);
  --ring: oklch(0.909 0.143 139.043);
  --chart-1: oklch(0.909 0.143 139.043);
  --chart-2: oklch(0.793 0.149 318.764);
  --chart-3: oklch(0.793 0.149 318.764);
  --chart-4: oklch(0.821 0.128 318.804);
  --chart-5: oklch(0.912 0.147 139.053);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.028 137.767);
  --foreground: oklch(0.993 0.002 138.891);
  --muted: oklch(0.237 0.038 318.8);
  --muted-foreground: oklch(0.757 0.02 318.881);
  --popover: oklch(0.158 0.028 137.767);
  --popover-foreground: oklch(0.993 0.002 138.891);
  --card: oklch(0.158 0.028 137.767);
  --card-foreground: oklch(0.993 0.002 138.891);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.909 0.143 139.043);
  --primary-foreground: oklch(0.412 0.129 140.402);
  --secondary: oklch(0.793 0.149 318.764);
  --secondary-foreground: oklch(0.302 0.139 316.963);
  --accent: oklch(0.793 0.149 318.764);
  --accent-foreground: oklch(0.302 0.139 316.963);
  --destructive: oklch(0.603 0.226 27.984);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.909 0.143 139.043);
  --chart-1: oklch(0.909 0.143 139.043);
  --chart-2: oklch(0.793 0.149 318.764);
  --chart-3: oklch(0.793 0.149 318.764);
  --chart-4: oklch(0.821 0.128 318.804);
  --chart-5: oklch(0.912 0.147 139.053);
}