Tokiwa Green Toucan for shadcn/ui

Tokiwa Green Toucan is a shadcn/ui theme built around a green primary color (#207941) with pink accents (#792058). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#207941) on a neutral background (#020804).

Color palette

TokenLightDark
Background
#ffffffwhite
#020804black
Foreground
#010402black
#fcfdfcwhite
Card
#fcfcfcsnow
#040c07black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#040c07black
Popover foreground
#000000black
#ffffffwhite
Primary
#207941seagreen
#207941seagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#792058purple
#792058purple
Secondary foreground
#f4d7e9mistyrose
#f4d7e9mistyrose
Muted
#dbd7d9gainsboro
#282427darkslategray
Muted foreground
#484246darkslategray
#bdb7bbsilver
Accent
#792058purple
#792058purple
Accent foreground
#f4d7e9mistyrose
#f4d7e9mistyrose
Destructive
#bc2106firebrick
#f83412orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f1f4f2whitesmoke
#191f1bblack
Input
#f1f4f2whitesmoke
#191f1bblack
Ring
#207941seagreen
#207941seagreen

Contrast

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

Light mode
Text on background20.59:1AAA
Text on card20.54:1AAA
Primary button5.43:1AA
Secondary button7.28:1AAA
Muted text6.86:1AA
Accent7.28:1AAA
Destructive6.25:1AA
Dark mode
Text on background19.82:1AAA
Text on card19.83:1AAA
Primary button5.43:1AA
Secondary button7.28:1AAA
Muted text7.74:1AAA
Accent7.28:1AAA
Destructive3.83:1AA Large

CSS variables

Paste this into your globals.css to use Tokiwa Green Toucan in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.098 0.016 158.464);
  --muted: oklch(0.882 0.005 338.848);
  --muted-foreground: oklch(0.386 0.009 339.234);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.963 0.004 158.634);
  --input: oklch(0.963 0.004 158.634);
  --primary: oklch(0.51 0.12 151.316);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.405 0.136 346.003);
  --secondary-foreground: oklch(0.908 0.041 339.657);
  --accent: oklch(0.405 0.136 346.003);
  --accent-foreground: oklch(0.908 0.041 339.657);
  --destructive: oklch(0.513 0.192 31.709);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.51 0.12 151.316);
  --chart-1: oklch(0.51 0.12 151.316);
  --chart-2: oklch(0.405 0.136 346.003);
  --chart-3: oklch(0.405 0.136 346.003);
  --chart-4: oklch(0.433 0.147 346.106);
  --chart-5: oklch(0.516 0.125 150.976);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.017 158.498);
  --foreground: oklch(0.993 0.001 158.694);
  --muted: oklch(0.267 0.007 339.286);
  --muted-foreground: oklch(0.786 0.008 338.933);
  --popover: oklch(0.141 0.02 158.312);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.141 0.02 158.312);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.232 0.012 157.575);
  --input: oklch(0.232 0.012 157.575);
  --primary: oklch(0.51 0.12 151.316);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.405 0.136 346.003);
  --secondary-foreground: oklch(0.908 0.041 339.657);
  --accent: oklch(0.405 0.136 346.003);
  --accent-foreground: oklch(0.908 0.041 339.657);
  --destructive: oklch(0.635 0.233 31.882);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.51 0.12 151.316);
  --chart-1: oklch(0.51 0.12 151.316);
  --chart-2: oklch(0.405 0.136 346.003);
  --chart-3: oklch(0.405 0.136 346.003);
  --chart-4: oklch(0.433 0.147 346.106);
  --chart-5: oklch(0.516 0.125 150.976);
}