Ireland version. Explains the Irish rules: EN 301 549 (broadly WCAG 2.1 AA) for public sector sites under the 2020 Regulations, and the European Accessibility Act for many businesses since 28 June 2025. US version
Colour Contrast Checker (Ireland)
Check text colours against WCAG 2.1 AA, the level behind EN 301 549 that Irish public bodies must meet and the European Accessibility Act builds on.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the Color Contrast Checker?
Colour contrast is a legal requirement for Irish public bodies. The European Union (Accessibility of Websites and Mobile Applications of Public Sector Bodies) Regulations 2020, in force since 23 September 2020, require their websites and apps to comply with the harmonised standard EN 301 549 v3.2.1. The National Disability Authority describes that as broadly equivalent to WCAG 2.1 level AA, and it monitors compliance as the national monitoring body.
Private companies are now in scope too. The European Accessibility Act applies from 28 June 2025 and was transposed in Ireland by S.I. No. 636 of 2023. It covers e-commerce services, e-books, payment terminals, ATMs, ticketing machines and other listed products and services, with the Competition and Consumer Protection Commission as market surveillance authority for most of them. EN 301 549 is among the harmonised standards being prepared for it.
Under WCAG 2.1 AA, normal text needs a contrast ratio of at least 4.5:1, large text 3:1, and user interface components and graphics 3:1 against what sits next to them. The checker cuts the ratio to two decimals and never rounds it up, so 4.49:1 shows as a fail.
- Exact WCAG 2.x contrast ratio from the official luminance formula
- AA and AAA results for normal and large text
- No rounding up: 4.499:1 is reported as a fail
- Accepts #rgb and #rrggbb, with a color swatch for each color
- Live preview at body, large and large bold sizes
- Runs in your browser
Updated
How to use the Color Contrast Checker
- Enter the text color in Foreground Color (Text) and the background in Background Color, as hex or with the color swatch.
- Read the Contrast Ratio and the Normal Text and Large Text badges: AAA, AA or Fail.
- Look at the Live Preview to see the pair at 16px, 24px and 18.66px bold.
- Use Swap Colors to test the reversed pair for dark mode, and Copy to paste the result into a ticket or design review.
Worked examples
White text on a mid green button
Input
Text #ffffff on #169b62, then #000000 on #169b62
Output
3.55:1 (fails AA for normal text, passes for large text) and 5.89:1 (passes AA)
On a mid green like this, white text only works for large headings; for button labels, use black or a darker green such as #004d44 (9.79:1 with white).
Orange call to action
Input
White text on #ff8200, then black text on #ff8200
Output
2.48:1 (fails even for large text) and 8.44:1 (passes AAA)
Bright oranges nearly always need dark text to pass.
Grey help text on a light panel
Input
#6b6b6b on #f2f2f2, then #767676 on #ffffff
Output
4.76:1 and 4.54:1, both pass AA
#767676 is about the lightest grey that passes on white; on a tinted panel the grey has to be darker to keep the same margin.
Form field borders
Input
Border #949494 on a white page
Output
3.03:1, just passes the 3:1 non-text contrast rule
WCAG 2.1 success criterion 1.4.11 asks for 3:1 for the visual edge of inputs and buttons, which NDA's in-depth reviews test along with text contrast.
Background and insight
The formula comes from WCAG 2.0 (2008) and is unchanged in WCAG 2.1 and 2.2. Each sRGB channel is scaled to 0 to 1 and linearised: values at or below 0.04045 are divided by 12.92, the rest go through ((c + 0.055) / 1.055) raised to 2.4. Relative luminance is then 0.2126 R + 0.7152 G + 0.0722 B, which is why green contributes most to perceived brightness and blue barely matters. The contrast ratio is (L1 + 0.05) / (L2 + 0.05) with L1 the lighter color, giving a range from 1:1 to 21:1.
Success Criterion 1.4.3 (AA) asks for 4.5:1 for normal text and 3:1 for large text. 1.4.6 (AAA) raises that to 7:1 and 4.5:1. Large means at least 18 point or 14 point bold. CSS has 96 pixels per inch and 72 points per inch, so that is 24px regular or about 18.66px bold. A common mistake is reading "18" as 18px: a 20px semibold subheading is still normal text under WCAG.
WCAG explicitly says not to round: 4.499:1 does not meet 4.5:1. The successor algorithm being discussed for WCAG 3, APCA, weighs font size and polarity differently and often disagrees with these results, especially for dark mode. For legal and procurement purposes today (ADA cases in the US, EN 301 549 in the EU), WCAG 2 ratios are what auditors check.
Common use cases
Design reviews
Check each text and background pair in a palette before it reaches code, including placeholder and disabled text.
Accessibility audits
Verify findings from automated scanners and get an exact ratio to put in the audit report.
Dark mode palettes
Swap colors to test light text on dark surfaces, where low contrast mistakes are common.
Brand color decisions
Find out whether a brand color can carry white text or needs a darker shade for buttons and links.
Tips and limitations
- Public bodies must keep an accessibility statement on their site; list any colour pairs that still fail there, with a contact for people who need help.
- NDA's simplified reviews scan pages automatically with the axe-core engine, so run your own automated check before a Notice of Monitoring arrives.
- Check hover and focus states and text over photos, not just the default colours; WCAG exempts only inactive (disabled) controls.
Sources and further reading
- What are the EU Web Accessibility Requirements?, National Disability Authority. EN 301 549 v3.2.1, broadly equivalent to WCAG 2.1 AA; accessibility statements; scope and exemptions of the 2020 Regulations.
- How NDA monitors compliance under the Directive, National Disability Authority. Simplified reviews with axe-core and in-depth reviews against WCAG 2.1 and EN 301 549.
- European Accessibility Act, Centre for Excellence in Universal Design, National Disability Authority. Applies from 28 June 2025; S.I. No. 636 of 2023; CCPC and the compliance authorities; harmonised standards including EN 301 549.
- Web Content Accessibility Guidelines (WCAG) 2.1, W3C. Success criteria 1.4.3 Contrast (Minimum) and 1.4.11 Non-text Contrast.
Frequently asked questions
Which accessibility standard applies to Irish public sector websites?
EN 301 549 v3.2.1, under the 2020 Regulations that implement the EU Web Accessibility Directive. The National Disability Authority describes it as broadly equivalent to WCAG 2.1 level AA.
Does the European Accessibility Act apply to my online shop in Ireland?
E-commerce services are one of the services the Act covers, and it applies to any company trading in the EU, wherever it is based. The Competition and Consumer Protection Commission is the market surveillance authority for e-commerce in Ireland.
Who checks Irish public sector websites?
The National Disability Authority, the national monitoring body. It runs simplified reviews on a subset of WCAG 2.1 criteria across many pages, and in-depth manual reviews against all relevant WCAG 2.1 and EN 301 549 criteria.
Are any public sector sites exempt?
The 2020 Regulations do not apply to public service broadcasters or to certain NGOs that do not provide essential public services or services for people with disabilities. Some content, such as live media and older office documents, is also exempt.
Is WCAG 2.2 required in Ireland?
The public sector standard is EN 301 549 v3.2.1, which lines up with WCAG 2.1 AA. The thresholds this checker applies (4.5:1 for text, 3:1 for large text and interface parts) are the WCAG 2.1 AA ones.
Is there an in-depth guide to the Color Contrast Checker?
Yes. “WCAG Color Contrast: How the Ratio Works and How to Pass AA” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.