Natural for shadcn/ui

Natural is a shadcn/ui theme built around a deep orange primary color (#140d06) with deep yellow accents (#131406). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#140d06) on an orange-tinted background (#100b05).

Color palette

TokenLightDark
Background
#ffffffwhite
#100b05black
Foreground
#080502black
#f8f7f6whitesmoke
Card
#fcfcfcsnow
#130d06black
Card foreground
#040301black
#fbfaf9snow
Popover
#fcfcfcsnow
#130d06black
Popover foreground
#040301black
#fbfaf9snow
Primary
#140d06black
#140d06black
Primary foreground
#d8a974burlywood
#d8a974burlywood
Secondary
#140606black
#140606black
Secondary foreground
#d87774lightcoral
#d87774lightcoral
Muted
#e7cccblightgrey
#341918black
Muted foreground
#655d5ddimgray
#a29a9adarkgray
Accent
#131406black
#131406black
Accent foreground
#afb332yellowgreen
#afb332yellowgreen
Destructive
#a53212brown
#e14419orangered
Destructive foreground
#fdf0edseashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#140d06black
#140d06black

Contrast

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

Light mode
Text on background20.33:1AAA
Text on card20.17:1AAA
Primary button9.02:1AAA
Secondary button6.43:1AA
Muted text4.22:1AA Large
Accent8.24:1AAA
Destructive6.13:1AA
Dark mode
Text on background18.35:1AAA
Text on card18.48:1AAA
Primary button9.02:1AAA
Secondary button6.43:1AA
Muted text5.86:1AA
Accent8.24:1AAA
Destructive4.16:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.12 0.013 78.952);
  --muted: oklch(0.866 0.031 20.128);
  --muted-foreground: oklch(0.486 0.01 19.89);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.095 0.01 78.952);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.095 0.01 78.952);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.166 0.02 72.141);
  --primary-foreground: oklch(0.766 0.089 69.605);
  --secondary: oklch(0.146 0.026 23.557);
  --secondary-foreground: oklch(0.676 0.121 22.855);
  --accent: oklch(0.186 0.027 110.386);
  --accent-foreground: oklch(0.74 0.146 111.384);
  --destructive: oklch(0.487 0.156 35.318);
  --destructive-foreground: oklch(0.965 0.015 35.968);
  --ring: oklch(0.166 0.02 72.141);
  --chart-1: oklch(0.166 0.02 72.141);
  --chart-2: oklch(0.146 0.026 23.557);
  --chart-3: oklch(0.186 0.027 110.386);
  --chart-4: oklch(0.179 0.039 23.79);
  --chart-5: oklch(0.167 0.021 72.327);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.152 0.016 74.678);
  --foreground: oklch(0.978 0.002 71.434);
  --muted: oklch(0.252 0.044 22.744);
  --muted-foreground: oklch(0.694 0.009 19.785);
  --popover: oklch(0.166 0.018 71.903);
  --popover-foreground: oklch(0.985 0.001 71.44);
  --card: oklch(0.166 0.018 71.903);
  --card-foreground: oklch(0.985 0.001 71.44);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.166 0.02 72.141);
  --primary-foreground: oklch(0.766 0.089 69.605);
  --secondary: oklch(0.146 0.026 23.557);
  --secondary-foreground: oklch(0.676 0.121 22.855);
  --accent: oklch(0.186 0.027 110.386);
  --accent-foreground: oklch(0.74 0.146 111.384);
  --destructive: oklch(0.61 0.2 35.091);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.166 0.02 72.141);
  --chart-1: oklch(0.166 0.02 72.141);
  --chart-2: oklch(0.146 0.026 23.557);
  --chart-3: oklch(0.186 0.027 110.386);
  --chart-4: oklch(0.179 0.039 23.79);
  --chart-5: oklch(0.167 0.021 72.327);
}