Carabao is a shadcn/ui theme built around a neutral gray primary color (#646d65) with neutral gray accents (#6d6564). The light mode uses a neutral background (#fbfefb). Dark mode keeps the neutral gray primary (#646d65) on a green-tinted background (#050a06).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #050a06black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #f7fcf8mintcream | #070d08black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fcf8mintcream | #070d08black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #646d65dimgray | #646d65dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #65646ddimgray | #65646ddimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e4e3e8gainsboro | #18171cblack |
| Muted foreground | #403e51darkslategray | #b0aec1silver |
| Accent | #6d6564dimgray | #6d6564dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d32603firebrick | #fb3a13orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #646d65dimgray | #646d65dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.64:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 5.37:1 | AA |
| Secondary button | 5.81:1 | AA |
| Muted text | 8.13:1 | AAA |
| Accent | 5.68:1 | AA |
| Destructive | 5.19:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 5.37:1 | AA |
| Secondary button | 5.81:1 | AA |
| Muted text | 8.18:1 | AAA |
| Accent | 5.68:1 | AA |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use Carabao in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 148.021);
--foreground: oklch(0 0 0);
--muted: oklch(0.919 0.005 290.134);
--muted-foreground: oklch(0.373 0.032 288.586);
--popover: oklch(0.987 0.008 147.977);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.008 147.977);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.524 0.016 147.746);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.508 0.013 289.757);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.514 0.01 23.775);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.559 0.21 31.974);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.524 0.016 147.746);
--chart-1: oklch(0.524 0.016 147.746);
--chart-2: oklch(0.508 0.013 289.757);
--chart-3: oklch(0.514 0.01 23.775);
--chart-4: oklch(0.534 0.014 289.752);
--chart-5: oklch(0.528 0.027 147.508);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.014 147.335);
--foreground: oklch(0.993 0.002 148.042);
--muted: oklch(0.209 0.008 289.514);
--muted-foreground: oklch(0.759 0.026 289.584);
--popover: oklch(0.151 0.016 147.171);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.151 0.016 147.171);
--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.524 0.016 147.746);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.508 0.013 289.757);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.514 0.01 23.775);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.645 0.233 32.48);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.524 0.016 147.746);
--chart-1: oklch(0.524 0.016 147.746);
--chart-2: oklch(0.508 0.013 289.757);
--chart-3: oklch(0.514 0.01 23.775);
--chart-4: oklch(0.534 0.014 289.752);
--chart-5: oklch(0.528 0.027 147.508);
}