GC Design System Styles
Home Start to use Page templates overview Basic page Components overview Breadcrumbs Button Card Checkboxes Container Date input Date modified Details Error message Error summary Fieldset File uploader Footer Grid Header Heading Icon Input Language toggle Link Notice Pagination Radios Screenreader-only Search Select Side navigation Signature Stepper Text Textarea Theme and topic menu Top navigation CSS shortcuts overview Reset styles Responsive layout State Box sizing Container sizing Display Overflow Position Visibility Font Font family Font size Font style Font weight Line height Link colour Link size Link text decoration List style Text align Text colour Text overflow Text transform Word break Margin Padding Align content Align items Align self Flex Flex direction Flex grow Flex shrink Flex wrap Gap Grid columns Grid rows Justify content Justify items Justify self Order Place content Place items Place self Background colour Border colour Border radius Border style Border width Icon names Icon size Image Cursor Pointer events Transition Styles overview Design tokens Colour tokens Spacing tokens Typography tokens Contact us Get involved Find a demo

Colour tokens

Colour tokens define colour for components and global styles.

Colour tokens and accessibility

GC Design System components meet level AA of the Web Content Accessibility Guidelines (WCAG 2.1) colour contrast standards for text and interactive elements.

When you use global colour tokens, check if your colour combinations meet standards for accessible colour contrast using WebAIM Contrast Checker.

Select colour tokens purposefully

Select global colour tokens based on their purpose and its match to your needs.

Replace hard-coded values in your code with GC Design System colour tokens, like var(--gcds-text-primary) instead of #333333.

Global colour tokens

Use global colour tokens to:

  • Design layouts, text colours, and global (or site-wide) styles.
  • Communicate the meaning associated with that token. Global tokens are semantic.
  • Create new component tokens.

Use global state tokens:

  • Apply standard styling for states to your own components.

Text

PreviewToken nameContrast ratioHexPurpose
--gcds-text-light1#ffffffMain light text colour. Use on a background shade of 700 or darker (like --gcds-bg-dark).
--gcds-text-primary12.63#333333Main text colour. Use on a background shade of 50 or lighter (like --gcds-bg-white).
--gcds-text-secondary7#595959Contrast text colour (alternative to primary). Use on a background shade of 50 or lighter (like --gcds-bg-white).
PreviewToken nameContrast ratioHexPurpose
--gcds-link-default9.16#1f497aDefault link colour for links on a white background.
--gcds-link-hover5.98#1354ecHover link colour for links on a white background.
--gcds-link-light1#ffffffMain light link colour for links on 700 shade or darker background (like --gcds-color-blue-700).
--gcds-link-visited10.77#4b248fVisited link colour for links on a white background.

Background

PreviewToken nameContrast ratioHexPurpose
--gcds-bg-dark12.63#333333Main dark background colour. Use with a text shade of 100 or lighter (like --gcds-text-light).
--gcds-bg-light1.11#f2f2f2Light background colour (alternative to white). Use with a text shade of 700 or darker (like --gcds-text-primary).
--gcds-bg-primary12.15#26374aHighlight background colour. Use with a text shade of 100 or lighter (like --gcds-text-light).
--gcds-bg-white1#ffffffMain background colour. Use with a text shade of 700 or darker (like --gcds-text-primary).

Border

PreviewToken nameContrast ratioHexPurpose
--gcds-border-default3.36#8c8c8cDefault border colour for borders and icons on a white background.

Danger

PreviewToken nameContrast ratioHexPurpose
--gcds-danger-background6.78#b3192eDanger background colour for background emphasis on a destructive action or critical feedback.
--gcds-danger-border6.78#b3192eDanger border colour for borders on white backgrounds emphasizing a destructive action or critical feedback.
--gcds-danger-text6.78#b3192eDanger text colour for white backgrounds emphasizing a destructive action or critical feedback.

Disabled

PreviewToken nameContrast ratioHexPurpose
--gcds-disabled-background1.41#d9d9d9Disabled background colour. Use sparingly for a disabled interactive element.
--gcds-disabled-text3.94#808080Disabled text colour. Use sparingly for a disabled interactive element.

Focus

PreviewToken nameContrast ratioHexPurpose
--gcds-focus-background5.98#1354ecFocus background colour, exclusively for focus on an interactive element.
--gcds-focus-border5.98#1354ecFocus border colour, exclusively for focus on an interactive element.
--gcds-focus-text1#ffffffFocus text colour, exclusively for focus on an interactive element.

Base colour tokens

Only use base tokens when you've already checked for global tokens and you need something else for building your own components, tokens, or even images.

Use base colour design tokens to:

  • Fill a gap when no global tokens are available.
  • Design a custom visual, drawing from the full colour palette.
  • Support your own components.
  • Provide a basis to build (and potentially contribute back) your own tokens.
PreviewToken nameContrast ratioHexPurpose
--gcds-color-black21#000000
--gcds-color-blue-501.12#ebf2fa
--gcds-color-blue-1001.29#d6e4f5
--gcds-color-blue-1501.47#c2d7f0
--gcds-color-blue-2001.69#adcaeb
--gcds-color-blue-2501.94#99bde6
--gcds-color-blue-3002.28#85afe0
--gcds-color-blue-3502.66#70a2db
--gcds-color-blue-4003.12#5c95d6
--gcds-color-blue-4503.67#4788d1
--gcds-color-blue-5004.37#337acc
--gcds-color-blue-5505.19#2e6eb8
--gcds-color-blue-6006.23#2962a3
--gcds-color-blue-6507.49#24568f
--gcds-color-blue-7009.16#1f497a
--gcds-color-blue-75011.04#193d66
--gcds-color-blue-80013.2#143152
--gcds-color-blue-85015.52#0f253d
--gcds-color-blue-90017.86#0a1829
--gcds-color-blue-muted12.15#26374a
--gcds-color-blue-vivid5.98#1354ec
--gcds-color-grayscale-501.11#f2f2f2
--gcds-color-grayscale-1001.24#e6e6e6
--gcds-color-grayscale-1501.41#d9d9d9
--gcds-color-grayscale-2001.6#cccccc
--gcds-color-grayscale-2501.83#bfbfbf
--gcds-color-grayscale-3002.09#b3b3b3
--gcds-color-grayscale-3502.43#a6a6a6
--gcds-color-grayscale-4002.84#999999
--gcds-color-grayscale-4503.36#8c8c8c
--gcds-color-grayscale-5003.94#808080
--gcds-color-grayscale-5504.74#737373
--gcds-color-grayscale-6005.74#666666
--gcds-color-grayscale-6507#595959
--gcds-color-grayscale-7008.45#4d4d4d
--gcds-color-grayscale-75010.36#404040
--gcds-color-grayscale-80012.63#333333
--gcds-color-grayscale-85015.13#262626
--gcds-color-grayscale-90017.4#1a1a1a
--gcds-color-green-501.07#ebfaf0
--gcds-color-green-1001.16#d6f5e1
--gcds-color-green-1501.25#c2f0d3
--gcds-color-green-2001.35#adebc4
--gcds-color-green-2501.46#99e6b5
--gcds-color-green-3001.58#85e0a6
--gcds-color-green-3501.71#70db97
--gcds-color-green-4001.83#5cd689
--gcds-color-green-4501.96#47d17a
--gcds-color-green-5002.1#33cc6b
--gcds-color-green-5502.57#2eb860
--gcds-color-green-6003.24#29a356
--gcds-color-green-6504.11#248f4b
--gcds-color-green-7005.36#1f7a40
--gcds-color-green-7507.01#196636
--gcds-color-green-8009.24#14522b
--gcds-color-green-85012.29#0f3d20
--gcds-color-green-90015.66#0a2915
--gcds-color-purple-501.16#f0ebfa
--gcds-color-purple-1001.38#e1d6f5
--gcds-color-purple-1501.64#d3c2f0
--gcds-color-purple-2001.99#c4adeb
--gcds-color-purple-2502.42#b599e6
--gcds-color-purple-3002.97#a685e0
--gcds-color-purple-3503.71#9770db
--gcds-color-purple-4004.59#895cd6
--gcds-color-purple-4505.75#7a47d1
--gcds-color-purple-5007.06#6b33cc
--gcds-color-purple-5508.13#602eb8
--gcds-color-purple-6009.36#5629a3
--gcds-color-purple-65010.77#4b248f
--gcds-color-purple-70012.38#401f7a
--gcds-color-purple-75014.11#361966
--gcds-color-purple-80015.85#2b1452
--gcds-color-purple-85017.54#200f3d
--gcds-color-purple-90018.96#150a29
--gcds-color-red-501.16#fce9eb
--gcds-color-red-1001.37#f9d2d7
--gcds-color-red-1501.63#f5bcc4
--gcds-color-red-2001.93#f2a6b0
--gcds-color-red-2502.31#ef8f9c
--gcds-color-red-3002.74#ec7988
--gcds-color-red-3503.22#e96375
--gcds-color-red-4003.75#e64d61
--gcds-color-red-4504.31#e2364d
--gcds-color-red-5004.76#df2039
--gcds-color-red-5505.66#c91d34
--gcds-color-red-6006.78#b3192e
--gcds-color-red-6508.2#9c1628
--gcds-color-red-7009.85#861322
--gcds-color-red-75011.79#70101d
--gcds-color-red-80014.04#590d17
--gcds-color-red-85016.27#430a11
--gcds-color-red-90018.38#2d060b
--gcds-color-white1#ffffff
--gcds-color-yellow-501.06#fef7e7
--gcds-color-yellow-1001.14#fcefcf
--gcds-color-yellow-1501.22#fbe7b6
--gcds-color-yellow-2001.31#fade9e
--gcds-color-yellow-2501.4#f9d686
--gcds-color-yellow-3001.49#f7ce6e
--gcds-color-yellow-3501.59#f6c655
--gcds-color-yellow-4001.7#f5be3d
--gcds-color-yellow-4501.81#f4b625
--gcds-color-yellow-5001.95#f2ad0d
--gcds-color-yellow-5502.4#da9c0b
--gcds-color-yellow-6003#c28b0a
--gcds-color-yellow-6503.85#aa7909
--gcds-color-yellow-7005.01#916808
--gcds-color-yellow-7506.6#795706
--gcds-color-yellow-8008.89#614505
--gcds-color-yellow-85011.82#493404
--gcds-color-yellow-90015.35#302303

Note: Code elements take American spelling for "colour" and "grey".

Help us improve

Have questions or a request? Give feedback on our contact form.

Something's wrong? Raise it through GitHub with an account. You'll have access to the team's direct responses, progress made on your issue, and issues raised by others.

Give feedback Report an issue on GitHub

2026-02-12