1A4D2E is a shadcn/ui theme built around a teal primary color (#4b8b75) with cyan accents (#4b828b). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#4b8b75) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #f7f8f8whitesmoke |
| Card | #ffffffwhite | #030303black |
| Card foreground | #000000black | #f9fafaghostwhite |
| Popover | #fbfefdwhite | #000000black |
| Popover foreground | #000000black | #f7f8f8whitesmoke |
| Primary | #4b8b75seagreen | #4b8b75seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #4b8b55seagreen | #4b8b55seagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d3ded5lightgrey | #212c23darkslategray |
| Muted foreground | #37493adarkslategray | #b6c8b9silver |
| Accent | #4b828bslategray | #4b828bslategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c40808firebrick | #f62828crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e8eeeclavender | #212c28darkslategray |
| Input | #e8eeeclavender | #212c28darkslategray |
| Ring | #4b8b75seagreen | #4b8b75seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 3.99:1 | AA Large |
| Secondary button | 4.08:1 | AA Large |
| Muted text | 6.98:1 | AA |
| Accent | 4.33:1 | AA Large |
| Destructive | 6.20:1 | AA |
| Text on background | 19.73:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 3.99:1 | AA Large |
| Secondary button | 4.08:1 | AA Large |
| Muted text | 8.28:1 | AAA |
| Accent | 4.33:1 | AA Large |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use 1A4D2E in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.89 0.017 149.998);
--muted-foreground: oklch(0.384 0.034 149.015);
--popover: oklch(0.994 0.003 173.481);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.943 0.007 173.353);
--input: oklch(0.943 0.007 173.353);
--primary: oklch(0.588 0.076 168.905);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.58 0.106 147.455);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.571 0.06 210.038);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.517 0.209 28.873);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.588 0.076 168.905);
--chart-1: oklch(0.588 0.076 168.905);
--chart-2: oklch(0.58 0.106 147.455);
--chart-3: oklch(0.571 0.06 210.038);
--chart-4: oklch(0.61 0.112 147.435);
--chart-5: oklch(0.595 0.082 168.446);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.978 0.002 173.516);
--muted: oklch(0.278 0.022 149.147);
--muted-foreground: oklch(0.815 0.029 149.78);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.978 0.002 173.516);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.986 0.001 173.536);
--border: oklch(0.281 0.017 171.624);
--input: oklch(0.281 0.017 171.624);
--primary: oklch(0.588 0.076 168.905);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.58 0.106 147.455);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.571 0.06 210.038);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.625 0.237 27.603);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.588 0.076 168.905);
--chart-1: oklch(0.588 0.076 168.905);
--chart-2: oklch(0.58 0.106 147.455);
--chart-3: oklch(0.571 0.06 210.038);
--chart-4: oklch(0.61 0.112 147.435);
--chart-5: oklch(0.595 0.082 168.446);
}