Owl for shadcn/ui

Owl is a shadcn/ui theme built around a vivid light teal primary color (#9cf2d5) with neutral gray accents (#dddfde). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#9cf2d5) on a neutral background (#020806).

Color palette

TokenLightDark
Background
#ffffffwhite
#020806black
Foreground
#010403black
#f5faf8mintcream
Card
#fcfcfcsnow
#030c09black
Card foreground
#000000black
#f8fcfamintcream
Popover
#ffffffwhite
#020806black
Popover foreground
#010403black
#f5faf8mintcream
Primary
#9cf2d5paleturquoise
#9cf2d5paleturquoise
Primary foreground
#0b513adarkslategray
#0b513adarkslategray
Secondary
#dddfdegainsboro
#151e1bblack
Secondary foreground
#434645darkslategray
#a5c0b7darkgray
Muted
#e6eae9lavender
#151917black
Muted foreground
#556d65dimgray
#92aaa2darkgray
Accent
#dddfdegainsboro
#151e1bblack
Accent foreground
#434645darkslategray
#a5c0b7darkgray
Destructive
#b70401darkred
#fe1e1bred
Destructive foreground
#ffebeblinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9cf2d5paleturquoise
#9cf2d5paleturquoise

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.54:1AAA
Primary button7.14:1AAA
Secondary button7.10:1AAA
Muted text4.59:1AA
Accent7.10:1AAA
Destructive6.06:1AA
Dark mode
Text on background19.14:1AAA
Text on card19.13:1AAA
Primary button7.14:1AAA
Secondary button8.78:1AAA
Muted text7.19:1AAA
Accent8.78:1AAA
Destructive3.87:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.012 174.832);
  --muted: oklch(0.933 0.004 174.471);
  --muted-foreground: oklch(0.512 0.03 172.738);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.099 0.012 174.832);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.898 0.093 171.035);
  --primary-foreground: oklch(0.388 0.077 164.586);
  --secondary: oklch(0.901 0.002 174.537);
  --secondary-foreground: oklch(0.392 0.004 174.291);
  --accent: oklch(0.901 0.002 174.537);
  --accent-foreground: oklch(0.392 0.004 174.291);
  --destructive: oklch(0.49 0.199 29.381);
  --destructive-foreground: oklch(0.956 0.022 18.715);
  --ring: oklch(0.898 0.093 171.035);
  --chart-1: oklch(0.898 0.093 171.035);
  --chart-2: oklch(0.901 0.002 174.537);
  --chart-3: oklch(0.901 0.002 174.537);
  --chart-4: oklch(0.924 0.001 174.55);
  --chart-5: oklch(0.902 0.096 170.899);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.015 174.826);
  --foreground: oklch(0.98 0.006 174.415);
  --muted: oklch(0.208 0.005 173.816);
  --muted-foreground: oklch(0.717 0.028 173.391);
  --popover: oklch(0.124 0.015 174.826);
  --popover-foreground: oklch(0.98 0.006 174.415);
  --card: oklch(0.143 0.017 174.312);
  --card-foreground: oklch(0.987 0.004 174.474);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.898 0.093 171.035);
  --primary-foreground: oklch(0.388 0.077 164.586);
  --secondary: oklch(0.225 0.014 172.653);
  --secondary-foreground: oklch(0.784 0.031 173.391);
  --accent: oklch(0.225 0.014 172.653);
  --accent-foreground: oklch(0.784 0.031 173.391);
  --destructive: oklch(0.634 0.248 28.66);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.898 0.093 171.035);
  --chart-1: oklch(0.898 0.093 171.035);
  --chart-2: oklch(0.225 0.014 172.653);
  --chart-3: oklch(0.225 0.014 172.653);
  --chart-4: oklch(0.26 0.017 172.482);
  --chart-5: oklch(0.902 0.096 170.899);
}