CodeChroma All articles
Accessibility & Colour Systems

The Judge's Table: A Rosette-Inspired Ranking System That Keeps Colour in Its Place

CodeChroma
The Judge's Table: A Rosette-Inspired Ranking System That Keeps Colour in Its Place

Photo: Bill Nicholls, CC BY-SA 2.0, via Wikimedia Commons

Village shows are a masterclass in quiet hierarchy. A handwritten schedule tells you that Class 14 is Victoria sponges; a card on the trestle table says 'three entries'; and a cluster of rosettes announces who the judge liked best. The colours are familiar — red, blue, yellow, green — but the real work is done by labels, placement and the judge's comments. That is exactly the attitude to borrow when you build a ranked data table.

At CodeChroma we like colour that earns its keep. So here is a rosette-inspired ranking system for tables: semantic tokens, cream-paper contrast, and a firm rule that colour never carries the medal on its own.

Start with the schedule, not the swatches

A village-show schedule is a form of information design. It groups classes, sets expectations and tells you what counts as a win. Your table needs the same backbone before it needs a palette. Decide what the ranks mean: first, second, third and commended. Then decide what the table must still communicate when the CSS fails, when the screen is greyscale, or when someone cannot distinguish red from green.

That means every ranked row should have a text label, a position number, and a visible badge or border style. The colour is a supporting actor. In a village hall, nobody relies on the rosette alone — the judge's slip and the class card do the explaining. In a data table, your row header and badge text do the same job.

Four ribbons, four jobs

The classic rosette palette is red for first, blue for second, yellow for third and green for commended. It is a useful starting point, but do not paste those colours straight onto full rows. Saturated red behind body text is a readability tax. Instead, use a tinted background, a stronger border and a solid badge. The row stays calm; the badge carries the colour.

Here is a small token set for a cream-paper interface. The tints are deliberately light enough for dark text, and the borders are strong enough to be seen as non-text indicators:

:root {
  --paper: #f6f0e2;
  --ink: #231f20;
  --rank-first-bg: #fde7e4;
  --rank-first-border: #a61b1b;
  --rank-first-ink: #5c1010;
  --rank-second-bg: #e7eefc;
  --rank-second-border: #1756a9;
  --rank-second-ink: #0d2e5c;
  --rank-third-bg: #fff3c4;
  --rank-third-border: #8a6500;
  --rank-third-ink: #4a3700;
  --rank-commended-bg: #e6f4e8;
  --rank-commended-border: #2f6b3c;
  --rank-commended-ink: #173d20;
}

Use these as semantic tokens, not as decorative names. --rank-first-bg tells the next developer what the colour is for. --rosette-red would only tell them what it looks like. Semantic naming is the difference between a schedule card and a pile of loose ribbon.

Cream paper is the real test

Most colour systems are tested on white. Village-show ephemera is not white. It is cream card, off-white schedule paper and tea-stained trestle-table cloth. If your site uses a warm paper background, test the whole table on that background, not on a pure white mock-up.

The tokens above are chosen to sit on --paper with dark ink. Keep body text at --ink or darker; do not tint the text to match the rosette. The badge can use the border colour as a background with white text where contrast allows, but yellow is a warning sign. A yellow badge with white text is a classic accessibility own goal. Use dark ink on yellow, or use a bordered yellow badge with the rank text in --rank-third-ink.

Aim for at least 4.5:1 contrast for normal text and 3:1 for large text and meaningful non-text indicators. Check the badge text and the row text separately. A tinted row can look lovely and still fail because the text inside it is too light.

Never let a rosette be the only signal

This is the rule that matters more than any hex value. Colour alone should never carry the medal. In a ranked table, give every row at least three signals:

  1. A text label: First, Second, Third, Commended.
  2. A position number in its own column.
  3. A visual marker: badge, left border or pattern.

For screen readers, make the rank explicit in the row header. For example:

<tr class='rank-first'>
  <th scope='row'>
    <span class='badge'>1st</span>
    <span class='visually-hidden'>First place</span>
    [Ada Lovelace](https://en.wikipedia.org/wiki/Ada_Lovelace)
  </th>
  <td>96</td>
  <td>Victoria sponge</td>
</tr>

The badge is not the only thing saying 'first'. The 1st text says it, the visually hidden text says it, and the row class gives you styling hooks. If someone prints the page in black and white, the labels still work. If someone uses a high-contrast mode, the borders and text still work.

A table that behaves like a schedule card

The best village-show tables are scannable. They have clear columns, generous row spacing and a sense of occasion without confetti. Borrow that discipline. Use a left border on ranked rows, but keep the border thick enough to notice — 3px or 4px. Add a small badge with a ribbon-like shape if you like, but do not let the shape replace the word.

Also, consider the 'commended' rank. It is not a failure; it is a useful middle state. Green works well for it, but green can also read as 'success' or 'go'. Pair it with the word 'Commended' every time. In a table of competition results, context is everything.

When the palette meets the real world

Test your table with real content: long names, tied scores, missing ranks and a row that is both 'first' and 'highly commended'. Village shows have ties, withdrawals and special awards. Your design should not collapse when the data gets messy. Use a neutral row style for unranked entries, and reserve the rosette tokens for rows that actually have a rank.

Finally, keep the palette small. Four ranks are enough. If you add a fifth colour, ask whether it is a rank or a note. Most of the time, it is a note — and notes should use text, not another ribbon.

Colour can make a ranking table feel like a prize-giving: warm, legible and a little bit special. But the medal should always be readable in words. That is the village-show way, and it is a good way to build for the web.

All Articles

Related Articles

Behind Every Flap: A 24-Door Advent Palette That Welcomes Every Visitor

Behind Every Flap: A 24-Door Advent Palette That Welcomes Every Visitor

Steeping the Spinner: A Tea-Rack Colour Ramp for Loading States

Steeping the Spinner: A Tea-Rack Colour Ramp for Loading States

Roll Up, Roll Up: A Fete-Ready Tombola Ticket Press for Screens and Cheap Printers

Roll Up, Roll Up: A Fete-Ready Tombola Ticket Press for Screens and Cheap Printers