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.
Lambkin is a shadcn/ui theme built around a muted yellow primary color (#767151) with muted blue accents (#515676). The light mode uses a neutral background (#fefefb). Dark mode keeps the muted yellow primary (#767151) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #030302black |
| Foreground | #040401black | #fcfbf8snow |
| Card | #fefefbwhite | #030302black |
| Card foreground | #040401black | #fcfbf8snow |
| Popover | #fefefbwhite | #030302black |
| Popover foreground | #040401black | #fcfbf8snow |
| Primary | #767151dimgray | #767151dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #515676dimgray | #515676dimgray |
| Secondary foreground | #fcfcfdwhite | #fcfcfdwhite |
| Muted | #e8e9f3lavender | #0c0e17black |
| Muted foreground | #505362dimgray | #9d9fafdarkgray |
| Accent | #515676dimgray | #515676dimgray |
| Accent foreground | #fcfcfdwhite | #fcfcfdwhite |
| Destructive | #8a1b0adarkred | #f15941tomato |
| Destructive foreground | #fbd1cbpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #767151dimgray | #767151dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.25:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 4.91:1 | AA |
| Secondary button | 6.99:1 | AA |
| Muted text | 6.30:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 6.74:1 | AA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 4.91:1 | AA |
| Secondary button | 6.99:1 | AA |
| Muted text | 7.34:1 | AAA |
| Accent | 6.99:1 | AA |
| Destructive | 6.22:1 | AA |
Paste this into your globals.css to use Lambkin in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 99.391);
--foreground: oklch(0.103 0.015 103.245);
--muted: oklch(0.936 0.013 279.129);
--muted-foreground: oklch(0.445 0.025 278.412);
--popover: oklch(0.995 0.003 99.391);
--popover-foreground: oklch(0.103 0.015 103.245);
--card: oklch(0.995 0.003 99.391);
--card-foreground: oklch(0.103 0.015 103.245);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.545 0.048 100.42);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.461 0.054 277.311);
--secondary-foreground: oklch(0.991 0.001 279.324);
--accent: oklch(0.461 0.054 277.311);
--accent-foreground: oklch(0.991 0.001 279.324);
--destructive: oklch(0.413 0.148 31.582);
--destructive-foreground: oklch(0.895 0.048 28.303);
--ring: oklch(0.545 0.048 100.42);
--chart-1: oklch(0.545 0.048 100.42);
--chart-2: oklch(0.461 0.054 277.311);
--chart-3: oklch(0.461 0.054 277.311);
--chart-4: oklch(0.485 0.057 277.289);
--chart-5: oklch(0.553 0.055 100.512);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.008 101.594);
--foreground: oklch(0.989 0.005 99.409);
--muted: oklch(0.166 0.02 277.203);
--muted-foreground: oklch(0.706 0.023 278.84);
--popover: oklch(0.098 0.008 101.594);
--popover-foreground: oklch(0.989 0.005 99.409);
--card: oklch(0.098 0.008 101.594);
--card-foreground: oklch(0.989 0.005 99.409);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.545 0.048 100.42);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.461 0.054 277.311);
--secondary-foreground: oklch(0.991 0.001 279.324);
--accent: oklch(0.461 0.054 277.311);
--accent-foreground: oklch(0.991 0.001 279.324);
--destructive: oklch(0.661 0.191 31.32);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.545 0.048 100.42);
--chart-1: oklch(0.545 0.048 100.42);
--chart-2: oklch(0.461 0.054 277.311);
--chart-3: oklch(0.461 0.054 277.311);
--chart-4: oklch(0.485 0.057 277.289);
--chart-5: oklch(0.553 0.055 100.512);
}