Color Converter & Contrast Checker Free

Type a colour in any format — #2E8B57, rgb(46 139 87), hsl(146 50% 36%) or a CSS name — and get every other format instantly, plus tints, shades and a contrast check.

🌈 Colour

#2E8B57
HEX#2E8B57
RGBrgb(46, 139, 87)
HSLhsl(146, 50%, 36%)
HSV / HSBhsv(146, 67%, 55%)
CMYKcmyk(67%, 0%, 37%, 45%)
OKLCHoklch(56.9% 0.119 154.9)
Tailwind arbitrarybg-[#2E8B57]
Tints & shades

♿ Contrast checker

Large heading text
Normal body text at 16px should be easy to read for everyone.
Contrast ratio4.25 : 1
AA — normal text (4.5:1)✗ Fail
AA — large text (3:1)✓ Pass
AAA — normal text (7:1)✗ Fail
AAA — large text (4.5:1)✗ Fail
UI components (3:1)✓ Pass
Built by Pyalm

Pyalm designs and builds fast, conversion-focused websites in Next.js — the same stack these tools run on. If you'd rather have it built than fiddle with CSS, talk to us.

Pyalm serviceWebsite developmentFast, SEO-ready business websites and web apps built in Next.js — designed around the questions your buyers ask.See website development Pyalm serviceCustom softwareInternal tools, portals and business systems built around how your team actually works — not the other way round.See custom software

One colour, many formats

Designers hand over HEX, CSS uses RGB, HSL or the newer OKLCH, and printers want CMYK. Converting by hand is error-prone; paste any format here and copy the one you need.

Accessible contrast

WCAG 2.2 requires a contrast ratio of 4.5:1 for normal text (AA) and 3:1 for large text; 7:1 meets the stricter AAA level. Choose a text and background colour to see the ratio and which levels pass.

Related

More free tools you might need

🎨

Color Palette GeneratorFree

Generate harmonious colour palettes, lock the ones you like, extract colours from an image and export as CSS or Tailwind.

🔲

CSS Box Shadow GeneratorFree

Design layered CSS box shadows visually and copy the CSS or Tailwind class.

🌬️

Tailwind CSS PlaygroundFree

Write HTML with Tailwind CSS classes and see it render live — with starter templates.

Browse all free tools

FAQ

Frequently asked questions

Is the CMYK value exact for print?

It's a mathematical conversion without a colour profile. Printers use ICC profiles specific to their press and paper, so treat it as a starting point and ask for a proof for brand-critical work.

What is OKLCH?

A modern CSS colour space where lightness is perceptually uniform, so two colours with the same L value genuinely look equally light. It makes building consistent colour scales much easier and is supported in all modern browsers.

Want a website that ranks and converts?

Pyalm designs and builds fast, conversion-focused websites in Next.js — the same stack these tools run on. If you'd rather have it built than fiddle with CSS, talk to us.

See website development