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.
Golden Capitalino Cactus is a shadcn/ui theme built around a vivid deep teal primary color (#01924a) with vivid deep green accents (#00930b). The light mode uses a neutral background (#efefef). Dark mode keeps the vivid deep teal primary (#01924a) on a neutral background (#272727).
| Token | Light | Dark |
|---|---|---|
| Background | #efefefwhitesmoke | #272727darkslategray |
| Foreground | #05150dblack | #ffffffwhite |
| Card | #fbfefcwhite | #000000black |
| Card foreground | #05150dblack | #ffffffwhite |
| Popover | #fbfefcwhite | #000000black |
| Popover foreground | #05150dblack | #ffffffwhite |
| Primary | #01924aseagreen | #01924aseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #006c10darkgreen | #00cc4dlimegreen |
| Secondary foreground | #ffffffwhite | #000000black |
| Muted | #e9d3degainsboro | #00331bdarkgreen |
| Muted foreground | #51484ddarkslategray | #b7aeb3darkgray |
| Accent | #00930bgreen | #019207green |
| Accent foreground | #dadadagainsboro | #cccccclightgrey |
| Destructive | #5e1208maroon | #c61700firebrick |
| Destructive foreground | #f7aba1lightpink | #ffffffwhite |
| Border | #eff1f0whitesmoke | #1a1e1cblack |
| Input | #eff1f0whitesmoke | #1a1e1cblack |
| Ring | #01924aseagreen | #01924aseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.31:1 | AAA |
| Text on card | 18.45:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 6.67:1 | AA |
| Muted text | 6.20:1 | AA |
| Accent | 2.89:1 | Fail |
| Destructive | 7.21:1 | AAA |
| Text on background | 14.89:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 9.74:1 | AAA |
| Muted text | 6.52:1 | AA |
| Accent | 2.54:1 | Fail |
| Destructive | 5.95:1 | AA |
Paste this into your globals.css to use Golden Capitalino Cactus in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.952 0 165.964);
--foreground: oklch(0.177 0.029 161.082);
--muted: oklch(0.887 0.029 345.978);
--muted-foreground: oklch(0.412 0.014 346.029);
--popover: oklch(0.994 0.003 165.064);
--popover-foreground: oklch(0.177 0.029 161.082);
--card: oklch(0.994 0.003 165.064);
--card-foreground: oklch(0.177 0.029 161.082);
--border: oklch(0.956 0.003 165.07);
--input: oklch(0.956 0.003 165.07);
--primary: oklch(0.579 0.152 152.055);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.461 0.15 143.806);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.575 0.193 142.919);
--accent-foreground: oklch(0.888 0 187.595);
--destructive: oklch(0.317 0.11 31.057);
--destructive-foreground: oklch(0.812 0.091 27.583);
--ring: oklch(0.579 0.152 152.055);
--chart-1: oklch(0.579 0.152 152.055);
--chart-2: oklch(0.461 0.15 143.806);
--chart-3: oklch(0.575 0.193 142.919);
--chart-4: oklch(0.506 0.166 143.671);
--chart-5: oklch(0.585 0.155 151.784);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.274 0 180);
--foreground: oklch(1 0 180);
--muted: oklch(0.282 0.068 156.511);
--muted-foreground: oklch(0.76 0.012 345.56);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--card-foreground: oklch(1 0 180);
--border: oklch(0.23 0.007 164.327);
--input: oklch(0.23 0.007 164.327);
--primary: oklch(0.579 0.152 152.055);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.736 0.218 147.227);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.573 0.193 142.715);
--accent-foreground: oklch(0.845 0 164.055);
--destructive: oklch(0.526 0.206 30.776);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.579 0.152 152.055);
--chart-1: oklch(0.579 0.152 152.055);
--chart-2: oklch(0.736 0.218 147.227);
--chart-3: oklch(0.573 0.193 142.715);
--chart-4: oklch(0.777 0.23 147.151);
--chart-5: oklch(0.585 0.155 151.784);
}