Skip to contentDigital tools for business, much of it free

Colour Contrast Checker (WCAG)

Free WCAG contrast checker: test the ratio between text and background against AA and AAA. For accessible, readable websites.

14.68 : 1

AA (normal): passed ✓AA (large): passed ✓AAA (normal): passed ✓AAA (large): passed ✓

“Large” = from 18.66px bold or 24px regular. AA requires 4.5:1 (normal) / 3:1 (large), AAA 7:1 / 4.5:1.

Sample text

Digitalisation for businesses — accessible and readable for everyone. This preview text uses the colours you selected.

Smaller body copy for a second check.

Guide: Colour Contrast Checker (WCAG)

Whether text is readable is not decided by taste but by the difference in brightness between the type and its background. The web accessibility guidelines express that as a ratio: 1:1 means identical colours, 21:1 is black on white. From 4.5:1 normal text counts as sufficiently readable, large type from 3:1 — that is level AA. If you want to be stricter, aim for AAA at 7:1.

This tool calculates the ratio for a pair of colours and tells you straight away which levels pass: AA and AAA, each for normal and for large text. Enter the two colours as hex values or pick them from the colour fields.

The practical value lies less in the grade than in the correction: almost every corporate grey on white fails narrowly, and almost always it is enough to pull the type a shade darker rather than rework the design. What is often forgotten matters too — every combination that actually occurs needs checking: light text on a coloured button, text over an image, the hint text inside a form field.

Typical use cases

  • Checking a new website before launch

    Walk through body text, headings, links and buttons once before the site goes live — afterwards every change costs more.

  • Reusing colours from the logo

    A brand colour that looks right in a logo is often too light as type. The check shows whether a darker variant is needed.

  • Testing buttons and notices

    White type on an action button is the most common silent failure — the button stands out, the text on it is still hard to read.

  • Preparing for public-sector work

    Accessibility is binding for public bodies' websites. A contrast check is one of the first items in any acceptance review.

  • Verifying a dark design

    Light type on a dark ground behaves differently from the reverse. Both variants of a page deserve to be checked separately.

How to use it

  1. Enter the text colour

    Give the type colour as a hex value or pick it from the colour field. Short forms such as #fff are understood as well as the long notation.

  2. Enter the background colour

    What matters is the colour that genuinely sits behind the text in the finished layout — the surface of the card or the button, not the page colour behind that.

  3. Read the result

    The ratio appears together with four verdicts: AA and AAA, each for normal and large text. Large means from 18.66 pixels bold or from 24 pixels regular.

  4. Adjust

    If it falls short, change the brightness of the type colour first and leave the hue alone — the brand impression survives and the text becomes readable anyway.

What happens to your data

The calculation runs entirely in your browser; no colour values are transmitted or stored. The tool checks the contrast ratio under WCAG 2.1 and nothing else — it is one building block of accessibility, not a certificate of it. Keyboard operability, meaningful alternative texts, labelled form fields and a coherent heading structure all belong to it as well.

Frequently asked questions

What is the difference between AA and AAA?

AA requires 4.5:1 for normal and 3:1 for large text, and is the level aimed at in practice. AAA requires 7:1 and 4.5:1 respectively. AAA is demanding for longer body text and is usually only required where a particularly broad readership must be reached.

When does type count as large?

From 18.66 pixels in bold or from 24 pixels at normal weight — roughly 14 and 18 point. Below that the stricter requirement for normal text applies.

Does this apply to logos and images?

Not to logos as such, which are exempt. Text set as part of an image does have to meet the requirement — and interface controls and graphics that carry information need at least 3:1 against their surroundings.

My grey fails narrowly. What now?

Reduce the brightness of the type colour and leave the hue unchanged. In most cases a few per cent is enough to move from 4.1:1 to over 4.5:1 without the overall impression visibly changing.

Does my website have to be accessible?

For public bodies in Germany it is binding. Since June 2025 the Barrierefreiheitsstärkungsgesetz has also imposed requirements on many private online offerings, in online retail for instance; micro-enterprises are partly exempt. Regardless of obligation: readable text helps everyone, including in sunlight on a phone.

Updated: By Julian Tracht, owner and developer, Tracht Digital Solutions

Categories

Marketing

QR Code GeneratorUTM Link BuilderBusiness Card Designer

Security

Password Generator

Developer

JSON Formatter & Validator

Design

Colour Contrast Checker (WCAG)

Media

Compress ImageImages to PDFCompress PDFPDF to ImagesPDF WatermarkPDF Tools

Content

Text Recognition (OCR)

Business

Print LabelsTimesheet

Compliance

Accessibility Statement GeneratorPrivacy Policy Generator (GDPR)German Imprint GeneratorAI Image Labelling

Search

Print LabelsMake your own label sheet: pick the grid, paste the addresses, print the PDF. Fits the common sheets and needs no installation at all.TimesheetCreate a monthly timesheet as a PDF: enter the hours, deduct the breaks, the totals are worked out. Ready to print and sign.Accessibility Statement GeneratorWrite an accessibility statement for the German BFSG or for BITV 2.0: compliance status, feedback route and enforcement, as a sample.Privacy Policy Generator (GDPR)Assemble a sample GDPR privacy policy from blocks: hosting, contact form, cookies, analytics and newsletter. Nothing is uploaded anywhere.German Imprint GeneratorBuild a sample imprint under section 5 DDG: legal form, register, VAT ID and supervisory body appear as you tick them. Runs in your browser.AI Image LabellingLabel AI images as required: burn a visible badge into the picture and embed a machine-readable note in the PNG or JPEG. All in your browser.Text Recognition (OCR)No more retyping: text recognition for photos and scanned images, German and English. It runs on your device and the picture stays there.Colour Contrast Checker (WCAG)Free WCAG contrast checker: test the ratio between text and background against AA and AAA. For accessible, readable websites.JSON Formatter & ValidatorFree JSON formatter: indent, validate and minify with precise error positions. Runs completely in your browser — your data is never uploaded.QR Code GeneratorFree QR code generator for URLs, text, Wi-Fi access and vCards. PNG and SVG download, everything local in your browser — no sign-up needed.UTM Link BuilderFree UTM builder: create trackable marketing links with utm_source, utm_medium and utm_campaign. Built right in your browser, no sign-up.Business Card DesignerDesign a business card in the browser: accent colour, surface, corners, shadow and layout, with a live preview. PNG download at 85 × 55 mm, 300 dpi.Compress ImageFree image compressor: shrink and compress JPG, PNG and WebP files with adjustable quality. Runs in your browser, nothing is uploaded.Images to PDFTurn photographed receipts and scans into one clean PDF: set the order, choose a page size, done. No upload, straight in your browser.Compress PDFShrink a PDF without an upload: the embedded images are recomputed in your browser while the text is left untouched. For attachments too big to send.PDF to ImagesConvert PDF pages into images: choose the resolution and the format, single pages or all of them. The file never leaves your machine.PDF WatermarkPut a watermark on a PDF: “Draft”, “Confidential” or a wording of your own, with an adjustable angle and opacity. Runs locally in your browser.PDF ToolsPDF tools: merge several PDFs, split out a page range and rotate pages. Straight in your browser, with no upload of your documents.Password GeneratorFree password generator: secure random passwords with adjustable length and character sets. Runs entirely in your browser, nothing is transmitted.

More

Appearance

Language

Saved for you — on every Tracht Digital site.

More from Tracht Digital

JournalShopHomeGet in touch