Tanod Color Contrast Checker is a paid API for AI agents from tanod.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).
Calculates the WCAG 2.x contrast ratio between a foreground and background color and returns AA/AAA pass/fail results for normal text, large text, and UI components.
Check WCAG color contrast: ratio and AA / AAA pass or fail for normal text, large text and UI components (utilpeek, Tanod). Use when an agent must check whether text and background colors meet WCAG AA or AAA contrast.
Returns a JSON object with the contrast ratio (rounded and unrounded), the resolved RGBA values of both colors, whether they were composited, and separate pass/fail booleans for WCAG AA and AAA at normal text, large text, and UI component thresholds, plus a human-readable ratio string like '4.48:1' and a note explaining WCAG 2.x thresholds.
POSThttps://tanod.dev/v1/color/contrast?utm_source=zero.xyzUse this endpoint when you need a precise, standards-compliant WCAG 2.x contrast ratio check including separate pass/fail judgments for normal text, large text, and UI components — especially when building accessibility auditing workflows, design review agents, or automated CI checks for color compliance. It supports the full range of CSS color formats including hex, rgb(), rgba(), hsl(), hsla(), and named colors, making it versatile for any web design context.
| Field | Type | Description |
|---|---|---|
| background | string | The background color it sits on, in the same CSS color formats. |
| foreground | string | The text or UI color, a CSS color: hex (#rgb, #rrggbb, #rrggbbaa), rgb() / rgba(), hsl() / hsla() or a CSS color name. |
{
"type": "json",
"example": {
"note": "WCAG 2.x contrast; pass/fail compares the unrounded ratio. Large text: at least 18 pt (24 px), or 14 pt (about 18.7 px) bold. Thresholds: AA 4.5 normal / 3 large, AAA 7 / 4.5, UI components and graphics 3 (SC 1.4.11).",
"ratio": 4.48,
"background": "#ffffffff",
"composited": false,
"foreground": "#777777ff",
"large_text": {
"aa": true,
"aaa": false
},
"ratio_text": "4.48:1",
"normal_text": {
"aa": false,
"aaa": false
},
"ui_components": {
"aa": true
},
"ratio_unrounded": 4.478089
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"