Anxious Cameo Green for shadcn/ui

Anxious Cameo Green is a shadcn/ui theme built around a muted light teal primary color (#dee7e5) with muted light yellow accents (#e7e5de). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light teal primary (#dee7e5) on a neutral background (#030706).

Color palette

TokenLightDark
Background
#ffffffwhite
#030706black
Foreground
#000000black
#ffffffwhite
Card
#fcfcfcsnow
#050b09black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#050b09black
Popover foreground
#000000black
#ffffffwhite
Primary
#dee7e5gainsboro
#dee7e5gainsboro
Primary foreground
#3e564fdarkslategray
#3e564fdarkslategray
Secondary
#e5dee7gainsboro
#e5dee7gainsboro
Secondary foreground
#4f3e56darkslategray
#4f3e56darkslategray
Muted
#efe9f2lavender
#140d16black
Muted foreground
#5b4c61dimgray
#ac9eb3darkgray
Accent
#e7e5degainsboro
#e7e5degainsboro
Accent foreground
#564f3edarkolivegreen
#564f3edarkolivegreen
Destructive
#cc3a00firebrick
#fa4700orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8e9e8lavender
#191a1ablack
Input
#e8e9e8lavender
#191a1ablack
Ring
#dee7e5gainsboro
#dee7e5gainsboro

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button6.31:1AA
Secondary button7.41:1AAA
Muted text6.61:1AA
Accent6.44:1AA
Destructive5.03:1AA
Dark mode
Text on background20.23:1AAA
Text on card19.87:1AAA
Primary button6.31:1AA
Secondary button7.41:1AAA
Muted text7.54:1AAA
Accent6.44:1AA
Destructive3.52:1AA Large

CSS variables

Paste this into your globals.css to use Anxious Cameo Green in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.94 0.014 315.968);
  --muted-foreground: oklch(0.44 0.038 315.711);
  --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.932 0.001 176.625);
  --input: oklch(0.932 0.001 176.625);
  --primary: oklch(0.922 0.01 176.332);
  --primary-foreground: oklch(0.431 0.031 174.342);
  --secondary: oklch(0.91 0.014 315.967);
  --secondary-foreground: oklch(0.391 0.045 315.609);
  --accent: oklch(0.921 0.009 87.469);
  --accent-foreground: oklch(0.428 0.028 87.553);
  --destructive: oklch(0.562 0.19 36.488);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.922 0.01 176.332);
  --chart-1: oklch(0.922 0.01 176.332);
  --chart-2: oklch(0.91 0.014 315.967);
  --chart-3: oklch(0.921 0.009 87.469);
  --chart-4: oklch(0.934 0.01 315.983);
  --chart-5: oklch(0.923 0.012 176.271);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.011 176.797);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.173 0.021 315.572);
  --muted-foreground: oklch(0.718 0.034 315.853);
  --popover: oklch(0.14 0.013 176.697);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.013 176.697);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.217 0.002 176.432);
  --input: oklch(0.217 0.002 176.432);
  --primary: oklch(0.922 0.01 176.332);
  --primary-foreground: oklch(0.431 0.031 174.342);
  --secondary: oklch(0.91 0.014 315.967);
  --secondary-foreground: oklch(0.391 0.045 315.609);
  --accent: oklch(0.921 0.009 87.469);
  --accent-foreground: oklch(0.428 0.028 87.553);
  --destructive: oklch(0.653 0.223 36.057);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.922 0.01 176.332);
  --chart-1: oklch(0.922 0.01 176.332);
  --chart-2: oklch(0.91 0.014 315.967);
  --chart-3: oklch(0.921 0.009 87.469);
  --chart-4: oklch(0.934 0.01 315.983);
  --chart-5: oklch(0.923 0.012 176.271);
}