Generate feedback colors (success, warning, error, and info) for shadcn/ui
Go to generatorUsed by 4k+ developers. Want me to build your product next? Let's work together.
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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.11:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 7.11:1 | AAA |
| Muted text | 6.38:1 | AA |
| Accent | 7.11:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 19.01:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 7.11:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 7.11:1 | AAA |
| Destructive | 4.36:1 | AA Large |
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);
}