Back

Colors

The CruxMD color palette features organic greens, teals, and golds balanced with neutral slates and ivories. Click any swatch to copy the hex value.

Core Palette

Brand (Vibrant Forest)

Slate (Darks)

Cloud (Grays)

Ivory (Lights)

Accent Colors

Secondary accents that complement the forest brand palette. Jade Green signals success; Glacier Teal and Midnight Pine provide depth for interactive states and visual hierarchy.

Utility

Semantic Tokens

These CSS variables adapt automatically between light and dark modes.

Design Notes

  • Dark mode accent — Intentionally neutral (Slate) rather than warm for better contrast and reduced eye strain
  • Secondary = Border — In light mode, secondary background matches border color for seamless subtle backgrounds

Light Mode

--background

Page background

#FAFAF7

--foreground

Primary text

#191919

--card

Card background

#FFFFFF

--primary

Primary actions

#2F5E52

--secondary

Secondary bg

#E5E4DF

--muted

Muted background

#F0F0EB

--muted-foreground

Muted text

#666663

--accent

Accent background

#F0EAD6

--border

Border color

#E5E4DF

--destructive

Error states

#C24E42

--ring

Focus ring

#2F5E52

Dark Mode

--background

Page background

#191919

--foreground

Primary text

#FAFAF7

--card

Card background

#40403E

--primary

Primary actions

#3A7A6A

--secondary

Secondary bg

#40403E

--muted

Muted background

#262625

--muted-foreground

Muted text

#BFBFBA

--accent

Accent background

#40403E

--border

Border color

#40403E

--destructive

Error states

#D46F65

--ring

Focus ring

#3A7A6A

Clinical Insight Colors

Color-coded severity levels for clinical alerts and insights. Each type has specific background and foreground colors for proper contrast.

Light Mode

Info

General information

Warning

Caution indicators

Critical

Urgent alerts

Positive

Favorable findings

Dark Mode

Info

General information

Warning

Caution indicators

Critical

Urgent alerts

Positive

Favorable findings

Chart Colors

A harmonious palette for data visualization. Dark mode uses lighter variants for better contrast on dark backgrounds.

Light Mode

Dark Mode