Welcome for shadcn/ui

Welcome is a shadcn/ui theme built around a light green primary color (#b8f5c7) with light teal accents (#b8f5e5). The light mode uses a neutral background (#fbfefc). Dark mode keeps the light green primary (#b8f5c7) on a neutral background (#030704).

Color palette

TokenLightDark
Background
#fbfefcwhite
#030704black
Foreground
#051007black
#ffffffwhite
Card
#f6fdf8mintcream
#050a06black
Card foreground
#040c06black
#ffffffwhite
Popover
#f6fdf8mintcream
#050a06black
Popover foreground
#040c06black
#ffffffwhite
Primary
#b8f5c7powderblue
#b8f5c7powderblue
Primary foreground
#031206black
#031206black
Secondary
#c7f5b8palegoldenrod
#c7f5b8palegoldenrod
Secondary foreground
#061203black
#061203black
Muted
#e7f3e2beige
#101d0cblack
Muted foreground
#3d4639darkslategray
#bcc6b9silver
Accent
#b8f5e5paleturquoise
#b8f5e5paleturquoise
Accent foreground
#03120eblack
#03120eblack
Destructive
#831907maroon
#ed2e0corangered
Destructive foreground
#fcc9c0pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b8f5c7powderblue
#b8f5c7powderblue

Contrast

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

Light mode
Text on background19.09:1AAA
Text on card19.22:1AAA
Primary button15.45:1AAA
Secondary button15.65:1AAA
Muted text8.56:1AAA
Accent15.68:1AAA
Destructive6.76:1AA
Dark mode
Text on background20.27:1AAA
Text on card19.92:1AAA
Primary button15.45:1AAA
Secondary button15.65:1AAA
Muted text9.93:1AAA
Accent15.68:1AAA
Destructive4.18:1AA Large

CSS variables

Paste this into your globals.css to use Welcome in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.005 153.792);
  --foreground: oklch(0.157 0.025 152.364);
  --muted: oklch(0.95 0.025 137.809);
  --muted-foreground: oklch(0.382 0.025 137.881);
  --popover: oklch(0.989 0.01 153.705);
  --popover-foreground: oklch(0.141 0.022 153.122);
  --card: oklch(0.989 0.01 153.705);
  --card-foreground: oklch(0.141 0.022 153.122);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.916 0.088 152.11);
  --primary-foreground: oklch(0.162 0.035 151.801);
  --secondary: oklch(0.922 0.094 137.968);
  --secondary-foreground: oklch(0.165 0.038 136.345);
  --accent: oklch(0.924 0.065 177.671);
  --accent-foreground: oklch(0.165 0.025 176.682);
  --destructive: oklch(0.398 0.143 32.141);
  --destructive-foreground: oklch(0.878 0.059 29.862);
  --ring: oklch(0.916 0.088 152.11);
  --chart-1: oklch(0.916 0.088 152.11);
  --chart-2: oklch(0.922 0.094 137.968);
  --chart-3: oklch(0.924 0.065 177.671);
  --chart-4: oklch(0.936 0.076 137.918);
  --chart-5: oklch(0.918 0.091 152.039);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.012 153.469);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.212 0.035 138.187);
  --muted-foreground: oklch(0.814 0.02 137.806);
  --popover: oklch(0.137 0.014 153.469);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.137 0.014 153.469);
  --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.916 0.088 152.11);
  --primary-foreground: oklch(0.162 0.035 151.801);
  --secondary: oklch(0.922 0.094 137.968);
  --secondary-foreground: oklch(0.165 0.038 136.345);
  --accent: oklch(0.924 0.065 177.671);
  --accent-foreground: oklch(0.165 0.025 176.682);
  --destructive: oklch(0.612 0.228 31.733);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.916 0.088 152.11);
  --chart-1: oklch(0.916 0.088 152.11);
  --chart-2: oklch(0.922 0.094 137.968);
  --chart-3: oklch(0.924 0.065 177.671);
  --chart-4: oklch(0.936 0.076 137.918);
  --chart-5: oklch(0.918 0.091 152.039);
}