# CommBank DESIGN.md

> Public preview. The complete DESIGN.md source (all 59 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

Australia's largest retail bank pairs its iconic yellow with near-black ink, heavy Beacon Sans headlines, pill-shaped CTAs, and bright lifestyle photography for a friendly, optimistic mass-market feel.

- Website: https://commbank.com.au
- Primary color: Yellow `#FFCC00`
- Fonts: CBABeaconSans
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/commbank

## Palette preview

- `primary`: `#ffcc00`
- `surface`: `#ffffff`
- `secondary`: `#1175b5`
- `on-primary`: `#231f20`
- `on-surface`: `#1e1e1e`
- `surface-dim`: `#f4f4f4`
- `on-secondary`: `#ffffff`
- `inverse-surface`: `#231f20`

## Typography preview

- `body-lg`: CBABeaconSans
- `body-md`: CBABeaconSans

---

## Overview

CommBank's design language is bright, approachable retail banking: an optimistic
yellow brand color, extra-bold type, and big sunlit lifestyle photography. The
homepage reads as a friendly product shelf rather than a corporate portal —
hero banners lead with offers, and a "Products and services" grid uses bold
label headings with blue text links for scannable wayfinding. Density is
moderate and sections breathe on generous whitespace. The mood is trustworthy
but warm, aimed at everyday Australians rather than finance professionals.

## Colors

- **CommBank Yellow / primary (#FFCC00):** The brand's signature. Used for the
  diamond logo, the header "Log on" block, pill CTAs, and accent bars. Always
  paired with near-black text — never white.
- **On-primary ink (#231F20):** Deep warm near-black for text on yellow and for
  headlines; slightly softer than pure black.
- **Body ink (#1E1E1E):** Default text color on white surfaces.
- **Link blue / secondary (#1175B5):** Reserved for text links and
  informational actions — never for filled buttons, which are always yellow.
- **Neutral gray (#706D6E):** Secondary text, metadata, and outlined-button
  borders.
- **Surface (#FFFFFF) & surface-dim (#F4F4F4):** White cards and panels sit on
  white or very light gray section backgrounds; heroes use full-bleed
  photography instead of colored fills.

## Typography

Everything is set in **CBABeaconSans**, the bank's proprietary sans
(fallback Helvetica/Arial). The system runs on two weights only.

- **Headlines:** Extra-bold 800 at 40/32/24/20px with tight 1.2–1.4 line
  heights. Sentence case, always in ink or white over imagery.
- **Body:** Regular 400 at 16px/1.5 — plainspoken and legible.
- **Labels & nav:** 16px regular; the header nav keeps label weight at 400
  while utility text drops to 14px/1.5 in gray.

## Layout

A centered fixed-max container (~1328px) on an 8px spacing scale (4px
half-step). Section padding runs 48–80px vertically; card interiors pad 24–32px.
The hero is a full-bleed photograph with a white content panel pinned to the
left edge carrying a yellow accent bar, a headline, supporting paragraph, and a
single pill CTA. Below, a multi-column product grid (icons + bold heading +
link list) replaces traditional cards.

## Elevation & Depth

Nearly flat. Depth comes from tonal blocking — white panels over photography —
plus a single hairline shadow (`0 0 3px rgba(0,0,0,0.3)`) on floating cards.
No layered shadow scale; sections separate by whitespace and alternating
white/light-gray backgrounds.

## Shapes

Binary shape language: **pill CTAs** (24px/full radius on 48px-high buttons)
against **hard-edged rectangles** everywhere else — square header log-on
block, square cards, square hero panel. This contrast is deliberate: anything
yellow and rounded is clickable action; everything structural stays at 0–4px.

## Motion & Micro-interaction

Motion is quick and functional. Link underline fades run ~200ms ease-in;
interactive transitions use 250–350ms `cubic-bezier(0.39, 0.575, 0.565, 1)`
(a symmetric ease). Nothing loops; carousels advance on user input. Honor
`prefers-reduced-motion` and keep animation to `opacity`/`transform`.

## Voice & Content Strategy

- **Tone:** Friendly, plain-English, offer-led. Punchy fragments for headlines
  ("Shop. Spend. Score."), explanatory sentences for details.
- **Capitalization:** Sentence case throughout headings, buttons, and nav.
- **Buttons:** Short verb or benefit phrases — "Find out more", "Log on",
  "Read article". Product names keep their branding ("CommBank Yello").
- **Content:** Real-people money stories ("Cash Confessions: How Aussies
  spend their money") and safety guidance sit beside product marketing.

## Components

- **Primary pill button:** Yellow fill, ink text, 48px high, 24px horizontal
  padding, full radius. One per view. Hover deepens slightly; no shadow.
- **Secondary button:** Transparent fill with a 1px `#706D6E` outline, same
  pill geometry — used for lower-priority reads like "Read article".
- **Header log-on:** A square 80px-tall yellow block in the top-right corner;
  the only sharp-cornered interactive element, anchoring the white nav bar.
- **Text links:** `#1175B5`, often with chevron; underline appears on hover.
- **Hero panel:** White rectangle with a left yellow accent bar holding
  headline + copy + CTA over the photograph.
- **Product grid item:** Outlined line-icon, bold heading with `›` chevron,
  then a stack of blue links.
- **Cards:** White, square-cornered, hairline shadow, 24–32px padding.

## Do's and Don'ts

- Do pair yellow only with the near-black ink — never white text on yellow.
- Do keep CTA buttons pill-shaped and structural surfaces square.
- Do use blue exclusively for links, never for button fills.
- Do limit headlines to the 800 weight and body text to 400 — no middle weights.
- Don't add drop shadows beyond the single hairline card shadow.
- Don't round cards, panels, or the header log-on block.
- Don't introduce additional accent hues; yellow + blue carry the palette.
