YYSI — AI News & Toolbox中文 ↗

Extract a palette and check contrast

Add one image and pick how many colors to extract (4-12). Click any swatch to copy its HEX, then use the contrast checker to test text on background combinations.

Free to useRuns in your browser — files are not uploaded1 image · 20 MB · 25 MP

Drag & drop one image here — or click to choose a file

JPG · PNG · WebP — the file stays on your device

How to use it

  1. Add one image and choose the number of palette colors.
  2. Click a swatch to copy its HEX value.
  3. Pick text and background colors to see the contrast ratio and WCAG verdicts.

Limits & formats

One image per run, up to 20 MB and 25 megapixels. Colors are extracted with median-cut quantization on a sampled pixel grid — a palette, not a brand guide. Contrast ratios follow the WCAG 2.1 relative-luminance formula; AA requires 4.5:1 (large text 3:1) and AAA 7:1, but the tool cannot judge whether a combination is readable for your specific audience or medium.

Privacy

Your image is processed locally in this browser tab. YYSI servers never receive your files. Only anonymous usage counters (tool name, success or failure, rough size range) are recorded.

Related tools

Feedback on this tool