Proper Lightish Green is a shadcn/ui theme built around a green primary color (#60e26d) with muted light green accents (#e8ede9). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the green primary (#60e26d) on a neutral background (#010401).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #010401black |
| Foreground | #040b05black | #f9fbf9mintcream |
| Card | #fcfdfcwhite | #010401black |
| Card foreground | #040b05black | #f9fbf9mintcream |
| Popover | #fcfdfcwhite | #010401black |
| Popover foreground | #040b05black | #f9fbf9mintcream |
| Primary | #60e26dmediumseagreen | #60e26dmediumseagreen |
| Primary foreground | #020d03black | #020d03black |
| Secondary | #e8ede9linen | #242825darkslategray |
| Secondary foreground | #495b4adarkslategray | #bcc2bdsilver |
| Muted | #e5ebe6gainsboro | #141a15black |
| Muted foreground | #536554dimgray | #9aac9cdarkgray |
| Accent | #e8ede9linen | #242825darkslategray |
| Accent foreground | #495b4adarkslategray | #bcc2bdsilver |
| Destructive | #bd4f0fchocolate | #ed6c21chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #60e26dmediumseagreen | #60e26dmediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 11.83:1 | AAA |
| Secondary button | 6.15:1 | AA |
| Muted text | 5.17:1 | AA |
| Accent | 6.15:1 | AA |
| Destructive | 4.90:1 | AA |
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 11.83:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 7.37:1 | AAA |
| Accent | 8.22:1 | AAA |
| Destructive | 6.76:1 | AA |
Paste this into your globals.css to use Proper Lightish Green in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 148.561);
--foreground: oklch(0.139 0.023 147.437);
--muted: oklch(0.934 0.01 148.479);
--muted-foreground: oklch(0.486 0.034 147.773);
--popover: oklch(0.993 0.003 148.561);
--popover-foreground: oklch(0.139 0.023 147.437);
--card: oklch(0.993 0.003 148.561);
--card-foreground: oklch(0.139 0.023 147.437);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.813 0.196 145.31);
--primary-foreground: oklch(0.142 0.031 146.937);
--secondary: oklch(0.941 0.007 148.508);
--secondary-foreground: oklch(0.449 0.034 147.706);
--accent: oklch(0.941 0.007 148.508);
--accent-foreground: oklch(0.449 0.034 147.706);
--destructive: oklch(0.563 0.157 44.248);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.813 0.196 145.31);
--chart-1: oklch(0.813 0.196 145.31);
--chart-2: oklch(0.941 0.007 148.508);
--chart-3: oklch(0.941 0.007 148.508);
--chart-4: oklch(0.963 0.004 148.541);
--chart-5: oklch(0.819 0.202 145.192);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.018 147.286);
--foreground: oklch(0.985 0.002 148.571);
--muted: oklch(0.209 0.014 147.83);
--muted-foreground: oklch(0.727 0.031 148.104);
--popover: oklch(0.097 0.018 147.286);
--popover-foreground: oklch(0.985 0.002 148.571);
--card: oklch(0.097 0.018 147.286);
--card-foreground: oklch(0.985 0.002 148.571);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.813 0.196 145.31);
--primary-foreground: oklch(0.142 0.031 146.937);
--secondary: oklch(0.272 0.008 148.248);
--secondary-foreground: oklch(0.809 0.011 148.447);
--accent: oklch(0.272 0.008 148.248);
--accent-foreground: oklch(0.809 0.011 148.447);
--destructive: oklch(0.678 0.178 45.566);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.813 0.196 145.31);
--chart-1: oklch(0.813 0.196 145.31);
--chart-2: oklch(0.272 0.008 148.248);
--chart-3: oklch(0.272 0.008 148.248);
--chart-4: oklch(0.304 0.01 148.231);
--chart-5: oklch(0.819 0.202 145.192);
}