Camel for shadcn/ui

Camel is a shadcn/ui theme built around an orange primary color (#b59873) with yellow accents (#b1b573). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#b59873) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#040301black
#f9f8f6whitesmoke
Card
#ffffffwhite
#000000black
Card foreground
#040301black
#f9f8f6whitesmoke
Popover
#ffffffwhite
#000000black
Popover foreground
#040301black
#f9f8f6whitesmoke
Primary
#b59873rosybrown
#b59873rosybrown
Primary foreground
#000000black
#000000black
Secondary
#b57773rosybrown
#b57773rosybrown
Secondary foreground
#000000black
#000000black
Muted
#dfd3d3lightgrey
#2c2120black
Muted foreground
#5a4f4edimgray
#b1a6a5darkgray
Accent
#b1b573darkkhaki
#b1b573darkkhaki
Accent foreground
#000000black
#000000black
Destructive
#d44c02chocolate
#f75802orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b59873rosybrown
#b59873rosybrown

Contrast

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

Light mode
Text on background20.61:1AAA
Text on card20.61:1AAA
Primary button7.72:1AAA
Secondary button5.85:1AA
Muted text5.41:1AA
Accent9.72:1AAA
Destructive4.35:1AA Large
Dark mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button7.72:1AAA
Secondary button5.85:1AA
Muted text6.58:1AA
Accent9.72:1AAA
Destructive3.29:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.095 0.009 81.474);
  --muted: oklch(0.877 0.013 22.38);
  --muted-foreground: oklch(0.438 0.015 22.619);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.095 0.009 81.474);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.095 0.009 81.474);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.697 0.062 73.96);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.633 0.079 24.017);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.754 0.088 111.584);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.596 0.184 40.593);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.697 0.062 73.96);
  --chart-1: oklch(0.697 0.062 73.96);
  --chart-2: oklch(0.633 0.079 24.017);
  --chart-3: oklch(0.754 0.088 111.584);
  --chart-4: oklch(0.659 0.072 23.755);
  --chart-5: oklch(0.701 0.068 73.804);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.979 0.003 74.934);
  --muted: oklch(0.261 0.018 23.1);
  --muted-foreground: oklch(0.733 0.013 22.416);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.979 0.003 74.934);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.979 0.003 74.934);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.697 0.062 73.96);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.633 0.079 24.017);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.754 0.088 111.584);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.667 0.208 40.232);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.697 0.062 73.96);
  --chart-1: oklch(0.697 0.062 73.96);
  --chart-2: oklch(0.633 0.079 24.017);
  --chart-3: oklch(0.754 0.088 111.584);
  --chart-4: oklch(0.659 0.072 23.755);
  --chart-5: oklch(0.701 0.068 73.804);
}