Agency is a shadcn/ui theme built around a muted yellow primary color (#8c8369) with muted blue accents (#69728c). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted yellow primary (#8c8369) on a yellow-tinted background (#0b0a04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0a04black |
| Foreground | #080702black | #f9f8f6whitesmoke |
| Card | #ffffffwhite | #0b0a04black |
| Card foreground | #080702black | #f9f8f6whitesmoke |
| Popover | #ffffffwhite | #0b0a04black |
| Popover foreground | #080702black | #f9f8f6whitesmoke |
| Primary | #8c8369gray | #8c8369gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #69728cslategray | #69728cslategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e7eaf3lavender | #0c0f18black |
| Muted foreground | #444a5adarkslategray | #a5aabbdarkgray |
| Accent | #69728cslategray | #69728cslategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a0260efirebrick | #ee5c3ftomato |
| Destructive foreground | #fde7e3mistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8c8369gray | #8c8369gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.16:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 5.55:1 | AA |
| Secondary button | 4.79:1 | AA |
| Muted text | 7.37:1 | AAA |
| Accent | 4.79:1 | AA |
| Destructive | 6.39:1 | AA |
| Text on background | 18.69:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 5.55:1 | AA |
| Secondary button | 4.79:1 | AA |
| Muted text | 8.26:1 | AAA |
| Accent | 4.79:1 | AA |
| Destructive | 6.24:1 | AA |
Paste this into your globals.css to use Agency in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.126 0.017 96.751);
--muted: oklch(0.938 0.012 271.288);
--muted-foreground: oklch(0.409 0.029 270.62);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.126 0.017 96.751);
--card: oklch(1 0 180);
--card-foreground: oklch(0.126 0.017 96.751);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.61 0.039 91.796);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.554 0.041 270.565);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.554 0.041 270.565);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.464 0.161 32.825);
--destructive-foreground: oklch(0.944 0.024 31.11);
--ring: oklch(0.61 0.039 91.796);
--chart-1: oklch(0.61 0.039 91.796);
--chart-2: oklch(0.554 0.041 270.565);
--chart-3: oklch(0.554 0.041 270.565);
--chart-4: oklch(0.579 0.042 270.6);
--chart-5: oklch(0.617 0.046 91.815);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.015 95.493);
--foreground: oklch(0.979 0.003 91.434);
--muted: oklch(0.17 0.019 270.085);
--muted-foreground: oklch(0.74 0.025 271.07);
--popover: oklch(0.142 0.015 95.493);
--popover-foreground: oklch(0.979 0.003 91.434);
--card: oklch(0.142 0.015 95.493);
--card-foreground: oklch(0.979 0.003 91.434);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.61 0.039 91.796);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.554 0.041 270.565);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.554 0.041 270.565);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.661 0.186 33.177);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.61 0.039 91.796);
--chart-1: oklch(0.61 0.039 91.796);
--chart-2: oklch(0.554 0.041 270.565);
--chart-3: oklch(0.554 0.041 270.565);
--chart-4: oklch(0.579 0.042 270.6);
--chart-5: oklch(0.617 0.046 91.815);
}