Skip to main content
A consistent palette for building interfaces. All colors work seamlessly in both light and dark modes.

Color Palettes

Primary Colors

Main brand colors used for primary actions and emphasis.

Secondary Colors

Secondary colors for supporting elements and subtle actions.

Neutral Colors

Base colors for text, backgrounds, and UI elements.

Accent Colors

Accent colors for highlights and special states.

Semantic Colors

Colors that convey meaning and state.

Brand & Status Colors

Brand identity and status indication colors.

Light vs Dark Mode Values

Core surface and text colors with their specific values in both light and dark themes.
| Token | HSL Value | |-------|-----------| | Background | hsl(0 0% 96%) | | Foreground | hsl(0 0% 11%) | | Card | hsl(0 0% 99%) | | Card Foreground | hsl(236.05 1.67% 18.72%) | | Popover | hsl(0 0% 100%) | | Popover Foreground | hsl(236.05 1.66% 18.88%) |

Accessibility

All color pairings meet WCAG accessibility standards:
  • Primary on Background: AA+ rating
  • Muted Text: AA rating (sufficient contrast for secondary information)

Color Pairings

Always pair colors with their designated foreground colors:
  • Primary + Primary Foreground
  • Secondary + Secondary Foreground
  • Brand + Brand Foreground
  • Muted + Muted Foreground

Best Practices

Do

  • Use CSS variables for all color references
  • Test colors in both light and dark modes
  • Maintain sufficient contrast for accessibility (WCAG AA: 4.5:1)
  • Use semantic color names (primary, secondary, etc.)
  • Follow the established color hierarchy
  • Pair colors with their designated foreground colors

Don't

  • Hard-code color values in components
  • Use colors that don’t exist in the system
  • Override theme colors without considering accessibility
  • Mix light and dark mode color values
  • Create custom colors without design approval
  • Use insufficient contrast ratios (< 4.5:1)

Implementation

Using CSS Variables

Using Tailwind Classes