color Shipped
What this lens looks for
Color must be used with intention and never as the sole means of conveying information: prefer the platform's semantic color tokens (e.g., label, onSurface, TextFillColorPrimary) over hard-coded hex values, since tokens adapt to theme and accessibility settings automatically; limit the palette to one primary/accent color, one or two neutral tones, plus semantic success/warning/error colors — avoid rainbow UIs; color must always be paired with a secondary indicator (icon, shape, text, or pattern) for state changes, errors, and status; meet WCAG AA contrast minimums — 4.5:1 for normal text (<18pt / <14pt bold), 3:1 for large text (18pt+ or 14pt+ bold), and 3:1 for non-text UI components; every color must work in both light and dark themes, and both must be tested.
What its verifier checks
Colors come from platform/design-system semantic tokens rather than hard-coded hex values; the palette is limited to roughly one accent, one or two neutrals, and semantic status colors rather than a rainbow; no state, error, or status is conveyed by color alone — each pairs color with an icon, shape, text, or pattern; contrast meets WCAG AA — 4.5:1 for normal text, 3:1 for large text, and 3:1 for non-text UI components; every color works in both light and dark themes and both are verified.