WCAG 2.2 + APCA Perceptual Lc
Color, APCA & Token Workbench
Dual contrast, CVD simulation, and token export
Verify any foreground/background pair with simultaneous WCAG 2.2 AA/AAA and APCA (WCAG 3 Draft Lc) perceptual math, inspect Brettel/Viénot color-blindness projections on a HiDPI canvas, and export CSS, W3C DTCG, Tailwind v4, or SwiftUI tokens.
AA · 5.40:1Lc +44.7 · Spot
Load pair:
WCAG 2.2 Ratio5.40:1
APCA PerceptualLc +44.7
APCA Polarity & TierSpot · Dark on Light
Luminance (FG / BG)0.014 / 0.295
AA Normal (4.5:1)PASS
AA Large / UI (3.0:1)PASS
AAA Normal (7.0:1)FAIL
SC 1.4.11 Focus (3.0:1)PASS
APCA GuidanceIcons, placeholders, non-text UI only
CSS · W3C DTCG · Tailwind v4 · SwiftUI
4-Format Token Exporter
/* HopperLabs Orange (https://hopperlabs.ai) — generated by branding.hopperlabs.ai/workbench */
:root[data-brand="hopperlabs"] {
color-scheme: light;
--ground: #f5f6f7;
--surface: #ffffff;
--well: #f8f8f9;
--well-strong: #d2d4d8;
--ink: #202124;
--ink-2: #4f5258;
--muted: #6f7178;
--rule: #e6e7e9;
--rule-strong: #d2d4d8;
--rule-control: #7b808a;
--mark: #ef6d32;
--action: #ef6d32;
--action-hover: #f58a52;
--action-ink: #35170a;
--accent-soft: #ffeadf;
--accent-line: #f8b08c;
--accent-deep: #171c20;
--link: #8b3513;
--focus: #df5b24;
--ok: #117a55;
--caution: #8e6400;
--danger: #b52f3d;
--font-display: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
--font-body: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
--radius-inner: 6px;
--radius-control: 8px;
--radius-card: 12px;
--radius-sheet: 20px;
--radius-pill: 999px;
}
:root[data-brand="hopperlabs"][data-mode="dark"] {
color-scheme: dark;
--ground: #171c20;
--surface: #1c2226;
--well: #20282d;
--well-strong: #526069;
--ink: #edf1f2;
--ink-2: #c5d0d6;
--muted: #a0afb9;
--rule: #323c42;
--rule-strong: #526069;
--rule-control: #8496a2;
--mark: #ef6d32;
--action: #ef6d32;
--action-hover: #f58a52;
--action-ink: #35170a;
--accent-soft: #5b2b17;
--accent-line: #8b3513;
--accent-deep: #171c20;
--link: #f8b08c;
--focus: #ef6d32;
--ok: #8ac783;
--caution: #f2c45a;
--danger: #ffa3ab;
}Brettel / Viénot Linear-RGB Projection
Color-Blindness Simulation Matrix
Inspect how the selected foreground and background pair holds up across Normal trichromacy, Protanopia (L-cone), Deuteranopia (M-cone), and Tritanopia (S-cone).
NormalAA · 5.40:1
Baseline trichromacy
#35170a / #ef6d32Lc +44.7 (Spot)
ProtanopiaAA Large · 4.47:1
~1.0% male · red-blind
#1f1b09 / #92822aLc +36.2 (Spot)
DeuteranopiaAA · 5.98:1
~1.1% male · green-blind
#26220a / #b19f2eLc +49.1 (Large / UI)
TritanopiaAA · 5.38:1
~0.01% · blue-yellow
#36151a / #f2647aLc +44.5 (Spot)