Metal Deluxe Turtle for shadcn/ui

Metal Deluxe Turtle is a shadcn/ui theme built around a deep teal primary color (#1c3e3f) with deep yellow accents (#3e3f1c). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the deep teal primary (#1c3e3f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#000000black
Foreground
#010404black
#ffffffwhite
Card
#f8fcfcmintcream
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#f8fcfcmintcream
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#1c3e3fdarkslategray
#1c3e3fdarkslategray
Primary foreground
#b2dbdcpowderblue
#b2dbdcpowderblue
Secondary
#3f1c3edarkslategray
#3f1c3edarkslategray
Secondary foreground
#dcb2dbthistle
#dcb2dbthistle
Muted
#f7eef7whitesmoke
#110811black
Muted foreground
#755774dimgray
#a88aa7darkgray
Accent
#3e3f1cdarkolivegreen
#3e3f1cdarkolivegreen
Accent foreground
#dbdcb2palegoldenrod
#dbdcb2palegoldenrod
Destructive
#952309saddlebrown
#e6360forangered
Destructive foreground
#fcdbd4mistyrose
#ffffffwhite
Border
#e7e9e9lavender
#202222black
Input
#e7e9e9lavender
#202222black
Ring
#1c3e3fdarkslategray
#1c3e3fdarkslategray

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.27:1AAA
Primary button7.74:1AAA
Secondary button7.86:1AAA
Muted text5.47:1AA
Accent7.66:1AAA
Destructive6.44:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.74:1AAA
Secondary button7.86:1AAA
Muted text6.42:1AA
Accent7.66:1AAA
Destructive4.28:1AA Large

CSS variables

Paste this into your globals.css to use Metal Deluxe Turtle in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 199.58);
  --foreground: oklch(0.1 0.013 197.384);
  --muted: oklch(0.958 0.016 326.682);
  --muted-foreground: oklch(0.498 0.06 327.518);
  --popover: oklch(0.987 0.004 199.553);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.987 0.004 199.553);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.932 0.002 199.578);
  --input: oklch(0.932 0.002 199.578);
  --primary: oklch(0.34 0.039 198.42);
  --primary-foreground: oklch(0.862 0.043 198.98);
  --secondary: oklch(0.293 0.075 328.514);
  --secondary-foreground: oklch(0.813 0.074 327.292);
  --accent: oklch(0.359 0.053 110.506);
  --accent-foreground: oklch(0.883 0.056 109.075);
  --destructive: oklch(0.441 0.153 33.348);
  --destructive-foreground: oklch(0.918 0.038 32.728);
  --ring: oklch(0.34 0.039 198.42);
  --chart-1: oklch(0.34 0.039 198.42);
  --chart-2: oklch(0.293 0.075 328.514);
  --chart-3: oklch(0.359 0.053 110.506);
  --chart-4: oklch(0.322 0.085 328.568);
  --chart-5: oklch(0.343 0.042 198.396);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.153 0.025 327.824);
  --muted-foreground: oklch(0.67 0.056 327.23);
  --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.251 0.004 199.403);
  --input: oklch(0.251 0.004 199.403);
  --primary: oklch(0.34 0.039 198.42);
  --primary-foreground: oklch(0.862 0.043 198.98);
  --secondary: oklch(0.293 0.075 328.514);
  --secondary-foreground: oklch(0.813 0.074 327.292);
  --accent: oklch(0.359 0.053 110.506);
  --accent-foreground: oklch(0.883 0.056 109.075);
  --destructive: oklch(0.605 0.216 33.01);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.34 0.039 198.42);
  --chart-1: oklch(0.34 0.039 198.42);
  --chart-2: oklch(0.293 0.075 328.514);
  --chart-3: oklch(0.359 0.053 110.506);
  --chart-4: oklch(0.322 0.085 328.568);
  --chart-5: oklch(0.343 0.042 198.396);
}