.. include:: /Includes.rst.txt .. _task-1791869914: ============================ Task: Readable brand colours ============================ Description =========== The core can derive the light and dark design tokens of a company's colours and check them for readability. From one base colour per role (brand, neutral, success, warning, danger) it derives the eleven steps of a Web Awesome palette in OKLCH, with fixed lightness per step, and checks every pair of tokens the design system puts on each other against WCAG 2.2 AA in both schemes: 4.5:1 for text, 3:1 for focus rings. For a colour that fails, it proposes the lightest darker shade of the same hue that passes. All 13 shipped themes pass. Impact ====== Nothing changes for users yet; the branding of a company uses it. .. index:: Backend, Tests, package:adsum-core