Field

Contrast gate enforced

P1 direction (G11). Built to be read on site: near-black ink, strong lines, larger type and controls, a saturated cobalt brand. Atkinson Hyperlegible Next and Mono.

All 23 gated contrast pairs pass WCAG AA.

Colour roles

Apps write these roles, never a palette class (D11, D12).

Text

--color-ink
#0c0f15

Primary text.

--color-ink-2
#292d34

Secondary text.

--color-mute
#3c4048

Muted text and captions.

--color-faint
#52565e

Faint text and placeholders. G17: darkened to pass 4.5:1, so it can carry text.

Surfaces

--color-canvas
#eff1f4

Page background.

--color-panel
#ffffff

Card and panel surface.

--color-plan
#191d24

The viewer's dark canvas.

--color-plan-deep
#0c0f15

Lines and focus

--color-line
#bec1c7

Dividers and card outlines. Decorative: no contrast minimum.

--color-line-2
#dee0e4

Subtle dividers and quiet fills.

--color-line-strong
#686d74

A control's edge: input, select and checkbox borders. 3:1 on panel (WCAG 1.4.11).

--color-ring
#1a61ff

Focus ring.

Brand

--color-brand
#0044e8

Brand fill: the primary button, the selected segment.

--color-brand-2
#0032c6

Brand fill, hover and pressed.

--color-brand-fg
#ffffff

Text and icons on a brand fill.

--color-accent
#0044e8

Links and the active nav item.

--color-accent-bg
#ecf8ff

Active nav, selected row and info tints.

--color-accent-line
#88b9ff

Edge of an accent tint.

Logo

--color-logo
#1a61ff

The logo's folder and wordmark (G7).

--color-logo-tab
#ffb000

Hi-vis amber: the tab, saturated.

--color-logo-bar
#009539

The green bar, saturated (green 500).

Status

--color-ok
#004f05

Accepted, done.

--color-ok-bg
#d2fbd9

--color-ok-line
#009539

--color-bad
#8d0000

Changes requested, rejected, overdue.

--color-bad-bg
#ffece3

--color-bad-line
#f13936

--color-warn
#762c00

Waiting on someone: not submitted, due soon.

--color-warn-bg
#fff0cb

--color-warn-line
#ca6500

--color-re
#4741c9

In review and re-review.

--color-re-bg
#e8f2ff

--color-re-line
#6c6fff

--color-new
#7529c4

"N new".

--color-new-bg
#ffebff

--color-int
#292d34

Internal notes.

--color-int-ink
#191d24

--color-int-bg
#dee0e4

--color-int-line
#878b91

--color-int-2
#bec1c7

Contrast (G17)

WCAG 2.x ratio. 4.5 for text, 3 for large text and non-text UI. Advisory pairs are reported and never fail a build.

SamplePairRatioMinResultUse
Aa Samplecolor.ink
on color.panel
19.184.5PassBody text on a panel
Aa Samplecolor.ink
on color.canvas
16.954.5PassBody text on the page
Aa Samplecolor.ink-2
on color.panel
13.824.5PassSecondary text
Aa Samplecolor.mute
on color.panel
10.404.5PassMuted text and captions on a panel
Aa Samplecolor.mute
on color.canvas
9.194.5PassMuted text on the page
Aa Samplecolor.faint
on color.canvas
6.514.5PassFaint text on the page
Aa Samplecolor.faint
on color.panel
7.364.5PassFaint text. G17: either disabled / decorative only, or dark enough to pass
Aa Samplecolor.brand
on color.panel
7.024.5PassBrand-coloured text
Aa Samplecolor.accent
on color.panel
7.024.5PassLinks and the active nav item
Aa Samplecolor.brand-fg
on color.brand
7.024.5PassPrimary button label
Aa Samplecolor.brand-fg
on color.brand-2
9.244.5PassPrimary button label, hover and pressed
Aa Samplecolor.accent
on color.accent-bg
6.504.5PassActive nav item, info tag
Aa Samplecolor.ink
on color.accent-bg
17.754.5PassText on a selected row
Aa Samplecolor.ok
on color.ok-bg
8.744.5PassStatus word on its tint: ok
Aa Samplecolor.bad
on color.bad-bg
8.614.5PassStatus word on its tint: bad
Aa Samplecolor.warn
on color.warn-bg
8.724.5PassStatus word on its tint: warn
Aa Samplecolor.re
on color.re-bg
6.484.5PassStatus word on its tint: re-review
Aa Samplecolor.new
on color.new-bg
6.474.5Pass"N new" on its tint
Aa Samplecolor.int
on color.int-bg
10.464.5PassInternal-note text on its tint
Aa Samplecolor.int-ink
on color.int-bg
12.794.5PassInternal-note body text on its tint
Aa Samplecolor.ring
on color.panel
5.003PassFocus ring (non-text)
Aa Samplecolor.ring
on color.canvas
4.423PassFocus ring on the page (non-text)
Aa Samplecolor.line-strong
on color.panel
5.213PassA control's edge: input, select and checkbox borders (non-text). line itself is decorative.
Aa Samplecolor.ok-line
on color.ok-bg
3.463PassStatus tag border. Advisory: decorative while the word names the tag
Aa Samplecolor.bad-line
on color.bad-bg
3.413PassStatus tag border. Advisory
Aa Samplecolor.warn-line
on color.warn-bg
3.463PassStatus tag border. Advisory
Aa Samplecolor.re-line
on color.re-bg
3.473PassStatus tag border. Advisory
Aa Samplecolor.logo
on color.panel
5.003PassLogo mark. Advisory: logotypes are exempt (WCAG 1.4.3)

Type

--font-sans

Banksia Rise OC · Condition 14(b) · 2,418 items

Atkinson Hyperlegible Next (G19 candidate). Drawn by the Braille Institute for low vision: serifed I, tailed l, slashed 0; holds up outdoors at Field's larger sizes.

--font-mono

Banksia Rise OC · Condition 14(b) · 2,418 items

Atkinson Hyperlegible Mono: the face's own mono.

--text-title
30px / 36px · 800
Page title.
--text-display
26px / 30px · 800
Figures that are the point: count tiles, stats.
--text-heading
19px / 26px · 700
Card, section and dialog titles.
--text-body
16px / 24px · 400
Default UI text.
--text-label
16px / 22px · 600
Buttons, nav, form labels, emphasised cells.
--text-small
15px / 21px · 400
Secondary lines under a title.
--text-caption
14px / 19px · 500
Meta, helper text, tags.
--text-eyebrow
13px / 18px · 700
Uppercase section and field labels (set uppercase in markup).

Shape

--radius-sm
4px
--radius-md
8px
--radius-lg
12px
--radius-pill
6px
--shadow-sm
--shadow-md
--shadow-lg
--spacing-tap = 2.75rem

44px: the touch target (V5 L8). G10 grows interactive hit areas to it under pointer: coarse.

--spacing-control-sm = 36px

Height of a sm control (G10).

--spacing-control-md = 40px

Height of a md control: the default.

--spacing-control-lg = 48px

Height of a lg control.

--spacing-row = 64px

Minimum height of a list or table row.

--spacing-gutter = 24px

Page side padding at desktop width.

@docubuild-io/design · every sample on this site uses invented data