Reliable Green Jewel is a shadcn/ui theme built around a teal primary color (#90dab8) with near-white accents (#e7e9e8). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#90dab8) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020303black |
| Foreground | #04150dblack | #f4faf8mintcream |
| Card | #fcfcfcsnow | #030705black |
| Card foreground | #04110bblack | #f8fcfamintcream |
| Popover | #ffffffwhite | #020303black |
| Popover foreground | #04150dblack | #f4faf8mintcream |
| Primary | #90dab8lightgreen | #90dab8lightgreen |
| Primary foreground | #0e2a1dblack | #0e2a1dblack |
| Secondary | #e7e9e8lavender | #181b1ablack |
| Secondary foreground | #4d514fdarkslategray | #adb8b3darkgray |
| Muted | #e2e9e6gainsboro | #161d1ablack |
| Muted foreground | #50685ddimgray | #97afa4darkgray |
| Accent | #e7e9e8lavender | #181b1ablack |
| Accent foreground | #4d514fdarkslategray | #adb8b3darkgray |
| Destructive | #841206maroon | #eb200ared |
| Destructive foreground | #fcc5bfpink | #ffffffwhite |
| Border | #e7e9e8lavender | #1d201fblack |
| Input | #e7e9e8lavender | #1d201fblack |
| Ring | #90dab8lightgreen | #90dab8lightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.77:1 | AAA |
| Text on card | 18.84:1 | AAA |
| Primary button | 9.43:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 4.88:1 | AA |
| Accent | 6.60:1 | AA |
| Destructive | 6.69:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 9.43:1 | AAA |
| Secondary button | 8.48:1 | AAA |
| Muted text | 7.35:1 | AAA |
| Accent | 8.48:1 | AAA |
| Destructive | 4.42:1 | AA Large |
Paste this into your globals.css to use Reliable Green Jewel in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.178 0.029 162.697);
--muted: oklch(0.927 0.008 166.684);
--muted-foreground: oklch(0.494 0.034 164.903);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.178 0.029 162.697);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.161 0.025 164.404);
--border: oklch(0.933 0.003 166.808);
--input: oklch(0.933 0.003 166.808);
--primary: oklch(0.83 0.089 163.54);
--primary-foreground: oklch(0.259 0.042 161.015);
--secondary: oklch(0.932 0.002 166.857);
--secondary-foreground: oklch(0.431 0.007 166.454);
--accent: oklch(0.932 0.002 166.857);
--accent-foreground: oklch(0.431 0.007 166.454);
--destructive: oklch(0.395 0.149 30.636);
--destructive-foreground: oklch(0.872 0.064 25.753);
--ring: oklch(0.83 0.089 163.54);
--chart-1: oklch(0.83 0.089 163.54);
--chart-2: oklch(0.932 0.002 166.857);
--chart-3: oklch(0.932 0.002 166.857);
--chart-4: oklch(0.955 0.001 166.875);
--chart-5: oklch(0.834 0.094 163.338);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.008 167.037);
--foreground: oklch(0.981 0.007 166.699);
--muted: oklch(0.221 0.011 165.531);
--muted-foreground: oklch(0.733 0.031 165.71);
--popover: oklch(0.096 0.008 167.037);
--popover-foreground: oklch(0.981 0.007 166.699);
--card: oklch(0.121 0.01 167.037);
--card-foreground: oklch(0.987 0.005 166.77);
--border: oklch(0.241 0.006 166.176);
--input: oklch(0.241 0.006 166.176);
--primary: oklch(0.83 0.089 163.54);
--primary-foreground: oklch(0.259 0.042 161.015);
--secondary: oklch(0.219 0.006 166.105);
--secondary-foreground: oklch(0.772 0.014 166.413);
--accent: oklch(0.219 0.006 166.105);
--accent-foreground: oklch(0.772 0.014 166.413);
--destructive: oklch(0.6 0.233 30.377);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.83 0.089 163.54);
--chart-1: oklch(0.83 0.089 163.54);
--chart-2: oklch(0.219 0.006 166.105);
--chart-3: oklch(0.219 0.006 166.105);
--chart-4: oklch(0.253 0.008 166.033);
--chart-5: oklch(0.834 0.094 163.338);
}