nib Colours
Colour is a key part of nib's brand perception, distinguishing us from our competitors and creating a sense of confidence and consistency across our interactive touchpoints. This colour guide bridges our core brand guidelines and the Mesh Design System, and is able to be shared with stakeholders, external agencies and partners for effective brand alignment of non-Mesh web and digital touchpoints.
This page informs non-Mesh implementation of nib's brand colour guidelines.
For use of colour in Mesh-enabled contexts and environments, refer to Foundations/colors.
This document uses the UK English spelling of "colour", however across Mesh and its documentation we use US English spelling ("color") to align with its use in code.
Primary palette
These are the primary nib colours that should be used in all designs and serve to distinguish digital assets associated with our brand.
True Green should be used as the primary brand colour, and can be used anywhere to accentuate our brand identity. It should be used primarily for foreground elements like large page Headings, Buttons and Links. Be cautious not to overuse this colour.
Bright Green is our secondary brand colour. It should be used cautiously and sparingly as an accent colour due to it having an inaccessible colour contrast ratio on lighter backgrounds.
True Green
Hex: #144a38
RGB: rgb(20, 74, 56)
Bright Green
Hex: #82e578
RGB: rgb(130, 229, 120)
Clear White
Hex: #ffffff
RGB: rgb(255, 255, 255)
Text
Hex: #262626
RGB: rgb(38, 38, 38)
In most situations, Text should be used for body text and headings, and Clear White should be considered as the default background colour.
For key callouts or Sections styled to visually break up long blocks of content, True Green can be used as a background colour, as long as you ensure any content within those sections maintains an accessible contrast ratio. In this case, you should default to using Clear White as your text colour and use Bright Green in situations you would normally use True Green (i.e. large headings, links, etc.).
For further guidance on accessible combinations of text and background colours, refer to the Accessibility tables.
Secondary palette
The secondary palette is a collection of lighter colours that complement our primary palette. These can be used to create a more inviting experience, by softening elements of the page that may be otherwise dominated by the bold primary brand colours.
These should generally only be used as background colours, ensuring that foreground elements (text, iconography, links, interactive elements etc.) meet accessible contrast thresholds. For quick reference, True Green and Text are both acceptable foreground colours on each of these.
Sage Green
Hex: #c2d6b5
RGB: rgb(194, 214, 181)
Warm White
Hex: #f5f0d6
RGB: rgb(245, 240, 214)
Sunset Pink
Hex: #fdd6bc
RGB: rgb(253, 214, 188)
Light Grey
Hex: #f1f1f1
RGB: rgb(241, 241, 241)
Neutral palette
In many cases, our brand colours may not be suitable for all applications. For these situations, Mesh includes a range of accessible neutral tones to create depth and distinction between elements on a page.
While Text is our default text colour, Text (Prominent) should be considered for small text (≤ 14px), disclaimers or other situations where maximum contrast is required.
If using colours from the Secondary palette (Sage Green , Sunset Pink , Warm White or Light Grey ) as background colours, Text (Gentle) or Text (Muted) may not meet accessible contrast thresholds. Refer to Accessibility tables for valid combinations.
Text (Prominent)
Hex: #111111
RGB: rgb(17, 17, 17)
Text
Hex: #262626
RGB: rgb(38, 38, 38)
Text (Gentle)
Hex: #525252
RGB: rgb(82, 82, 82)
Text (Muted)
Hex: #6a6a6a
RGB: rgb(106, 106, 106)
Our light neutral palette is intended to be used primarily for background colours. These tones may also be used for non-critical visual elements like borders, page dividers, zebra-striping table rows, or otherwise to group or separate adjacent blocks of content.
Clear White
Hex: #ffffff
RGB: rgb(255, 255, 255)
Off White
Hex: #f8f8f8
RGB: rgb(248, 248, 248)
Light Grey
Hex: #f1f1f1
RGB: rgb(241, 241, 241)
Grey
Hex: #e2e2e2
RGB: rgb(226, 226, 226)
Semantic palette
These colours have semantic meanings, and should be reserved for functional elements or messaging, such as indicating the outcome of an action or highlighting success or failure of a task or interaction. They should be used sparingly so as not to risk confusing their meaning.
Success Green
Hex: #215c40
RGB: rgb(33, 92, 64)
Info Blue
Hex: #0051a4
RGB: rgb(0, 81, 164)
Error Red
Hex: #a61111
RGB: rgb(166, 17, 17)
Warning Yellow
Hex: #eaaf18
RGB: rgb(234, 175, 24)
A summary of how to use these functional colours:
- Success Green should only be used for success alerts or validating form inputs or results.
- Info Blue should only be used for information alerts or indicating additional help to forms.
- Error Red should only be used for error alerts or validating input or results.
- Warning Yellow should only be used for warning alerts. This colour is explicitly not accessible against light backgrounds, and should never be used for text on light-coloured backgrounds. Similarly, any text or iconography overlaid on this colour should be sufficiently dark to meet an appropriate level of contrast.
While these colours carry semantic meaning, for accessibility purposes, they should not be relied on to communicate intent. You must ensure your iconography, content and placement of any messaging carries enough meaning that the colour only provides additional visual reinforcement of its intent.
For focus styles, we use Focus Purple to highlight the active element or field, usually as an offset border surrounding the element. This colour should not be used in any other context.
Focus Purple
Hex: #373666
RGB: rgb(55, 54, 102)
Preferred "focus-visible" style
:focus-visible { outline: 3px solid #373666; outline-offset: 0.125em; }
Accessibility tables
To ensure accessible use of our text colours on a range of backgrounds, refer to the tables below for minimum ratings against WCAG's accessibility standards. Colours marked with "Insufficient contrast" should never be used for text or other foreground elements, and those only meeting "AA Large" standard should only be used for graphical elements or large text (font-size over 18pt/24px).
Understanding the Tables
Each column in the table represents a background colour, and each row corresponds to a foreground colour from the respective palette. Valid foreground colours can be used for text, icons, links and other interactive elements that need to be visually perceivable to the user.
Excellent - Meets or exceeds AAA standard minimum contrast (7:1) when used for text or foreground elements on the nominated background colour.
AA Normal - Meets AA standard contrast only (4.5:1) for text and foreground elements on the nominated background colour.
AA Large - Meets AA standard contrast only (3:1) for large text (minimum size of 18pt/24px) appearing directly on the nominated background colour.
Insufficient contrast - Should not be used for foreground elements on the nominated background colour.
For more guidance on designing for Accessibility, refer to our Accessibility Checklist.
Neutral backgrounds
Background
Foreground ⤵
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Large
AA Normal
AA Normal
AA Normal
Brand palette
Note that as a dark colour, True Green requires a specific inverted palette of foreground colours. This table outlines contrast relationships for foreground colours on Bright Green , Sage Green , Warm White and Sunset Pink .
Background
Foreground ⤵
AA Normal
AA Normal
AA Large
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Large
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Large
AA Normal
AA Normal
AA Normal
Inverted palette
Background
Foreground ⤵
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
AA Normal
Extended palettes
Sometimes digital interfaces require nuances, variations or extensions of brand colours beyond the typical brand guidelines. If the palettes contained within this guide are insufficient for your purposes, please contact DesignOps or nib's brand team for further guidance.