Color Converter
Convert HEX, RGB and HSL and check contrast ratios against white and black.
Runs on your device. Files are never uploaded.How to use Color Converter
- Enter a colour
- Read HEX, RGB and HSL
- Check the contrast grades
About this tool
Enter any colour and get all three notations, plus WCAG contrast ratios to see whether it is accessible as text on light or dark backgrounds.
Like every tool on YantraStack, it is free with no accounts, limits or watermarks, and it works offline once the page has loaded. See how to verify that nothing is uploaded.
Questions
What contrast do I need?
WCAG AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1.
Guides
How to convert HEX, RGB and HSL colours and check contrast
Convert any colour between HEX, RGB and HSL and see its contrast ratio against white and black with AA and AAA grades for readable design.
QR code error correction explained (L, M, Q, H) and printing tips
Understand the four error correction levels in QR codes, what size and colours scan reliably, and when to choose PNG or SVG.