Golden Nectar Scorpion is a shadcn/ui theme built around a vivid yellow primary color (#ffd966) with neutral gray accents (#544e56). The light mode uses a neutral background (#2c292e). Dark mode keeps the vivid yellow primary (#ffd966) on a neutral background (#2c292e).
| Token | Light | Dark |
|---|---|---|
| Background | #2c292edarkslategray | #2c292edarkslategray |
| Foreground | #fbfbf9snow | #fbfbf9snow |
| Card | #272428darkslategray | #272428darkslategray |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #252225darkslategray | #252225darkslategray |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #ffd966khaki | #ffd966khaki |
| Primary foreground | #332600black | #332600black |
| Secondary | #53492ddarkolivegreen | #53492ddarkolivegreen |
| Secondary foreground | #e4decdgainsboro | #e4decdgainsboro |
| Muted | #392f3cdarkslategray | #392f3cdarkslategray |
| Muted foreground | #b9acbesilver | #b9acbesilver |
| Accent | #544e56darkslategray | #544e56darkslategray |
| Accent foreground | #ebeaeclavender | #ebeaeclavender |
| Destructive | #f12b04orangered | #f12b04orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #383838darkslategray | #383838darkslategray |
| Input | #404040darkslategray | #404040darkslategray |
| Ring | #ffd966khaki | #ffd966khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.81:1 | AAA |
| Text on card | 15.27:1 | AAA |
| Primary button | 10.82:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 5.89:1 | AA |
| Accent | 6.77:1 | AA |
| Destructive | 4.12:1 | AA Large |
| Text on background | 13.81:1 | AAA |
| Text on card | 15.27:1 | AAA |
| Primary button | 10.82:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 5.89:1 | AA |
| Accent | 6.77:1 | AA |
| Destructive | 4.12:1 | AA Large |
Paste this into your globals.css to use Golden Nectar Scorpion in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.287 0.009 317.712);
--foreground: oklch(0.988 0.003 106.461);
--muted: oklch(0.321 0.026 317.629);
--muted-foreground: oklch(0.762 0.029 317.701);
--popover: oklch(0.256 0.008 317.714);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.266 0.008 317.713);
--card-foreground: oklch(1 0 180);
--border: oklch(0.341 0 158.199);
--input: oklch(0.371 0 168.69);
--primary: oklch(0.895 0.139 90.92);
--primary-foreground: oklch(0.277 0.057 89.559);
--secondary: oklch(0.408 0.046 91.7);
--secondary-foreground: oklch(0.902 0.024 91.62);
--accent: oklch(0.431 0.015 317.705);
--accent-foreground: oklch(0.938 0.003 317.758);
--destructive: oklch(0.617 0.233 31.827);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.895 0.139 90.92);
--chart-1: oklch(0.895 0.139 90.92);
--chart-2: oklch(0.408 0.046 91.7);
--chart-3: oklch(0.431 0.015 317.705);
--chart-4: oklch(0.441 0.05 91.686);
--chart-5: oklch(0.9 0.142 90.829);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.287 0.009 317.712);
--foreground: oklch(0.988 0.003 106.461);
--muted: oklch(0.321 0.026 317.629);
--muted-foreground: oklch(0.762 0.029 317.701);
--popover: oklch(0.256 0.008 317.714);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.266 0.008 317.713);
--card-foreground: oklch(1 0 180);
--border: oklch(0.341 0 158.199);
--input: oklch(0.371 0 168.69);
--primary: oklch(0.895 0.139 90.92);
--primary-foreground: oklch(0.277 0.057 89.559);
--secondary: oklch(0.408 0.046 91.7);
--secondary-foreground: oklch(0.902 0.024 91.62);
--accent: oklch(0.431 0.015 317.705);
--accent-foreground: oklch(0.938 0.003 317.758);
--destructive: oklch(0.617 0.233 31.827);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.895 0.139 90.92);
--chart-1: oklch(0.895 0.139 90.92);
--chart-2: oklch(0.408 0.046 91.7);
--chart-3: oklch(0.431 0.015 317.705);
--chart-4: oklch(0.441 0.05 91.686);
--chart-5: oklch(0.9 0.142 90.829);
}