Colour management system
- Core palette
- Milestone set (recommended, confirmed round 1)
- Status and data-viz
- Dark mode
- Print and usage ratios
The colour law: navy is the structure, white is the work surface, red is the one action.
Colours are authored in sRGB. The source of truth is tokens/tokens.json (W3C DTCG); tokens/tokens.css and tokens/semantic.css are generated by color_system.py and tokens/derive_semantic.py. Nothing generated is edited by hand.
Core palette
| Token | Hex | Role | Source |
|---|---|---|---|
--pe-color-field-950 |
#0B1734 | Sidebar, headers, verdict strip, heading text | Measured, V5 |
--pe-color-field-800 |
#183653 | Secondary navy | Measured, V5 |
--pe-accent |
#C62836 | Primary action, blocker, overdue | Measured, V5 |
--pe-surface (light) |
#F3F5F9 | Page canvas | Measured, V5 |
--pe-card (light) |
#FFFFFF | Cards and tables | Measured, V5 |
--pe-text (light) |
#0B1734 | Body and headings | Computed, 16.22:1 |
--pe-text-secondary |
#3E485F | Secondary text | Computed, 8.38:1 |
--pe-text-tertiary |
#687083 | Labels, metadata | Computed, 4.54:1 on canvas |
--pe-focus |
#176CC5 | Focus ring | Measured (V5), 4.82:1 |
The focus ring is blue on purpose (recommended): a red ring would read as an error.
Milestone set (recommended, confirmed round 1)
Same hue order as AccuLynx so staff recognise it, retuned so the navy letter reads on every chip and a ring gives the chip edge 3:1 against white.
| Milestone | Fill | Letter | Letter contrast | Ring | Text-on-white |
|---|---|---|---|---|---|
| L Lead | #EEC604 | #0B1734 | 10.72:1 | #A98C00 | #897100 |
| P Prospect | #E69029 | #0B1734 | 7.07:1 | #C47500 | #9F5E00 |
| A Approved | #72AF00 | #0B1734 | 6.61:1 | #5E9200 | #4B7500 |
| C Completed | #2AA7E1 | #0B1734 | 6.50:1 | #008BC1 | #00709C |
| I Invoiced | #FA67B0 | #0B1734 | 6.43:1 | #DF4296 | #B8327A |
Invoiced moved from AccuLynx red to pink so it never reads as the brand's action red. The smallest perceptual gap between any two fills is ΔE(OKLab) 13.8 (L/P); all values are in tokens/milestones.json.
Status and data-viz
Status (light): good #008321, warning #906600, serious #AC5853, critical #CF4851, info #3F69D3, each paired with a distinct icon silhouette (circle-check, triangle, octagon, square-i, slashed circle). Data-viz (light): #A2274C, #A77600, #504CB4, #008FA9, chosen by search for the widest worst-pair separation under protan, deutan and tritan simulation (worst pair ΔE 13.8 dark, 14.8 overall). Fixed order, never cycled.
Dark mode
Dark uses the same tokens with [data-mode="dark"]: surface #0B1734, raised #152240, text #F3F5F9. Red as small text on dark fails (3.17:1), so red text in dark uses --pe-accent-text #F03746 (4.5:1). The logo tile stays white in both modes.
Print and usage ratios
Process starting builds are in tokens/print.csv (naive conversions; proof against the printer's profile, ΔE2000 ≤ 3). Usage in product views: navy 10–20%, white and canvas 70–85%, red ≤ 2%, status and milestone colour ≤ 6%.
Full contrast matrix: tokens/report.md. All colour maths: tokens/color_math.json.