CYBERDZYNES Independent digital design magazine

Brand & Type / Design practice

When brand colours have work to do

Give a bright identity colour a deliberate role while keeping focus, errors and confirmations distinct.

The accent identifies the publication, while an outline and a visible message identify two states that can occur together.

The imaginary journal Switchyard uses fluorescent yellow on every cover. When the newsletter form inherits it for focus, warnings and success, a colour that once made the journal recognisable starts making the form ambiguous. The useful question is where yellow can be itself and where a colour needs to tell the reader something precise about a state.

Separate the swatch from the job

Begin with an inventory of the form: resting input, focused input, invalid input, submit button and confirmation message. Keep the identity yellow for the submit button and give it a dark label. Choose a separate visible focus outline, an error treatment and a confirmation treatment. Name those roles for their work, such as focus ring and error text, rather than wiring the forms directly to a swatch called red or yellow.

For a starting specimen, put near-black text on bright yellow, use a deep plum focus ring on white and show a dark red error message beside the field. These are candidate pairings, not a claim that arbitrary shades of those colours pass contrast. Write down the actual foreground and background for each pairing when you choose the values.

Proof the state that happens next

Render an invalid email field while it still has keyboard focus. Keep the outline and put the error in its own visible line, such as 'Enter an email address with an @ sign.' Associate the message with the field in the markup. Don't let an error border replace the focus indicator; people can need both pieces of information at once. When the signup succeeds, show a clear confirmation with the next step instead of merely turning the button green.

Look at a greyscale copy. If you can't tell which field has the error, add a clearer message or stronger placement. Greyscale is a way to expose reliance on hue, not a substitute for checking contrast or the experience with assistive technology.

Measure the actual neighbours

WCAG 2.2 Level AA generally requires 4.5:1 for ordinary text. When a boundary or mark is needed to recognise an active control or a state change, check the non-text criterion and its exceptions. Where it applies, the target is 3:1 with the neighbouring colour on the screen. A ring drawn around a white field can face a different colour than the same ring around a yellow button; specify both contexts in the palette notes.

Repeat the check on every supported surface, including a dark theme if there is one. Name the combinations you allow instead of treating a successful result for one pair as approval for the entire palette.

Make the palette usable by the next editor

Store a specimen for each important state, including the focused error. Note the text and shape cues the colours accompany. If a later cover uses a new accent colour, let the new accent change the cover first. A seasonal art decision shouldn't quietly rewrite what an invalid field looks like.

Write the form as a sequence with branches

Extend Switchyard's fictional signup into a simple sequence: someone types an address, submits it, then either receives a confirmation or is asked to take another step. Draw a branch for an invalid address and a separate branch for a request whose outcome is unknown. In both cases the first instinct may be to paint the message red. The difference is what the reader can do. An address problem belongs near the field and needs an intelligible correction. An uncertain outcome belongs with the submission and should not tell readers they typed the address incorrectly.

Suppose the journal uses a confirmation email. A message saying 'You're subscribed' may be premature when the next step belongs to the reader. Write 'Check your inbox to confirm your subscription' if that is what the site actually knows and requires. Compare that with the message for a completed signup. Both can use a calm positive treatment, but the wording should separate a pending action from a finished task. If the subscription process does not use confirmation emails, proof the route it really takes instead of adopting the specimen copy.

Put the stages on one sheet with the reader's next action under each: type, correct, wait, check the inbox or return to reading. Identify changes that require no action and keep them comparatively quiet. An orange warning on every transitional stage can make the genuine problem hard to pick out. The sequence gives you a reason to assign visual attention without turning each distinction in the underlying process into a different swatch.

Sketch the combinations that a tidy palette misses

A state board that gives each specimen its own white card can hide the hard case. Use a single layout with a focused field that already shows an error, a message describing that error and the yellow submit button immediately below. Look at whether the eye can tell which outline belongs to keyboard focus, which text supplies the correction and which region is the action. Now repeat with focus on the button and the field still showing the error. If the identity accent is also used as a focus outline, the two scenes may appear virtually the same.

Try one change at a time. Leave the focus indicator in place and attach a short error heading to the message. If the text now reads as part of the button, move it closer to the field and add more separation before the action. If the focus treatment still blends into the field boundary, revise its geometry and pairing. A colour change might be right, but it's worth knowing whether the ambiguous signal is really due to placement, shape or text.

Add a narrow example with the correction wrapped across lines. Keep the beginning of the message close to its own field and let the container take the space it needs. A beautiful desktop specimen can go wrong if a two-line message looks like a label for the next control. Catch that in the prototype rather than shortening every future error to whatever the palette sheet happened to fit.

Separate a wait from a barrier

Imagine a slow reply after somebody submits. If the form uses a waiting treatment, give it a clear status such as 'Sending your request' and keep enough visual continuity for the reader to know which action is underway. Turning the button grey without saying anything can look like a new restriction, particularly to somebody returning their attention to the form after a distraction. Determine whether duplicate submissions are possible in the actual workflow and agree the interaction with the implementation team. A muted colour alone is not a plan for that behaviour.

Compare the waiting view with a genuinely unavailable option, such as a particular newsletter edition that is no longer accepting signups. Give the unavailable edition an explanation near its entry. If there is a current edition the reader can choose, identify it separately rather than making a barely legible control carry the whole explanation. In the waiting case the reader expects a result from a step already taken. In the unavailable case there may be no step to take. Reusing the same visual quietness needn't mean reusing the same message or placement.

For an uncertain outcome, decide what the system can honestly offer. If retrying is supported, present the retry clearly and preserve the information needed to make it useful. If the next reliable step is to check for a confirmation, say so instead of making the same button pulse or change colour. The review question to ask is 'What will someone do now?' A stakeholder who can name the shade but cannot answer that question has identified an unresolved interaction.

Give the same form two real surfaces

Switchyard might have a white archive page and a dark issue cover with a newsletter invitation at the end. Show the live form design on both. One option is to provide a stable, opaque form surface in each location. That gives the controls predictable neighbours, even if the cover itself has a variable background. A second option uses a distinct dark treatment for the cover. It allows the invitation to sit more naturally in the page, but it adds combinations that need separate proof. A single accent swatch cannot resolve that decision.

If the form appears above a photograph or an illustration, make a proof with light and dark parts of the image directly behind the form region. A single well-chosen cover can make apparently solid text and borders fail on the next issue. Settle whether the art can vary freely or must leave a dependable field behind interactive text. If the answer is that the cover art should not be constrained, a separately defined form surface will give the art desk more freedom.

In both versions, check the outline and message near the boundary of the form. A treatment that works around a field in the middle can run against a different surface at an inset or disappear when the surrounding container crops it. Put an awkwardly long confirmation into the dark specimen and keyboard through the controls in each version. Record the problem against the location and state, so a local flaw isn't misdiagnosed as a need to replace the entire identity palette.

Make local exceptions explicit before issuing a new cover

Suppose a guest editor asks for violet in place of yellow for an issue on night work. Put the violet in the cover design first, leaving the signup system as it is. Look at the transition from the cover to the invitation. If the familiar button still makes sense, the easiest rule is that guest covers do not control form colours. If a variant is genuinely valuable, give it a named surface and supply the full set of approved state combinations, including the button's text and the focus that will sit next to it.

When choosing where an override belongs, trace who can change it and what else it will reach. An override applied to an entire theme may feed badges, links and diagrams along with the signup. A more limited variant can protect those other roles, but someone still has to review it in every place the variant appears. Don't accumulate a new default for every issue. A one-off choice can be made in artwork without becoming a new option in the interface.

Keep a list of pairings that were explicitly rejected for a reason. 'Don't put the violet outline around the violet action on the dark cover' is more helpful than 'use violet carefully'. If a future review changes one of the colours involved, run that state proof again rather than assuming that a swatch rename changed the intended behaviour. The palette should make a maintenance task more legible, not force later editors to reconstruct the entire argument from colour samples.

Leave a short, repeatable acceptance route

Start the review with a keyboard journey from an article into the form. Bring focus to the field, deliberately trigger a correctable error, then fix it. In a prototype that can simulate outcomes, take a pending route and a completed route separately. Note the first moment where the next action is unclear. Review contrast on the actual foreground and background pairs for that state and check that the message remains intelligible without recognising any hue. When an implementation is ready, include the assistive-technology experience in the review rather than inferring it from a mock-up.

Write resulting defects as problems a reader can encounter, with the precise conditions attached. For example, 'On the dark cover, after correcting the address, it's hard to tell whether focus is still in the field' is a useful fictional review note to model. It does not assume the cause. The designer can try a different boundary, the implementer can check the rendered state, and the editor can see whether the explanatory line belongs to the right control.

Archive an ordinary resting view as well as the complicated examples. The fluorescent yellow can keep doing what made it valuable in the first place: identifying the publication and giving its main action a familiar appearance. When the next release adds another newsletter edition or changes the submission process, repeat the affected journeys and any shared treatments they use. Leave the untouched cover artwork out of that review unless it has become one of the surfaces the form depends on.

Include a recovery view showing what happens to the old message once the relevant problem is resolved. An error that remains red after the form has already accepted the edited address may tell somebody to keep correcting a field that needs no further work. If clearing it changes the layout, observe where focus and the action sit afterwards. The important transition is from knowing what's wrong to knowing what remains to do.

References