Check four contrast pairs on a health score dashboard: status labels on badges, status indicators, text on tinted rows, and status links or filters.
Key takeaways
- Every badge label meets your target against its fill, in light and dark themes.
- Every status indicator is visible against the actual card or row background.
- Every tinted row is flattened, and its text is measured on the blended color.
- Every status link and filter chip is distinguishable without color alone, and its contrast against nearby text is measured.
- Every state has a word or shape in addition to its color, and neighboring states differ by more than hue.
Why contrast matters on a health score dashboard
A health score dashboard turns a lot of judgment into a color. An account goes red, yellow, or green, and a CS lead scans a column of those colors to decide which customer gets a call today. If the colors are hard to tell apart, or the labels sink into their backgrounds, that scan breaks down. The people who most need the signal are not always the people who see it clearly. Some readers have low vision, some have color vision differences, and many are reading on a laptop in a bright office or a phone on a train.
Accessibility guidance is the best place to learn how to check this, and it gives you precise terms. In WCAG 2, contrast is a measure of the difference in perceived "luminance" or brightness between two colors. WebAIM also notes that the phrase "color contrast" is never used in WCAG. That distinction matters more than it sounds. Contrast measures brightness, not hue. Two colors can look clearly different to you and still sit close together in brightness, and brightness is what decides whether text is readable.
That brightness difference is expressed as a ratio that runs from 1:1, such as white on white, up to 21:1, such as black on white. Every check in this post is a pair of colors and a number on that scale. The work is to measure each pair that appears on your dashboard, against the background it actually sits on, and compare the result with the minimum you intend to meet.
This post covers four pairs that show up on almost every health score dashboard: status labels on badge fills, status indicators on the page, text on tinted row highlights, and status links or filters. For each one, you will see what to measure, how it goes wrong, and what to change. For the scoring side, see Health score setup: 8 rules for weights and validity. I have kept the advice general wherever a specific number would be guesswork.
Why color alone is a weak signal
Many dashboards rely on color as the only cue. A row is red, so it must be urgent. That works only if the reader can decode the hue correctly. Some readers cannot tell red from green. Others use a screen that washes colors out, or they scan so fast that a small difference in shade slips past them. Even someone with typical vision can misread a status when the list is long.
The fix is redundancy. Every status should carry a second cue, such as a word or a shape, and the color should support it rather than carry the whole message. Contrast checks have a narrower job. They make sure the colors you do use are readable against the surfaces they sit on. They do not replace the second cue, and a palette that passes every check can still be ambiguous if the statuses look alike. For the wider accessibility picture, see Form control contrast: 3 rules for cues and focus.
Check 1: Status labels on their badge fills
The first pair is the simplest. It is the label text inside each status badge, measured against the badge's fill. Teams usually choose the fill first because it looks urgent, then add a white or light label on top. Bright fills are where this goes wrong. WebAIM gives a stark example: pure green (#00FF00) has a very low ratio of 1.4:1. Most product palettes are not pure green, but the lesson carries over. A fill can look bold on a mockup and still leave its label close to unreadable.
Your target for label text is the minimum WCAG sets. WebAIM notes that 4.5:1 is the minimum required by WCAG, and it shows examples of text with almost exactly 4.5:1 contrast so you can calibrate your eye. Look at those examples before you pick colors. Once you have a feel for what 4.5:1 looks like, a badge label that appears clearly weaker than the examples is worth measuring, even if it looks fine on your monitor.
Here is the routine I would use for badges:
- List every badge combination: a white label on a red fill, a dark label on a yellow fill, a white label on a green fill, and any inverted version used in a dark theme.
- Measure each pair with a contrast checker, and record the ratio next to the color's name in your design system, so the number travels with the color.
- If a pair falls short of 4.5:1, change one of the two colors. The ratio depends only on the colors.
Yellow badges need extra attention. Yellow is a light color, so a dark label on a pale yellow fill can look crisp, while a white label on a mid-yellow fill can disappear. Test both label colors, and test in every theme where the color appears, because the same yellow often shows up in tables, cards, and summaries. For related checks, see Status message examples: 4 CS dashboard checks.
Check 2: Status indicators against the page
The second pair is the indicator itself: the colored dot, bar, or icon that carries the status. Teams check the text carefully and forget the dot. But the dot is a graphic a reader uses to make a decision, and it has to stand out from the surface behind it. A yellow dot on a white card and a dark red dot on a near-black card can both fade, while the text beside them stays perfectly readable.
WebAIM uses its own examples to show the range, and one of them is pure blue, which has a contrast ratio of 8.6:1. Treat numbers like that as reference points rather than targets. You are not trying to match blue. You are trying to see how far each indicator color sits from the surface it is on, and whether the three statuses separate from one another as well as from the background.
Measure each indicator against the surface it actually sits on. A row may be white, gray, or tinted, and a dark theme changes the whole picture. Check light and dark themes separately, because a status color that works in one can disappear in the other. Then run a grayscale test. View the dashboard without color and see whether the three statuses still look different. If red, yellow, and green turn into three similar gray tones, the statuses depend on hue alone, and some readers will miss them.
Pair the color with a second cue. A shape works well: a filled circle for healthy, a triangle for at risk, an X for a lost account. A word works too, such as "Healthy" beside the dot. The shape or word does not replace the contrast check, but it means a reader who cannot separate the colors still gets the message.
Check 3: Text on tinted row highlights
The third pair appears when teams highlight rows. A common pattern is to tint the row for an account at risk with a light red, then place the row's text on top. Many teams set that tint with transparency, using an rgba color with an alpha value. WebAIM explains that alpha is presented as a number between 0 (completely transparent) and 1 (completely opaque). An alpha below 1 means the tint blends with whatever sits underneath it.
That blending is the trap. The red in your code is not the color a reader sees. The reader sees the red mixed with the row background, which might be white in the main table, gray in a grouped view, and dark in a dark theme. The same tint can produce three different results. The contrast that matters is between the text and that blended color, so you need to measure the final color on screen rather than the color you specified.
Here is a practical routine:
- Work out the solid color each tinted state produces on each background it appears on.
- Measure the row text against each of those solid colors.
- If the text falls short, lighten the tint, darken the text, or move the highlight to a left border or an icon, so the row text sits on the plain background.
A left border is often the cleanest option. It keeps the row text on the untinted surface, and the highlight still tells a reader that something has changed. Use it when the tint is hard to make readable across every theme.
Check 4: Status links and filters
The fourth pair appears when a status is clickable. Many dashboards let a CS lead click "At risk" to filter the account list, or click an account name inside a red status cell to open its record. If that link looks different from the surrounding text only through color, then the color difference is doing all the work.
WebAIM points to a specific WCAG rule for this case: One additional success criterion, 1.4.1 Use of Color, references the contrast ratio as part of the requirement for links that are differentiated by color alone. In plain terms, when color is the only thing that sets a link apart from the text around it, the contrast ratio between the link and that text is part of what the standard checks.
Practical steps follow from that. Underline links that sit inside running text, or give them another cue such as an icon or a border. Then measure the link color against the color of the text around it. For filter chips, check both the selected and unselected states against their background. The selected state should be clear without relying on hue alone, so a reader can tell which filter is active even if they cannot see the difference in color.
Small differences between states
Many dashboards have more than three states. You might show healthy, watch, at risk, critical, and churned, and each one gets a shade. The trap is that the shades drift. Two oranges that look different on a designer's screen can look nearly identical on a cheap monitor, or to a reader with a color vision difference. Keep the number of states small, and separate neighboring states by more than a slight shift in hue.
When you add a state, check it against its nearest neighbor, not only against the background. Ask whether a reader could mistake it for the state beside it on the scale. If the answer is yes, change the shape, the label, or the lightness, not just the hue. Lightness is a useful lever because it is the same kind of brightness difference that contrast measures.
Dark mode doubles the work
Dark themes are where many status palettes quietly fail. A red that reads well on white can turn muddy on a near-black card, and a bright green can glow so strongly that it hurts to look at beside body text. The colors may be the same hex values in both themes, but the surfaces change, so every pair has to be measured again.
Plan for that from the start. Define each status as a named color with a light and a dark value, rather than letting one value stretch across both themes. Then check the pairs from all four checks in each theme. It is more work at the outset, and it prevents a late discovery that the dark view of your most important dashboard is the hardest one to read.
Test on every change
Manual measurement works for a palette you set once. It does not protect you from changes made later. Someone adjusts a color value next quarter, and the yellow badge quietly drops below your target. The U.S. Web Design System recommends that you scan with automated tools, like pa11y and aXe, on every code change. Apply that to the dashboard. Add an automated scan to your build pipeline, so each change to the status colors runs through it.
Automated scans have limits. They can measure many pairs quickly, but they cannot tell you whether a shift from one orange to another makes sense to a CS lead glancing down a long list, or whether a tinted row reads as urgent. Keep a short manual review for those questions. Ask two or three CS leads to find the at-risk accounts in a screenshot without reading the labels, and watch where they hesitate. Their hesitations will show you the gaps the scan missed.
Illustrative example: an account list
Consider an account list with status badges, a dot in each row, tinted at-risk rows and a filter bar.
Start with the badges. The yellow badge has a dark label on a pale fill, and the red badge has a white label on a mid-tone fill. If the white label on the red fill falls short, darken the fill slightly.
Next, the dots. Add a triangle beside the yellow dot on the white card, so the status survives a grayscale view.
Then the tinted rows. The tint uses alpha, so it blends differently on the white table and the gray panel. Measure the row text on each blended color. On the gray panel it is weakest, so swap the tint for a left border there.
Finally, the filter bar. The blue "At risk" link differs from gray text only by color, so add an underline.
How to bring your team along
Contrast work is easier to approve when it is framed as readability rather than brand. Show a before and after screenshot of the same account list, and point to the rows a CS lead would miss in the first version. Keep the ratios in your design system, so the next person who changes a color can see what it was built to meet. Agree on the minimum in writing before the work begins, so nobody has to argue about it during a review.
It also helps to name an owner. Someone on the CS operations or design side should be responsible for the status palette, and any change to it should go through the same checks. Without an owner, the palette drifts one reasonable-looking tweak at a time.
Where to start
Start with the view your team opens every morning. Run the four checks there, record each ratio, and fix the weakest pair first. If your dashboard uses shared design tokens, a fix made once in the tokens reaches every view that uses them. Then expand the checks to the rest of the product, and keep the numbers next to the tokens so the work does not have to be repeated.
Sources
Limits of this post
This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.