Color Contrast MCP tool
MCP
findutils:color_contrast Compute the WCAG 2.1 contrast ratio between two colours (accepts #rgb, #rrggbb, and rgb()/rgba() formats) and report whether it passes AA/AAA for normal and large text.
Arguments
application/json-
foreground
string required
Foreground / text colour.
-
background
string required
Background colour.
Example arguments
Verified{
"foreground": "#000",
"background": "#fff"
} More Developer tools
- A2ui Basic Catalog Returns the authoritative basic-catalog JSON Schema (components, functions, theme) for the requested A2UI version.
- A2ui Diff Computes a structural diff between two A2UI JSONL payloads: surfaces added/removed, components added/removed/changed (by id), data-model…
- A2ui Examples Returns one or more canonical A2UI JSONL examples matching a pattern (form, list, wizard, modal, chat, dashboard, checkout, typeahead…
- A2ui Prompt Generates a drop-in LLM system prompt that teaches the model to output valid A2UI JSONL: includes the basic-catalog component / function…
- A2ui Spec Returns A2UI protocol documentation for a given spec version and section.
- A2ui Validate Validates a JSONL A2UI payload against the basic catalog (or a custom catalog) and returns any errors, warnings, or info messages…