Humming is a shadcn/ui theme built around a green primary color (#94c884) with neutral gray accents (#dde0dc). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the green primary (#94c884) on a green-tinted background (#071005).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #071005black |
| Foreground | #050c03black | #fcfdfcwhite |
| Card | #f5fcf2honeydew | #091306black |
| Card foreground | #040802black | #ffffffwhite |
| Popover | #f5fcf2honeydew | #091306black |
| Popover foreground | #040802black | #ffffffwhite |
| Primary | #94c884darkseagreen | #94c884darkseagreen |
| Primary foreground | #0a1208black | #0a1208black |
| Secondary | #dde0dcgainsboro | #131712black |
| Secondary foreground | #434941darkslategray | #a7b9a2darkgray |
| Muted | #dce9d8gainsboro | #1a2716black |
| Muted foreground | #646963dimgray | #979c96darkgray |
| Accent | #dde0dcgainsboro | #131712black |
| Accent foreground | #434941darkslategray | #a7b9a2darkgray |
| Destructive | #b41804firebrick | #fb452dtomato |
| Destructive foreground | #ffedeblinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #94c884darkseagreen | #94c884darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.24:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 9.80:1 | AAA |
| Secondary button | 6.94:1 | AA |
| Muted text | 4.45:1 | AA Large |
| Accent | 6.94:1 | AA |
| Destructive | 6.04:1 | AA |
| Text on background | 19.01:1 | AAA |
| Text on card | 18.91:1 | AAA |
| Primary button | 9.80:1 | AAA |
| Secondary button | 8.70:1 | AAA |
| Muted text | 5.57:1 | AA |
| Accent | 8.70:1 | AAA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Humming in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.01 138.341);
--foreground: oklch(0.142 0.024 136.735);
--muted: oklch(0.919 0.027 138.361);
--muted-foreground: oklch(0.515 0.011 138.353);
--popover: oklch(0.984 0.015 138.346);
--popover-foreground: oklch(0.124 0.021 136.655);
--card: oklch(0.984 0.015 138.346);
--card-foreground: oklch(0.124 0.021 136.655);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.778 0.108 138.546);
--primary-foreground: oklch(0.169 0.023 138.214);
--secondary: oklch(0.903 0.006 138.337);
--secondary-foreground: oklch(0.397 0.016 138.374);
--accent: oklch(0.903 0.006 138.337);
--accent-foreground: oklch(0.397 0.016 138.374);
--destructive: oklch(0.492 0.19 30.853);
--destructive-foreground: oklch(0.96 0.019 26.582);
--ring: oklch(0.778 0.108 138.546);
--chart-1: oklch(0.778 0.108 138.546);
--chart-2: oklch(0.903 0.006 138.337);
--chart-3: oklch(0.903 0.006 138.337);
--chart-4: oklch(0.925 0.005 138.336);
--chart-5: oklch(0.783 0.116 138.571);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.027 137.285);
--foreground: oklch(0.993 0.001 138.332);
--muted: oklch(0.256 0.036 138.551);
--muted-foreground: oklch(0.687 0.01 138.346);
--popover: oklch(0.174 0.031 137.893);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.174 0.031 137.893);
--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.778 0.108 138.546);
--primary-foreground: oklch(0.169 0.023 138.214);
--secondary: oklch(0.199 0.013 138.406);
--secondary-foreground: oklch(0.765 0.037 138.384);
--accent: oklch(0.199 0.013 138.406);
--accent-foreground: oklch(0.765 0.037 138.384);
--destructive: oklch(0.655 0.221 30.966);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.778 0.108 138.546);
--chart-1: oklch(0.778 0.108 138.546);
--chart-2: oklch(0.199 0.013 138.406);
--chart-3: oklch(0.199 0.013 138.406);
--chart-4: oklch(0.234 0.017 138.417);
--chart-5: oklch(0.783 0.116 138.571);
}