Peculiar Aoife’s Green for shadcn/ui

Peculiar Aoife’s Green is a shadcn/ui theme built around a teal primary color (#40b592) with muted light teal accents (#c8d5d1). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#40b592) on a neutral background (#121212).

Color palette

TokenLightDark
Background
#fbfefdwhite
#121212black
Foreground
#121212black
#fbfdfdwhite
Card
#fbfefdwhite
#282828darkslategray
Card foreground
#04110dblack
#fbfdfdwhite
Popover
#fbfefdwhite
#121212black
Popover foreground
#04110dblack
#fbfdfdwhite
Primary
#40b592mediumseagreen
#40b592mediumseagreen
Primary foreground
#0b1e18black
#282828darkslategray
Secondary
#c8d5d1lightgrey
#575757dimgray
Secondary foreground
#2f3d38darkslategray
#bdc7c4silver
Muted
#e0e6e4gainsboro
#191f1dblack
Muted foreground
#506861dimgray
#97afa8darkgray
Accent
#c8d5d1lightgrey
#282828darkslategray
Accent foreground
#2f3d38darkslategray
#bdc7c4silver
Destructive
#ff6b6bsalmon
#ff6b6bsalmon
Destructive foreground
#fcf4f3lavenderblush
#121212black
Border
#e4e7e6gainsboro
#575757dimgray
Input
#e4e7e6gainsboro
#1d201fblack
Ring
#40b592mediumseagreen
#40b592mediumseagreen

Contrast

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

Light mode
Text on background18.47:1AAA
Text on card18.97:1AAA
Primary button6.80:1AA
Secondary button7.52:1AAA
Muted text4.75:1AA
Accent7.52:1AAA
Destructive2.56:1Fail
Dark mode
Text on background18.34:1AAA
Text on card14.43:1AAA
Primary button5.79:1AA
Secondary button4.17:1AA Large
Muted text7.17:1AAA
Accent8.51:1AAA
Destructive6.75:1AA

CSS variables

Paste this into your globals.css to use Peculiar Aoife’s Green in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 176.545);
  --foreground: oklch(0.182 0 169.695);
  --muted: oklch(0.92 0.007 176.434);
  --muted-foreground: oklch(0.495 0.031 174.711);
  --popover: oklch(0.995 0.004 176.545);
  --popover-foreground: oklch(0.162 0.023 173.826);
  --card: oklch(0.995 0.004 176.545);
  --card-foreground: oklch(0.162 0.023 173.826);
  --border: oklch(0.925 0.002 176.584);
  --input: oklch(0.925 0.002 176.584);
  --primary: oklch(0.698 0.117 169.438);
  --primary-foreground: oklch(0.217 0.028 171.83);
  --secondary: oklch(0.862 0.015 176.159);
  --secondary-foreground: oklch(0.344 0.02 174.877);
  --accent: oklch(0.862 0.015 176.159);
  --accent-foreground: oklch(0.344 0.02 174.877);
  --destructive: oklch(0.712 0.181 22.839);
  --destructive-foreground: oklch(0.973 0.009 26.022);
  --ring: oklch(0.698 0.117 169.438);
  --chart-1: oklch(0.698 0.117 169.438);
  --chart-2: oklch(0.862 0.015 176.159);
  --chart-3: oklch(0.862 0.015 176.159);
  --chart-4: oklch(0.884 0.012 176.251);
  --chart-5: oklch(0.707 0.123 169.005);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.182 0 169.695);
  --foreground: oklch(0.994 0.002 176.592);
  --muted: oklch(0.233 0.01 175.385);
  --muted-foreground: oklch(0.734 0.028 175.488);
  --popover: oklch(0.182 0 169.695);
  --popover-foreground: oklch(0.994 0.002 176.592);
  --card: oklch(0.277 0 172.875);
  --card-foreground: oklch(0.994 0.002 176.592);
  --border: oklch(0.457 0 190.305);
  --input: oklch(0.24 0.004 176.178);
  --primary: oklch(0.698 0.117 169.438);
  --primary-foreground: oklch(0.277 0 172.875);
  --secondary: oklch(0.457 0 190.305);
  --secondary-foreground: oklch(0.82 0.011 176.246);
  --accent: oklch(0.277 0 172.875);
  --accent-foreground: oklch(0.82 0.011 176.246);
  --destructive: oklch(0.712 0.181 22.839);
  --destructive-foreground: oklch(0.182 0 169.695);
  --ring: oklch(0.698 0.117 169.438);
  --chart-1: oklch(0.698 0.117 169.438);
  --chart-2: oklch(0.286 0.01 175.623);
  --chart-3: oklch(0.286 0.01 175.623);
  --chart-4: oklch(0.318 0.011 175.579);
  --chart-5: oklch(0.707 0.123 169.005);
}