Knarloc Green Halibut is a shadcn/ui theme built around a muted green primary color (#455a3f) with muted light green accents (#c2d6bd). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the muted green primary (#455a3f) on a neutral background (#020402).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #020402black |
| Foreground | #020401black | #f7f8f6whitesmoke |
| Card | #f8fdf7mintcream | #020402black |
| Card foreground | #020401black | #f7f8f6whitesmoke |
| Popover | #f8fdf7mintcream | #020402black |
| Popover foreground | #020401black | #f7f8f6whitesmoke |
| Primary | #455a3fdarkolivegreen | #455a3fdarkolivegreen |
| Primary foreground | #e3eae1gainsboro | #e3eae1gainsboro |
| Secondary | #d5dfd3gainsboro | #252824darkslategray |
| Secondary foreground | #3a4a36darkslategray | #bdc2bcsilver |
| Muted | #f0f6efwhitesmoke | #0b1009black |
| Muted foreground | #656765dimgray | #989a98darkgray |
| Accent | #c2d6bdsilver | #343e32darkslategray |
| Accent foreground | #293c25darkslategray | #ced6cclightgrey |
| Destructive | #821808maroon | #f34e35tomato |
| Destructive foreground | #fbc8c0pink | #ffffffwhite |
| Border | #ecefebwhitesmoke | #1f251dblack |
| Input | #ecefebwhitesmoke | #1f251dblack |
| Ring | #455a3fdarkolivegreen | #455a3fdarkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.94:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 6.91:1 | AA |
| Muted text | 5.18:1 | AA |
| Accent | 7.73:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 19.35:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 6.77:1 | AA |
| Accent | 7.47:1 | AAA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Knarloc Green Halibut in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.009 139.442);
--foreground: oklch(0.099 0.019 137.571);
--muted: oklch(0.966 0.011 139.441);
--muted-foreground: oklch(0.512 0.004 139.442);
--popover: oklch(0.988 0.009 139.442);
--popover-foreground: oklch(0.099 0.019 137.571);
--card: oklch(0.988 0.009 139.442);
--card-foreground: oklch(0.099 0.019 137.571);
--border: oklch(0.949 0.007 139.442);
--input: oklch(0.949 0.007 139.442);
--primary: oklch(0.441 0.049 139.441);
--primary-foreground: oklch(0.929 0.014 139.44);
--secondary: oklch(0.892 0.02 139.439);
--secondary-foreground: oklch(0.388 0.04 139.438);
--accent: oklch(0.855 0.041 139.434);
--accent-foreground: oklch(0.333 0.046 139.461);
--destructive: oklch(0.395 0.143 31.577);
--destructive-foreground: oklch(0.876 0.06 28.435);
--ring: oklch(0.441 0.049 139.441);
--chart-1: oklch(0.441 0.049 139.441);
--chart-2: oklch(0.892 0.02 139.439);
--chart-3: oklch(0.855 0.041 139.434);
--chart-4: oklch(0.914 0.016 139.44);
--chart-5: oklch(0.445 0.057 139.452);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.012 138.235);
--foreground: oklch(0.978 0.003 139.443);
--muted: oklch(0.165 0.017 139.394);
--muted-foreground: oklch(0.684 0.003 139.443);
--popover: oklch(0.096 0.012 138.235);
--popover-foreground: oklch(0.978 0.003 139.443);
--card: oklch(0.096 0.012 138.235);
--card-foreground: oklch(0.978 0.003 139.443);
--border: oklch(0.256 0.017 139.432);
--input: oklch(0.256 0.017 139.432);
--primary: oklch(0.441 0.049 139.441);
--primary-foreground: oklch(0.929 0.014 139.44);
--secondary: oklch(0.273 0.008 139.437);
--secondary-foreground: oklch(0.81 0.01 139.441);
--accent: oklch(0.352 0.025 139.432);
--accent-foreground: oklch(0.867 0.016 139.439);
--destructive: oklch(0.652 0.206 31.565);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.441 0.049 139.441);
--chart-1: oklch(0.441 0.049 139.441);
--chart-2: oklch(0.273 0.008 139.437);
--chart-3: oklch(0.352 0.025 139.432);
--chart-4: oklch(0.305 0.01 139.436);
--chart-5: oklch(0.445 0.057 139.452);
}