dragoon0x/optik

contrast

Check WCAG contrast ratios between any two colors. Reports AA/AAA compliance for normal text, large text, and UI components.

First seen May 9, 2026

Installation

$ npx skills add dragoon0x/optik --skill contrast

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from dragoon0x/optik · top by installs.

npx skills add dragoon0x/optik

Browse all from dragoon0x/optik

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 596 B
  • docs SUMMARY.md 140 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 6 installs

SKILL.md

/contrast — WCAG Contrast Checker

Usage

/contrast [foreground] [background]

Output

Calculate relative luminance and contrast ratio. Report:

  • Ratio (e.g., 7.2:1)
  • Normal text AA (4.5:1): PASS/FAIL
  • Normal text AAA (7:1): PASS/FAIL
  • Large text AA (3:1): PASS/FAIL
  • Large text AAA (4.5:1): PASS/FAIL
  • UI components (3:1): PASS/FAIL

If any check fails, suggest the nearest color that would pass.