Honorable is a shadcn/ui theme built around a muted light green primary color (#e2eadc) with muted light green accents (#dceadc). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#e2eadc) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020401black |
| Foreground | #070c03black | #f7faf5whitesmoke |
| Card | #ffffffwhite | #020401black |
| Card foreground | #070c03black | #f7faf5whitesmoke |
| Popover | #ffffffwhite | #020401black |
| Popover foreground | #070c03black | #f7faf5whitesmoke |
| Primary | #e2eadcgainsboro | #e2eadcgainsboro |
| Primary foreground | #171d11black | #171d11black |
| Secondary | #eaeadcbeige | #eaeadcbeige |
| Secondary foreground | #1d1d11black | #1d1d11black |
| Muted | #e8e8e3gainsboro | #1c1c17black |
| Muted foreground | #60605cdimgray | #a2a39fdarkgray |
| Accent | #dceadcgainsboro | #dceadcgainsboro |
| Accent foreground | #375d38darkslategray | #375d38darkslategray |
| Destructive | #b03f03saddlebrown | #f15704orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e2eadcgainsboro | #e2eadcgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.75:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 13.99:1 | AAA |
| Secondary button | 14.00:1 | AAA |
| Muted text | 5.12:1 | AA |
| Accent | 6.05:1 | AA |
| Destructive | 5.89:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 13.99:1 | AAA |
| Secondary button | 14.00:1 | AAA |
| Muted text | 6.75:1 | AA |
| Accent | 6.05:1 | AA |
| Destructive | 3.44:1 | AA Large |
Paste this into your globals.css to use Honorable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.145 0.023 128.732);
--muted: oklch(0.929 0.006 108.061);
--muted-foreground: oklch(0.489 0.006 108.161);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.145 0.023 128.732);
--card: oklch(1 0 180);
--card-foreground: oklch(0.145 0.023 128.732);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.928 0.021 130.014);
--primary-foreground: oklch(0.22 0.024 130.982);
--secondary: oklch(0.933 0.019 108.318);
--secondary-foreground: oklch(0.226 0.022 109.624);
--accent: oklch(0.923 0.024 146.308);
--accent-foreground: oklch(0.44 0.074 144.911);
--destructive: oklch(0.521 0.158 41.241);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.928 0.021 130.014);
--chart-1: oklch(0.928 0.021 130.014);
--chart-2: oklch(0.933 0.019 108.318);
--chart-3: oklch(0.923 0.024 146.308);
--chart-4: oklch(0.952 0.014 108.21);
--chart-5: oklch(0.929 0.024 130.04);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.015 128.555);
--foreground: oklch(0.981 0.007 129.859);
--muted: oklch(0.224 0.009 108.638);
--muted-foreground: oklch(0.713 0.005 108.078);
--popover: oklch(0.1 0.015 128.555);
--popover-foreground: oklch(0.981 0.007 129.859);
--card: oklch(0.1 0.015 128.555);
--card-foreground: oklch(0.981 0.007 129.859);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.928 0.021 130.014);
--primary-foreground: oklch(0.22 0.024 130.982);
--secondary: oklch(0.933 0.019 108.318);
--secondary-foreground: oklch(0.226 0.022 109.624);
--accent: oklch(0.923 0.024 146.308);
--accent-foreground: oklch(0.44 0.074 144.911);
--destructive: oklch(0.656 0.203 40.443);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.928 0.021 130.014);
--chart-1: oklch(0.928 0.021 130.014);
--chart-2: oklch(0.933 0.019 108.318);
--chart-3: oklch(0.923 0.024 146.308);
--chart-4: oklch(0.952 0.014 108.21);
--chart-5: oklch(0.929 0.024 130.04);
}