Royal Shrub Green is a shadcn/ui theme built around a vivid deep teal primary color (#063735) with vivid deep red accents (#370608). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid deep teal primary (#063735) on a teal-tinted background (#040b0b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #040b0bblack |
| Foreground | #030c0cblack | #ffffffwhite |
| Card | #fbfefewhite | #040b0bblack |
| Card foreground | #030c0cblack | #ffffffwhite |
| Popover | #fbfefewhite | #040b0bblack |
| Popover foreground | #030c0cblack | #ffffffwhite |
| Primary | #063735darkslategray | #063735darkslategray |
| Primary foreground | #24e5dfturquoise | #24e5dfturquoise |
| Secondary | #370608black | #370608black |
| Secondary foreground | #f07f83lightcoral | #f07f83lightcoral |
| Muted | #f7edeelinen | #120808black |
| Muted foreground | #504444darkslategray | #bbafb0darkgray |
| Accent | #370608black | #370608black |
| Accent foreground | #f07f83lightcoral | #f07f83lightcoral |
| Destructive | #a52112firebrick | #e94735tomato |
| Destructive foreground | #fdeeedseashell | #ffffffwhite |
| Border | #eef1f1whitesmoke | #171c1cblack |
| Input | #eef1f1whitesmoke | #171c1cblack |
| Ring | #063735darkslategray | #063735darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 6.76:1 | AA |
| Muted text | 8.15:1 | AAA |
| Accent | 6.76:1 | AA |
| Destructive | 6.57:1 | AA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 6.76:1 | AA |
| Muted text | 9.28:1 | AAA |
| Accent | 6.76:1 | AA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Royal Shrub Green in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 194.744);
--foreground: oklch(0.144 0.017 193.223);
--muted: oklch(0.955 0.01 14.996);
--muted-foreground: oklch(0.399 0.016 15.568);
--popover: oklch(0.994 0.002 194.744);
--popover-foreground: oklch(0.144 0.017 193.223);
--card: oklch(0.994 0.002 194.744);
--card-foreground: oklch(0.144 0.017 193.223);
--border: oklch(0.956 0.003 194.726);
--input: oklch(0.956 0.003 194.726);
--primary: oklch(0.305 0.049 191.498);
--primary-foreground: oklch(0.836 0.139 191.113);
--secondary: oklch(0.222 0.076 24.09);
--secondary-foreground: oklch(0.724 0.139 19.018);
--accent: oklch(0.222 0.076 24.09);
--accent-foreground: oklch(0.724 0.139 19.018);
--destructive: oklch(0.471 0.17 30.489);
--destructive-foreground: oklch(0.961 0.016 25.133);
--ring: oklch(0.305 0.049 191.498);
--chart-1: oklch(0.305 0.049 191.498);
--chart-2: oklch(0.222 0.076 24.09);
--chart-3: oklch(0.222 0.076 24.09);
--chart-4: oklch(0.254 0.09 24.905);
--chart-5: oklch(0.308 0.05 191.43);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.014 193.5);
--foreground: oklch(1 0 180);
--muted: oklch(0.149 0.018 16.982);
--muted-foreground: oklch(0.764 0.014 15.125);
--popover: oklch(0.142 0.014 193.5);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.142 0.014 193.5);
--card-foreground: oklch(1 0 180);
--border: oklch(0.221 0.008 194.154);
--input: oklch(0.221 0.008 194.154);
--primary: oklch(0.305 0.049 191.498);
--primary-foreground: oklch(0.836 0.139 191.113);
--secondary: oklch(0.222 0.076 24.09);
--secondary-foreground: oklch(0.724 0.139 19.018);
--accent: oklch(0.222 0.076 24.09);
--accent-foreground: oklch(0.724 0.139 19.018);
--destructive: oklch(0.627 0.201 29.996);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.305 0.049 191.498);
--chart-1: oklch(0.305 0.049 191.498);
--chart-2: oklch(0.222 0.076 24.09);
--chart-3: oklch(0.222 0.076 24.09);
--chart-4: oklch(0.254 0.09 24.905);
--chart-5: oklch(0.308 0.05 191.43);
}