How to Build an Accessible Palette That Always Passes
Most palettes are picked by eye and patched after the audit comes back red. There's a saner order of operations. How to build an accessible palette starts with two constraints, the background color and a target contrast ratio, and only then picks hues. Fix those constraints first and every color becomes solvable math: keep the hue, walk the lightness until the ratio clears the bar. This guide explains which ratios to target, works a real example including one that's provably impossible, and covers the chart and dashboard cases where contrast usually slips.