Plough is a shadcn/ui theme built around a vivid green primary color (#83fb9b) with vivid teal accents (#83fbd7). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the vivid green primary (#83fb9b) on a green-tinted background (#050f07).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf9mintcream | #050f07black |
| Foreground | #051007black | #ffffffwhite |
| Card | #f4faf5whitesmoke | #061309black |
| Card foreground | #040c05black | #ffffffwhite |
| Popover | #f4faf5whitesmoke | #061309black |
| Popover foreground | #040c05black | #ffffffwhite |
| Primary | #83fb9bpalegreen | #83fb9bpalegreen |
| Primary foreground | #024a11darkgreen | #024a11darkgreen |
| Secondary | #a7fb83palegreen | #a7fb83palegreen |
| Secondary foreground | #184a02darkgreen | #184a02darkgreen |
| Muted | #d4e5cdlightgrey | #22321adarkslategray |
| Muted foreground | #5a6057dimgray | #a1a89fdarkgray |
| Accent | #83fbd7aquamarine | #83fbd7aquamarine |
| Accent foreground | #024a35darkslategray | #024a35darkslategray |
| Destructive | #731207maroon | #d8220efirebrick |
| Destructive foreground | #fab9b2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #83fb9bpalegreen | #83fb9bpalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 8.17:1 | AAA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 4.88:1 | AA |
| Accent | 8.24:1 | AAA |
| Destructive | 6.94:1 | AA |
| Text on background | 19.44:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 8.17:1 | AAA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 5.59:1 | AA |
| Accent | 8.24:1 | AAA |
| Destructive | 5.06:1 | AA |
Paste this into your globals.css to use Plough in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 151.911);
--foreground: oklch(0.156 0.025 150.553);
--muted: oklch(0.902 0.036 136.173);
--muted-foreground: oklch(0.482 0.016 136.149);
--popover: oklch(0.98 0.009 151.863);
--popover-foreground: oklch(0.14 0.022 151.128);
--card: oklch(0.98 0.009 151.863);
--card-foreground: oklch(0.14 0.022 151.128);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.895 0.171 148.57);
--primary-foreground: oklch(0.357 0.11 145.179);
--secondary: oklch(0.908 0.174 137.013);
--secondary-foreground: oklch(0.361 0.111 138.867);
--accent: oklch(0.909 0.121 171.707);
--accent-foreground: oklch(0.364 0.075 165.664);
--destructive: oklch(0.36 0.132 30.576);
--destructive-foreground: oklch(0.845 0.076 25.977);
--ring: oklch(0.895 0.171 148.57);
--chart-1: oklch(0.895 0.171 148.57);
--chart-2: oklch(0.908 0.174 137.013);
--chart-3: oklch(0.909 0.121 171.707);
--chart-4: oklch(0.918 0.155 136.833);
--chart-5: oklch(0.899 0.175 148.467);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.156 0.024 150.608);
--foreground: oklch(1 0 180);
--muted: oklch(0.296 0.047 136.753);
--muted-foreground: oklch(0.723 0.015 136.097);
--popover: oklch(0.171 0.028 149.863);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.171 0.028 149.863);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.895 0.171 148.57);
--primary-foreground: oklch(0.357 0.11 145.179);
--secondary: oklch(0.908 0.174 137.013);
--secondary-foreground: oklch(0.361 0.111 138.867);
--accent: oklch(0.909 0.121 171.707);
--accent-foreground: oklch(0.364 0.075 165.664);
--destructive: oklch(0.565 0.216 30.475);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.895 0.171 148.57);
--chart-1: oklch(0.895 0.171 148.57);
--chart-2: oklch(0.908 0.174 137.013);
--chart-3: oklch(0.909 0.121 171.707);
--chart-4: oklch(0.918 0.155 136.833);
--chart-5: oklch(0.899 0.175 148.467);
}