Brand guide — v1

Two typefaces. Two colors. No decoration.

This is everything you need to build something that looks like YLabs — the logo, the palette, the type system, and the UI patterns this site is built from. When in doubt: black, white, a hard edge, and one font doing the talking.

Two colors, full stop. Gray exists only to quiet down secondary text — it is never a brand color in its own right.

Black

#000000 — foreground, text, borders, fills.

White

#FFFFFF — background, and reversed text on black.

Gray

#666666 — secondary and supporting text only.

Megrim is the voice. Cantarell is the conversation. If it needs to grab attention — a headline word, a button, a label, a title — it's Megrim. If it needs to be read comfortably in a sentence, it's Cantarell.

Primary — attention

YLabs

Megrim

A single-weight display face with no italic. Use it for the logo, emphasized headline words, buttons, section labels, and card titles — never for paragraphs, it's decorative by design and gets hard to read past a few words.

  • Logo & wordmark
  • Emphasized words in headlines
  • Buttons & CTAs
  • Section labels (uppercase, tracked out)
  • Card & module titles
Secondary — body

YLabs

Cantarell

A humanist sans with regular, bold, and italic. Use it for everything Megrim shouldn't touch: headline sentences, navigation, descriptions, and footer text.

  • Headline sentence structure
  • Body copy & descriptions
  • Navigation & footer
  • Form fields & UI chrome
Display / Headline Aa YLabs 01
Section label What we do
Body We build software for public use, and for the companies who need it.
Small / meta © 2026 YLabs. All rights reserved.

Every surface is a box: hard corners, 1–2px black borders, no shadows except the offset-punch under primary buttons.

Primary button

Black fill, white text, Megrim. Offset box-shadow "punches in" on hover instead of lifting.

Ghost button

Outline only. Inverts to solid black on hover. Used for secondary actions.

Section label

Megrim, uppercase, tracked out, bottom border. Marks the start of a new section — always paired with a two-digit index.

01

Card title

Body copy sits in Cantarell, gray, capped around 34 characters wide.

Box card

The base content unit. Bordered, numbered, title in Megrim, body in Cantarell. Grids of these never use rounded corners or shadows.

Thin — 1px
Thick — 2px

Borders

Thin 1px lines divide items inside a group (nav links, box-card grid). Thick 2px lines close off whole sections.

The 3×3 dot grid from the homepage hero is the one piece of "brand graphic" YLabs has. A single cell drifts to a random neighbor every couple of seconds — never a straight sweep, never metronomic — and pauses the moment you hover it so any cell can be triggered by hand.

  • Reuse it as hero or section imagery — never as decoration inside body copy
  • Keep the timing random and unhurried; a fast or linear sweep reads as a loading bar, not a brand mark
  • Always black cells on a white grid — no color, no gradients
  • Container: max-width 1400px, centered, 32px side padding (20px under 640px)
  • Corners: always square — no border-radius anywhere
  • Section rhythm: vertical padding scales with weight, from 20px (header/footer) to 88px (CTA band)
  • Grids: box-cards divide with a shared 1px border and no gutter — the border is the gutter