Inclined UP Forest Green for shadcn/ui

Inclined UP Forest Green is a shadcn/ui theme built around a vivid deep teal primary color (#053d2c) with near-white accents (#f7f7f7). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#053d2c) on a neutral background (#030706).

Color palette

TokenLightDark
Background
#ffffffwhite
#030706black
Foreground
#03110dblack
#f6f9f8whitesmoke
Card
#ffffffwhite
#030706black
Card foreground
#03110dblack
#f6f9f8whitesmoke
Popover
#fcfdfdwhite
#030706black
Popover foreground
#03110dblack
#f6f9f8whitesmoke
Primary
#053d2cdarkslategray
#053d2cdarkslategray
Primary foreground
#22ecafmediumspringgreen
#22ecafmediumspringgreen
Secondary
#2c053dmidnightblue
#2c053dmidnightblue
Secondary foreground
#d180f4violet
#d180f4violet
Muted
#e4dfe7gainsboro
#1e1820black
Muted foreground
#6a5d6fdimgray
#9d90a2darkgray
Accent
#f7f7f7whitesmoke
#3d2c05black
Accent foreground
#000000black
#ecaf22goldenrod
Destructive
#9d0702darkred
#f70b02red
Destructive foreground
#ffd3d2pink
#ffffffwhite
Border
#eef2f1whitesmoke
#212c28darkslategray
Input
#eef2f1whitesmoke
#212c28darkslategray
Ring
#053d2cdarkslategray
#053d2cdarkslategray

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.26:1AAA
Text on card19.26:1AAA
Primary button7.99:1AAA
Secondary button6.76:1AA
Muted text4.70:1AA
Accent19.62:1AAA
Destructive6.31:1AA
Dark mode
Text on background19.11:1AAA
Text on card19.11:1AAA
Primary button7.99:1AAA
Secondary button6.76:1AA
Muted text5.74:1AA
Accent6.84:1AA
Destructive4.18:1AA Large

CSS variables

Paste this into your globals.css to use Inclined UP Forest Green in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.162 0.023 173.749);
  --muted: oklch(0.911 0.011 315.977);
  --muted-foreground: oklch(0.497 0.033 315.787);
  --popover: oklch(0.994 0.002 176.597);
  --popover-foreground: oklch(0.162 0.023 173.749);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.162 0.023 173.749);
  --border: oklch(0.957 0.005 176.51);
  --input: oklch(0.957 0.005 176.51);
  --primary: oklch(0.321 0.062 167.036);
  --primary-foreground: oklch(0.838 0.17 165.649);
  --secondary: oklch(0.228 0.101 312.975);
  --secondary-foreground: oklch(0.73 0.18 314.987);
  --accent: oklch(0.977 0 170.538);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.439 0.177 29.588);
  --destructive-foreground: oklch(0.904 0.049 20.425);
  --ring: oklch(0.321 0.062 167.036);
  --chart-1: oklch(0.321 0.062 167.036);
  --chart-2: oklch(0.228 0.101 312.975);
  --chart-3: oklch(0.306 0.058 83.88);
  --chart-4: oklch(0.259 0.118 312.56);
  --chart-5: oklch(0.324 0.064 166.761);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.01 176.788);
  --foreground: oklch(0.979 0.003 176.555);
  --muted: oklch(0.22 0.016 315.763);
  --muted-foreground: oklch(0.67 0.03 315.86);
  --popover: oklch(0.122 0.01 176.788);
  --popover-foreground: oklch(0.979 0.003 176.555);
  --card: oklch(0.122 0.01 176.788);
  --card-foreground: oklch(0.979 0.003 176.555);
  --border: oklch(0.28 0.016 174.887);
  --input: oklch(0.28 0.016 174.887);
  --primary: oklch(0.321 0.062 167.036);
  --primary-foreground: oklch(0.838 0.17 165.649);
  --secondary: oklch(0.228 0.101 312.975);
  --secondary-foreground: oklch(0.73 0.18 314.987);
  --accent: oklch(0.306 0.058 83.88);
  --accent-foreground: oklch(0.791 0.155 82.159);
  --destructive: oklch(0.616 0.25 29.434);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.321 0.062 167.036);
  --chart-1: oklch(0.321 0.062 167.036);
  --chart-2: oklch(0.228 0.101 312.975);
  --chart-3: oklch(0.306 0.058 83.88);
  --chart-4: oklch(0.259 0.118 312.56);
  --chart-5: oklch(0.324 0.064 166.761);
}