Guide · Developer Tools / Developer Tools
About Color Converter
Convert any HEX, RGB, or HSL color string across formats and check WCAG contrast ratios against white and dark text.
When to use this tool
Helpful for front-end engineers verifying button contrast ratios or translating CSS colors between HEX, rgb(), and hsl().
How to use Color Converter
- Pick a color or enter a HEX (#D6F538), RGB, or HSL string.
- Copy HEX, RGB, or HSL outputs.
- Check WCAG AA/AAA contrast ratings against light and dark foregrounds.
Supported inputs, options, and outputs
- Parses 3/6-digit HEX, rgb(r, g, b), and hsl(h, s%, l%).
- Computes WCAG relative luminance and contrast ratios cleanly.
Accuracy notes and limitations
- Alpha transparency channels and wide-gamut oklch()/display-p3 inputs belong in the dedicated OKLCH converter tool.
Privacy and browser processing
Inputs and calculations run inside your browser tab without uploading documents or financial figures to IJM servers. Hosted deployments load cookie-free page-view analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Developer Tools.