Roycroft Bottle Green Tiglon for shadcn/ui

Roycroft Bottle Green Tiglon is a shadcn/ui theme built around a muted deep green primary color (#2f3c30) with muted deep teal accents (#2f3c36). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep green primary (#2f3c30) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#051406black
#fcfdfcwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#041005black
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#041005black
#ffffffwhite
Primary
#2f3c30darkslategray
#2f3c30darkslategray
Primary foreground
#c9d4c9lightgrey
#c9d4c9lightgrey
Secondary
#353c2fdarkslategray
#353c2fdarkslategray
Secondary foreground
#ced4c9lightgrey
#ced4c9lightgrey
Muted
#e8f0e0beige
#161f0fblack
Muted foreground
#575855dimgray
#a8aaa7darkgray
Accent
#2f3c36darkslategray
#2f3c36darkslategray
Accent foreground
#c9d4cflightgrey
#c9d4cflightgrey
Destructive
#ca3012firebrick
#eb401eorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e9ede9linen
#1e241eblack
Input
#e9ede9linen
#1e241eblack
Ring
#2f3c30darkslategray
#2f3c30darkslategray

Contrast

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

Light mode
Text on background18.93:1AAA
Text on card19.00:1AAA
Primary button7.59:1AAA
Secondary button7.54:1AAA
Muted text6.11:1AA
Accent7.58:1AAA
Destructive5.33:1AA
Dark mode
Text on background20.59:1AAA
Text on card20.67:1AAA
Primary button7.59:1AAA
Secondary button7.54:1AAA
Muted text7.26:1AAA
Accent7.58:1AAA
Destructive3.96:1AA Large

CSS variables

Paste this into your globals.css to use Roycroft Bottle Green Tiglon in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.173 0.037 144.606);
  --muted: oklch(0.944 0.023 130.025);
  --muted-foreground: oklch(0.459 0.006 129.916);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.157 0.033 144.775);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.157 0.033 144.775);
  --border: oklch(0.941 0.007 146.478);
  --input: oklch(0.941 0.007 146.478);
  --primary: oklch(0.34 0.027 145.81);
  --primary-foreground: oklch(0.859 0.02 146.338);
  --secondary: oklch(0.345 0.024 130.495);
  --secondary-foreground: oklch(0.863 0.017 129.985);
  --accent: oklch(0.342 0.02 165.217);
  --accent-foreground: oklch(0.861 0.015 166.439);
  --destructive: oklch(0.55 0.194 32.704);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.34 0.027 145.81);
  --chart-1: oklch(0.34 0.027 145.81);
  --chart-2: oklch(0.345 0.024 130.495);
  --chart-3: oklch(0.342 0.02 165.217);
  --chart-4: oklch(0.377 0.026 130.514);
  --chart-5: oklch(0.343 0.034 145.63);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 146.534);
  --muted: oklch(0.225 0.031 131.349);
  --muted-foreground: oklch(0.736 0.005 129.857);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.253 0.015 146);
  --input: oklch(0.253 0.015 146);
  --primary: oklch(0.34 0.027 145.81);
  --primary-foreground: oklch(0.859 0.02 146.338);
  --secondary: oklch(0.345 0.024 130.495);
  --secondary-foreground: oklch(0.863 0.017 129.985);
  --accent: oklch(0.342 0.02 165.217);
  --accent-foreground: oklch(0.861 0.015 166.439);
  --destructive: oklch(0.624 0.213 32.932);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.34 0.027 145.81);
  --chart-1: oklch(0.34 0.027 145.81);
  --chart-2: oklch(0.345 0.024 130.495);
  --chart-3: oklch(0.342 0.02 165.217);
  --chart-4: oklch(0.377 0.026 130.514);
  --chart-5: oklch(0.343 0.034 145.63);
}