Oatly — Design System
The full decoded design system for Oatly: color roles, type scale, spacing, radii and paste-ready DESIGN.md / Tailwind / CSS exports.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/ds/oatly.
Tokens
Oatly's decoded design system: background #FFFFFF, text #000000, accent #98C5D3, link #98C5D3, primary #E43E39; type scale h1 32px / h2 14px / body 16px; 8px spacing base; 6px base radius. The single interactive/action color is #000000 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #EFEFEF |
| border | #D8D8D8 |
| text | #000000 |
| text_muted | #606060 |
| primary | #E43E39 |
| accent | #98C5D3 |
| link | #98C5D3 |
| secondary | #F8C8D8 |
| button_bg | #000000 |
| button_text | #FFFFFF |
Using these colors
- Action color
#000000— the single interactive color; only on things you click or must notice, never large fills. accent,linkare all#98C5D3— one role, not several (the action color).- accent
#98C5D3— accent for emphasis — keep it rare on the page. - primary
#E43E39— a brand color — but the call-to-action uses #000000, not this. - secondary
#F8C8D8— optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
Typography
- Heading: Margo Pro Bold
- Body: Margo Pro Regular
- h1: 32px
- h2: 14px
- body: 16px
Spacing
- base unit: 8px
- scale: 2px, 6px, 8px, 11px, 12px, 16px, 20px, 21px, 24px, 30px
Radii
- base: 6px
- button: 9999px
Shadows (elevation)
- card:
rgb(0, 0, 0) 2px 2px 0px 0px
Motion
Micro-interactions run at 300ms (dominant) with ease.
- durations: 300ms · 400ms
- easings:
ease·ease-in-out - animated properties: translate, color
Native design tokens
| Token | Value |
|---|---|
--color-primary-black | #000000 |
--color-primary-white | #ffffff |
--color-primary-blue | #98c5d3 |
--color-primary-pink | #f8c8d8 |
--color-primary-yellow | #fdcf85 |
--color-primary-purple | #a67eb1 |
--color-primary-gray | #c6c6c6 |
--color-primary-brown | #a0632d |
--color-secondary-medium-gray | #888888 |
--color-secondary-dark-gray | #444444 |
…and 90 more measured on the page.
Button states (measured)
- primary hover: color
#C6C6C6 - primary focus: outline
2px solid rgb(0, 0, 0)
Layout (measured)
- container max-width:
640px - nav: 900px fixed
Overlay recipe (measured)
dialog panel: #FFFFFF · radius 0px
Responsive (measured)
- breakpoints: 375px · 400px · 414px · 480px · 768px · 960px
- mobile (390px): hero 28px · nav hamburger
Per-section tokens (2)
- Hero — light · bg #FFFFF6 · text #52534C · 1 col · left
- Gallery / Showcase — light · bg #FFFFF6 · text #617C91 · 1 col · left
Export: DESIGN.md
# Oatly — Design System > light, playful, high, custom — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#EFEFEF` | | border | `#D8D8D8` | | text | `#000000` | | text_muted | `#606060` | | primary | `#E43E39` | | accent | `#98C5D3` | | link | `#98C5D3` | | secondary | `#F8C8D8` | | button_bg | `#000000` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#000000` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `accent`, `link` are all `#98C5D3` — one role, not several. - **accent** `#98C5D3` — accent for emphasis — keep it rare on the page. - **primary** `#E43E39` — a brand color — but the call-to-action uses #000000, not this. - **secondary** `#F8C8D8` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. - **Page coverage** (full-page screenshot pixels): `#594F50` 48.5% · `#F6F6F6` 23.3% · `#131112` 10.9% · `#3D3538` 10.7% ## Typography - Heading: **Margo Pro Bold** _(free fallback: Newsreader)_ - Body: **Margo Pro Regular** _(free fallback: Newsreader)_ | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 30px / 400 · lh 30px | | h2 | 27px / 500 · lh 32px | | h3 | 23px / 400 · lh 28px | | body | 16px / 400 · lh 19px | | small | 15px / 500 · lh 17px | - Weight ladder: 400 · 500 · 600 · 900 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Margo Pro Bold may be proprietary — safe free fallback: Newsreader (Google Fonts). Margo Pro Regular may be proprietary — safe free fallback: Newsreader (Google Fonts). ## Spacing - base unit: 8px (inferred from the measured scale) - measured scale: 2px, 6px, 8px, 11px, 12px, 16px, 20px, 21px, 24px, 30px — snap all gaps/padding to these ## Radius - base: 6px - button: 9999px - card: 5px - pill: 9999px - sharp: 3px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#000000` / `#FFFFFF` | none | 3px | 11px 16px 11px 16px | 900 16.875px | none | | secondary | `#FFFFFF` / `#000000` | none | 0px | — | — | none | **States (measured, not guessed)** - primary hover: color `#C6C6C6` - primary focus: outline `2px solid rgb(0, 0, 0)` - transition: `all 0.3s ease` ## Shadows (elevation) - card: `rgb(0, 0, 0) 2px 2px 0px 0px` ## Motion - durations: 300ms (dominant) · 400ms - easings: `ease` (dominant) · `ease-in-out` - animated properties: translate, color Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion. ## Their own tokens (verbatim from :root) | Token | Value | |-------|-------| | `--color-primary-black` | `#000000` | | `--color-primary-white` | `#ffffff` | | `--color-primary-blue` | `#98c5d3` | | `--color-primary-pink` | `#f8c8d8` | | `--color-primary-yellow` | `#fdcf85` | | `--color-primary-purple` | `#a67eb1` | | `--color-primary-gray` | `#c6c6c6` | | `--color-primary-brown` | `#a0632d` | | `--color-secondary-medium-gray` | `#888888` | | `--color-secondary-dark-gray` | `#444444` | | `--color-secondary-light-gray` | `#eeeeee` | | `--color-secondary-green` | `#68c74e` | _…and 88 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - container max 640px - nav: 900px fixed · bg rgba(0, 0, 0, 0.5) | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 0 | 900 | — | — | 21/21 | — | ## Motion choreography (measured) - overlay dialog (auto-opened): panel #FFFFFF · r 0px · border 1px solid rgb(0, 0, 0) · shadow rgb(0, 0, 0) 2px 2px 0px 0px Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - link: #000000 · underline ## Responsive (measured) - breakpoints: 375px · 400px · 414px · 480px · 768px · 960px - mobile (390px): hero 28px · body 14px · nav: hamburger ## How to apply Paste the Tailwind `@theme` (or CSS variables) as your base, then build each section to its spec — verify every color, radius, and font against these tokens. Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them. --- > **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/ds/oatly
Export: Tailwind v4 (@theme)
@theme {
/* action color #000000 — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #FFFFFF;
--color-surface: #EFEFEF;
--color-border: #D8D8D8;
--color-text: #000000;
--color-text-muted: #606060;
--color-primary: #E43E39; /* a brand color — but the call-to-action uses #000000, not this. */
--color-accent: #98C5D3; /* accent for emphasis — keep it rare on the page. */
--color-link: #98C5D3; /* fails contrast on the background (~1.9:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
--color-secondary: #F8C8D8; /* optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. */
--color-button-bg: #000000; /* primary-button fill — the main call-to-action color. */
--color-button-text: #FFFFFF;
/* fonts: Margo Pro Bold may be proprietary — safe free fallback: Newsreader (Google Fonts). Margo Pro Regular may be proprietary — safe free fallback: Newsreader (Google Fonts). */
--font-heading: "Margo Pro Bold", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Margo Pro Regular", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
/* measured weights: 400, 500, 600, 900 — use these, not 400/600 */
--text-hero: 30px; --font-weight-hero: 400; --leading-hero: 30px;
--text-h2: 27px; --font-weight-h2: 500; --leading-h2: 32px;
--text-h3: 23px; --font-weight-h3: 400; --leading-h3: 28px;
--text-body: 16px; --font-weight-body: 400; --leading-body: 19px;
--text-small: 15px; --font-weight-small: 500; --leading-small: 17px;
--radius-base: 6px;
--radius-button: 9999px;
--radius-card: 5px;
--radius-pill: 9999px;
--radius-sharp: 3px;
--shadow-card: rgb(0, 0, 0) 2px 2px 0px 0px;
--outline-focus: 2px solid rgb(0, 0, 0); /* measured focus ring */
--ease-brand: ease;
--duration-fast: 300ms; /* use: duration-[var(--duration-fast)] */
--duration-base: 400ms;
--spacing: 8px; /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 6, 8, 11, 12, 16, 20, 21, 24, 30px */
}Export: CSS variables
:root {
/* action color #000000 — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #FFFFFF;
--surface: #EFEFEF;
--border: #D8D8D8;
--text: #000000;
--text-muted: #606060;
--primary: #E43E39; /* a brand color — but the call-to-action uses #000000, not this. */
--accent: #98C5D3; /* accent for emphasis — keep it rare on the page. */
--link: #98C5D3; /* fails contrast on the background (~1.9:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
--secondary: #F8C8D8; /* optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. */
--button-bg: #000000; /* primary-button fill — the main call-to-action color. */
--button-text: #FFFFFF;
--font-heading: "Margo Pro Bold", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Margo Pro Regular", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--text-hero: 30px; --weight-hero: 400; --leading-hero: 30px;
--text-h2: 27px; --weight-h2: 500; --leading-h2: 32px;
--text-h3: 23px; --weight-h3: 400; --leading-h3: 28px;
--text-body: 16px; --weight-body: 400; --leading-body: 19px;
--text-small: 15px; --weight-small: 500; --leading-small: 17px;
--radius: 6px;
--radius-button: 9999px;
--radius-card: 5px;
--radius-pill: 9999px;
--radius-sharp: 3px;
--shadow-card: rgb(0, 0, 0) 2px 2px 0px 0px;
--focus-ring: 2px solid rgb(0, 0, 0);
--ease: ease;
--duration-fast: 300ms;
--duration-base: 400ms;
}
/* their own tokens, verbatim from the site's :root */
:root {
--color-primary-black: #000000;
--color-primary-white: #ffffff;
--color-primary-blue: #98c5d3;
--color-primary-pink: #f8c8d8;
--color-primary-yellow: #fdcf85;
--color-primary-purple: #a67eb1;
--color-primary-gray: #c6c6c6;
--color-primary-brown: #a0632d;
--color-secondary-medium-gray: #888888;
--color-secondary-dark-gray: #444444;
--color-secondary-light-gray: #eeeeee;
--color-secondary-green: #68c74e;
}
/* fonts: Margo Pro Bold may be proprietary — safe free fallback: Newsreader (Google Fonts). Margo Pro Regular may be proprietary — safe free fallback: Newsreader (Google Fonts). */