Agriculture Design System
Beta
Design System for the Export Service

Colour tokens

How to use colour to design consistent, purposeful, and accessible products.

Colour palettes

There are 2 colour palettes: light and dark. Each colour palette is divided into foreground, background, border, and system colours which all have a specific purpose.

Foreground colours

Designed to sit on top of background colours to ensure contrast ratios meet WCAG 2.1 level AA accessibility requirements.

Light palette

NameValueDescription
text
#313131Charcoal. Used for primary text like body text, headings, and labels to ensure they’re prominent and legible.
muted
#626262Muted, dark grey. Used for secondary text to make it less prominent.
action
#00558bMedium to dark blue. Used to indicate interactive components like links and buttons. Don’t use the action colour for non-interactive components as it could confuse users. Also make sure you don’t rely on colour alone to indicate that a component is interactive, use additional visual cues.

Dark palette

NameValueDescription
text
#FFFFFFWhite. Used for primary text like body text, headings, and labels to ensure they’re prominent and legible.
muted
#bdd2d7Muted off-white. Used for secondary text to make it less prominent.
action
#9EE8FFPale, bright cyan-blue. Used to indicate interactive components like links and buttons. Don’t use the action colour for non-interactive components as it could confuse users. Also make sure you don’t rely on colour alone to indicate that a component is interactive, use additional visual cues.

Background colours

Designed to sit under foreground colours to ensure contrast ratios meet WCAG 2.1 level AA accessibility requirements. Each colour palette has 2 main background colours to choose from, the default background (body) and a darker alternative (body-alt). Shades can be used to help differentiate or highlight content against the body background colours.

Light palette

NameValueDescription
body
#FFFFFFWhite. Used for the main background.
bodyAlt
#ebebebLight grey. Used as an alternative background.
shade
#f5f5f5Off-white. Used to help decorate and highlight interface components that sit on `body` background. Used to fill interactive components like buttons to emphasise the hover state hen the label changes to another WCAG compliant colour and displays an underline. Also used in Callouts, and zebra striping on tables.
shadeAlt
#e0e0e0Medium to light grey. Used to help decorate and highlight interface components that sit on `bodyAlt` background. Used to fill interactive components like buttons to emphasise the hover state hen the label changes to another WCAG compliant colour and displays an underline. Also used in Callouts, and zebra striping on tables.

Dark palette

NameValueDescription
body
#0A1629Dark blue-black. Used for the main background.
bodyAlt
#182C4DMedium blue-black. Used as an alternative background.
shade
#11213DBlue-black. Used to help decorate and highlight interface components that sit on `body` background. Used to fill interactive components like buttons to emphasise the hover state hen the label changes to another WCAG compliant colour and displays an underline. Also used in Callouts, and zebra striping on tables.
shadeAlt
#20365BLight blue-black. Used to help decorate and highlight interface components that sit on `bodyAlt` background. Used to fill interactive components like buttons to emphasise the hover state hen the label changes to another WCAG compliant colour and displays an underline. Also used in Callouts, and zebra striping on tables.

Border colours

Each colour palette has 2 border colours.

Light palette

NameValueDescription
border
#808080Medium grey. Used for borders of non-decorative interface components that require a 3:1 colour contrast ratio. For example, form input field borders are considered non-decorative because if they were removed, form input fields wouldn’t be recognisable.
borderMuted
#D3D3D3Medium to light grey. Used for decorative interface components that don’t require a 3:1 colour contrast ratio.

Dark palette

NameValueDescription
border
#95b7bfBright blue-grey. Used for borders of non-decorative interface components that require a 3:1 colour contrast ratio. For example, form input field borders are considered non-decorative because if they were removed, form input fields wouldn’t be recognisable.
borderMuted
#4D7680Muted, medium blue-grey. Used for decorative interface components that don’t require a 3:1 colour contrast ratio.

System colours

System colours are used to indicate status. They’re very prominent colours aimed at grabbing the user’s attention. Each system colour has a muted version to be used as a background colour.

Light palette

NameValueDescription
systemSuccess
#00754EDark green. Used to indicate that a task was completed as expected.
systemSuccessMuted
#E5FFF6Pale, light green. Used as a background for a Component with a `success` tone.
systemError
#D10000Dark red. Used to indicate that something is wrong, or a task has failed and needs urgent attention. For example, a form validation error.
systemErrorMuted
#FFF0F0Pale red. Used as a background for a Component with an `error` tone.
systemInfo
#008BD1Medium cyan-blue. Used to provide addition information.
systemInfoMuted
#E5F6FFPale cyan-blue. Used as a background for a Component with an `info` tone.
systemWarning
#D16900Dark orange. Used to indicate that taking an action could be risky and that a user should be cautious.
systemWarningMuted
#FFF2E5Pale, light orange. Used as a background for a Component with a `warning` tone.

Dark palette

NameValueDescription
systemSuccess
#00A36DBright, medium green. Used to indicate that a task was completed as expected.
systemSuccessMuted
#133A4BMuted, dark green. Used as a background for a Component with a `success` tone.
systemError
#FF4F4FBright red. Used to indicate that something is wrong, or a task has failed and needs urgent attention. For example, a form validation error.
systemErrorMuted
#422F47Pale, muted red. Used as a background for a Component with an `error` tone.
systemInfo
#33BAFFBright cyan-blue. Used to provide addition information.
systemInfoMuted
#193A5BMuted cyan-blue. Used as a background for a Component with an `info` tone.
systemWarning
#FF9933Bright orange. Used to indicate that taking an action could be risky and that a user should be cautious.
systemWarningMuted
#393942Muted, dark orange. Used as a background for a Component with a `warning` tone.

Miscellaneous colours

Miscellaneous colours which do not form part of the above groups.

Light palette

NameValueDescription
selected
#00558bMedium to dark blue. Used to indicate if an item is selected or active. For example, selected navigation items and tabs.
selectedMuted
#EBF4FAPale, muted, light blue. Used as a background to communicate the selected state of input components. It is not intended to be used to convey the active item in navigational components.
overlay
rgba(0, 0, 0, 0.8)Semi-transparent black. Used as an overlay for modals and other components that sit on top of the main background. The main content area beneath is considered disabled and not interactive.
overlayMuted
rgba(0, 0, 0, 0.3)Transparent, dark grey. Used as an overlay for drawers that sit on top of the main background, where maintaining some visibility of the main content area beneath may be beneficial. The main content area beneath is considered disabled and not interactive.
focus
#9263dePurple. Used to highlight interactive components for those navigating via keyboard.
accent
#F36C52Orange-red. A decorative colour used to accent branding colours.

Dark palette

NameValueDescription
selected
#9EE8FFPale, bright blue. Used to indicate if an item is selected or active. For example, selected navigation items and tabs.
selectedMuted
#162C50Pale, muted, dark blue. Used as a background to communicate the selected state of input components. It is not intended to be used to convey the active item in navigational components.
overlay
rgba(0, 0, 0, 0.8)Semi-transparent black. Used as an overlay for modals and other components that sit on top of the main background. The main content area beneath is considered disabled and not interactive.
overlayMuted
rgba(0, 0, 0, 0.3)Transparent, dark grey. Used as an overlay for drawers that sit on top of the main background, where maintaining some visibility of the main content area beneath may be beneficial. The main content area beneath is considered disabled and not interactive.
focus
#c390f9Bright purple. Used to highlight interactive components for those navigating via keyboard.
accent
#F36C52Orange-red. A decorative colour used to accent branding colours.

Usage guidelines

Use palettes to divide sections

An interface can be divided into rows or sections that span the full width of a screen. A section can use either the light or dark colour palette.

For example, the website header and footer might use the dark palette to make them more prominent, while the content area in between uses the light palette.

Components that sit inside light sections of an interface use the light colour palette. Similarly, components that sit inside dark sections of an interface use the dark colour palette.

See the theming guide for more on how this works in code.

Screenshot of a successful usage of palettes

Don’t rely on colour alone to convey meaning

To ensure the colourblind can use our interface, we shouldn’t rely on colour alone to differentiate interface components or convey meaning. Use other visual cues to differentiate interface components. For example, we underline links as well as using the action colour to help differentiate them from other text and clearly indicate they’re interactive.

More tips

  • Do pair foreground and background colours.
  • Don’t mix light and dark variables.
  • Don’t pair foreground with foreground or background with background.