wcag-audit-perceivable-color-contrast

Installation
SKILL.md

When to Use

Use this tool when checking color combinations for WCAG compliance, testing text readability, or validating non-text contrast ratios.

Usage

Command Line

node scripts/calculate.js --foreground "#000000" --background "#FFFFFF"
node scripts/calculate.js --fg "rgb(0,0,0)" --bg "rgb(255,255,255)"
node scripts/calculate.js --fg "#FF0000" --bg "#00FF00" --type "non-text"

JSON Input

node scripts/calculate.js --json '{"foreground": "#000000", "background": "#FFFFFF"}'
Related skills
Installs
11
GitHub Stars
1
First Seen
Jan 20, 2026