wcag-contrast

Verify color contrast against WCAG 2.2 AA standards.

1|Updated May 15, 2026
One-click install
npx skills add https://github.com/thrillmade/agent-skills --skill wcag-contrast
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wcag-contrast
Source: https://github.com/thrillmade/agent-skills/tree/main/skills/wcag-contrast
Command: npx skills add https://github.com/thrillmade/agent-skills --skill wcag-contrast

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps verify color pairings meet WCAG 2.2 AA contrast requirements, ensuring legal compliance and accessibility for your design.

Core Features & Use Cases

  • WCAG Contrast Compliance: Validates that color pairs meet the WCAG 2.2 AA contrast standards.
  • Cross-Check with APCA: Used as a secondary check alongside APCA-driven color generation.
  • Design Auditing: Assists in auditing existing designs or token catalogs for compliance.
  • PR Code Reviews: Helps during code reviews on PRs that change color tokens or focus indicators.

Quick Start

Run the wcag-contrast skill to check the contrast of the colors used in the 'theme-colors.json' file.

Frequently Asked Questions about wcag-contrast

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check color contrast for WCAG 2.2 AA compliance?

To check color contrast for WCAG 2.2 AA compliance, calculate the luminance ratio between foreground and background colors, then apply specific contrast thresholds for text and UI components to validate your design.

Can I audit an existing design token catalog for accessibility compliance?

Yes, you can audit existing design token catalogs for accessibility compliance by verifying that color pairs within your theme files meet WCAG 2.2 AA contrast requirements during a design audit.

How do I verify color contrast during a PR code review?

You verify color contrast during a PR code review by calculating luminance ratios for altered color tokens or focus indicators, ensuring the new color schemes pass WCAG 2.2 AA thresholds.

What is WCAG 2.2 AA contrast ratio verification?

WCAG 2.2 AA contrast ratio verification is the process of calculating luminance ratios between color pairs and applying specific accessibility thresholds to ensure text and UI components are legally compliant.

Does WCAG contrast checking work as a secondary check after APCA color generation?

Yes, WCAG contrast checking works as a secondary check after APCA color generation by applying WCAG 2.2 AA thresholds to the generated color pairings to verify they meet legal-baseline accessibility requirements.

What are the limitations of using WCAG 2.2 AA for color accessibility?

A limitation of using WCAG 2.2 AA is that it requires specific luminance ratio thresholds for text and UI components, meaning it serves primarily as a compliance check rather than a color generation method.