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

  1. Enter a colour
  2. Read HEX, RGB and HSL
  3. 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

Related tools

↑ ↓ navigateEnter openEsc close