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.
hess sens is a shadcn/ui theme built around an orange primary color (#c77036) with orange accents (#8b5725). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#c87137) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #110904black | #fdfcfcsnow |
| Card | #ffffffwhite | #000000black |
| Card foreground | #110904black | #fdfcfcsnow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #110904black | #fdfcfcsnow |
| Primary | #c77036peru | #c87137peru |
| Primary foreground | #ffffffwhite | #000000black |
| Secondary | #ebd8c4wheat | #c83745crimson |
| Secondary foreground | #c77036peru | #ffffffwhite |
| Muted | #f0e2d5antiquewhite | #2c2122darkslategray |
| Muted foreground | #818181gray | #baa1a4darkgray |
| Accent | #8b5725sienna | #c8ba37goldenrod |
| Accent foreground | #ffffffwhite | #28250bblack |
| Destructive | #c82828firebrick | #f0310forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #debfa2tan | #282625darkslategray |
| Input | #ffffffwhite | #282625darkslategray |
| Ring | #9f592bsienna | #c87137peru |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 3.62:1 | AA Large |
| Secondary button | 2.61:1 | Fail |
| Muted text | 3.06:1 | AA Large |
| Accent | 6.02:1 | AA |
| Destructive | 5.54:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 5.87:1 | AA |
| Secondary button | 5.13:1 | AA |
| Muted text | 6.49:1 | AA |
| Accent | 7.72:1 | AAA |
| Destructive | 4.08:1 | AA Large |
Paste this into your globals.css to use hess sens in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.148 0.019 62.015);
--muted: oklch(0.92 0.023 65.449);
--muted-foreground: oklch(0.604 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.148 0.019 62.015);
--card: oklch(1 0 180);
--card-foreground: oklch(0.148 0.019 62.015);
--border: oklch(0.824 0.053 65.087);
--input: oklch(1 0 180);
--primary: oklch(0.633 0.131 51.653);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.892 0.034 68.804);
--secondary-foreground: oklch(0.633 0.131 51.653);
--accent: oklch(0.505 0.094 61.5);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.542 0.196 26.771);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.537 0.11 51.489);
--chart-1: oklch(0.633 0.131 51.653);
--chart-2: oklch(0.892 0.034 68.804);
--chart-3: oklch(0.505 0.094 61.5);
--chart-4: oklch(0.913 0.027 68.907);
--chart-5: oklch(0.636 0.137 51.203);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 56.427);
--muted: oklch(0.26 0.018 11.65);
--muted-foreground: oklch(0.732 0.029 10.979);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 56.427);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 56.427);
--border: oklch(0.27 0.004 56.253);
--input: oklch(0.27 0.004 56.253);
--primary: oklch(0.636 0.131 51.692);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.559 0.181 20.023);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.777 0.145 102.819);
--accent-foreground: oklch(0.261 0.042 102.998);
--destructive: oklch(0.618 0.228 31.834);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.636 0.131 51.692);
--chart-1: oklch(0.636 0.131 51.692);
--chart-2: oklch(0.559 0.181 20.023);
--chart-3: oklch(0.777 0.145 102.819);
--chart-4: oklch(0.579 0.172 18.694);
--chart-5: oklch(0.639 0.137 51.243);
}