Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

hess sens for shadcn/ui

hess sens is a shadcn/ui theme built around an orange primary color (#c77036) with orange accents (#8b5725). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#c87137) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#110904black
#fdfcfcsnow
Card
#ffffffwhite
#000000black
Card foreground
#110904black
#fdfcfcsnow
Popover
#ffffffwhite
#000000black
Popover foreground
#110904black
#fdfcfcsnow
Primary
#c77036peru
#c87137peru
Primary foreground
#ffffffwhite
#000000black
Secondary
#ebd8c4wheat
#c83745crimson
Secondary foreground
#c77036peru
#ffffffwhite
Muted
#f0e2d5antiquewhite
#2c2122darkslategray
Muted foreground
#818181gray
#baa1a4darkgray
Accent
#8b5725sienna
#c8ba37goldenrod
Accent foreground
#ffffffwhite
#28250bblack
Destructive
#c82828firebrick
#f0310forangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#debfa2tan
#282625darkslategray
Input
#ffffffwhite
#282625darkslategray
Ring
#9f592bsienna
#c87137peru

Contrast

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

Light mode
Text on background19.72:1AAA
Text on card19.72:1AAA
Primary button3.62:1AA Large
Secondary button2.61:1Fail
Muted text3.06:1AA Large
Accent6.02:1AA
Destructive5.54:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.50:1AAA
Primary button5.87:1AA
Secondary button5.13:1AA
Muted text6.49:1AA
Accent7.72:1AAA
Destructive4.08:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.148 0.019 62.015);
  --muted: oklch(0.92 0.023 65.449);
  --muted-foreground: oklch(0.604 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.148 0.019 62.015);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.148 0.019 62.015);
  --border: oklch(0.824 0.053 65.087);
  --input: oklch(1 0 180);
  --primary: oklch(0.633 0.131 51.653);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.892 0.034 68.804);
  --secondary-foreground: oklch(0.633 0.131 51.653);
  --accent: oklch(0.505 0.094 61.5);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.542 0.196 26.771);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.537 0.11 51.489);
  --chart-1: oklch(0.633 0.131 51.653);
  --chart-2: oklch(0.892 0.034 68.804);
  --chart-3: oklch(0.505 0.094 61.5);
  --chart-4: oklch(0.913 0.027 68.907);
  --chart-5: oklch(0.636 0.137 51.203);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 56.427);
  --muted: oklch(0.26 0.018 11.65);
  --muted-foreground: oklch(0.732 0.029 10.979);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 56.427);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.001 56.427);
  --border: oklch(0.27 0.004 56.253);
  --input: oklch(0.27 0.004 56.253);
  --primary: oklch(0.636 0.131 51.692);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.559 0.181 20.023);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.777 0.145 102.819);
  --accent-foreground: oklch(0.261 0.042 102.998);
  --destructive: oklch(0.618 0.228 31.834);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.636 0.131 51.692);
  --chart-1: oklch(0.636 0.131 51.692);
  --chart-2: oklch(0.559 0.181 20.023);
  --chart-3: oklch(0.777 0.145 102.819);
  --chart-4: oklch(0.579 0.172 18.694);
  --chart-5: oklch(0.639 0.137 51.243);
}