Aller au contenu principal
Website Carbon

Website Carbon design system DESIGN.md et guide de style

Developer ToolsProv1.0.0 (Dernière)
websitecarbon.com•Associé le 26 nov. 2026, 04:00•Vérifié par Bestony

A three-color, one-typeface system for the original website carbon calculator — deep indigo (#0a0c7a) as both ground and ink, a single bright mint (#00ffbc) on every control, and a yellow announcement bar. Inter UI at two weights, a fluid calc()-based display scale running to 100px, one 7px radius, and a hand-drawn marker highlight that is the system's only ornament.

Site Pro

Vous pouvez lire gratuitement le récit de design complet et jusqu'à 8 couleurs principales de Website Carbon. Passez à Pro pour accéder aux 90 design tokens, aux téléchargements complets de DESIGN.md et à 1 révisions.

Affichage de 5 sur 5 couleurs
Clair (75%)
Aa Exemple#00FFBC
accent
rgb(0, 255, 188)
Clair (81%)
Aa Exemple#FFEC29
signal
rgb(255, 236, 41)
Sombre (2%)
Aa Exemple#0A0C7A
primary
rgb(10, 12, 122)
Sombre (6%)
Aa Exemple#1519D3
secondary
rgb(21, 25, 211)
Clair (95%)
Aa Exemple#F5FAF9
on-primary
rgb(245, 250, 249)
Obtenez la palette complète, les variables CSS et la source DESIGN.md

Passez à DesignMD Pro pour copier toutes les couleurs en :root variables CSS, inspecter les références de tokens de composants et télécharger le fichier source complet.

Règles de design

Overview

Website Carbon is the original carbon-footprint calculator for web pages, and its design is three colors and one typeface. A deep indigo #0a0c7a is simultaneously the page ground and the text color — the entire site is indigo with off-white type on it, and the only breaks in that field are a single bright mint #00ffbc on every control, a cream #f5faf9 calculator card, and one yellow #ffec29 announcement bar. Everything is set in Inter UI at two weights, 400 and 700, on a fluid calc(rem + vw) display scale that runs to 100px. There is exactly one radius in the system, 7px, on buttons, inputs and image cards. The only ornament is a hand-drawn marker highlight — a cream swipe behind indigo text — and the only depth is a single hard indigo drop shadow on the showcase screenshots. The result is a tool that looks like a poster: enormous type, one accent, and nothing else.

Colors

Five values, and two of them do most of the work.

  • Primary (#0a0c7a) — a deep, saturated indigo with a violet cast. It is the html background, the header background, the loading-modal scrim, the text color on every mint and cream surface, and the color of the hard drop shadow on the showcase cards. One value acting as ground, ink and shadow at once — which is why the page reads as a single color rather than as a palette.
  • On-primary (#f5faf9) — an off-white with a faint green cast. It is the text color for the entire page (46 uses), the calculator card's fill, the input's fill, the selection background, and the fill of the marker-highlight swipe. It is the system's only light surface.
  • Accent (#00ffbc) — a bright, fully saturated mint. It fills every button and every button border, it is the link color inside the website-action blocks, it strokes the loading animation, it fills the share icons, and at 50% opacity it is the 4px focus ring on every interactive element. It is the only hue on the page that is not indigo or cream, and it is spent entirely on interaction.
  • Signal (#ffec29) — a pure bright yellow, used exactly once: the announcement banner at the very top of the page. It is the loudest thing on the site and it appears for one line of copy.
  • Secondary (#1519d3) — a slightly lifted, bluer indigo reserved for the decorative SVG assets: the blob behind the Beautiful, low carbon websites heading, the outline illustration in the consultancy section, and the A+ grading bar's marker. It is never used for text or UI — it exists so the illustrations can sit a step away from the ground without becoming a different color.

Typography

One family, two weights, and a fluid scale.

  • Inter UI is the only typeface, loaded at 400 and 700 only. There is no second family, no light weight, no italic and no mono anywhere on the page.
  • Every heading is weight 700 — h1 through h6, .section__heading, .section__subheading, the stat headings, the prefooter headings and the badge headings. Body copy is 400, with a handful of paragraphs promoted to 700 when they carry a number or a claim.
  • The display scale is fluid, built from calc(Xrem + Yvw): h1 at calc(1.75rem + 5.71429vw), h2 at calc(1.5rem + 2.85714vw), h3/.section__subheading at calc(1.4375rem + 2.14286vw), h4/.section__heading at calc(1.3125rem + .71429vw). At the 1440px capture the h1 measures 100px on a 130px line height — the largest type on the site, and it is set as two plain lines with no tracking adjustment at all.
  • Headings carry margin-top: 3em — three times their own font size — with only 10px below. That single rule is the page's entire vertical rhythm: a heading always lands three of its own heights below whatever precedes it, which at 100px means 300px of indigo above the hero headline.
  • Line heights are tight and scale with size: 1.3 on the two largest display sizes, 1.35 on the mid display sizes, 1.4 on h4 and the 30px lead paragraphs, 1.2 on the smallest headings, and 1.35 on body copy.
  • Body copy is 16px/400 on 1.35 for paragraphs, lists and links; the nav and button labels step up to 20px; the calculator's field label is 24px; the footer's legal address drops to 14px.
  • Buttons are 20px/700, the only place 700 is used at a small size. text-rendering: optimizeLegibility and -webkit-font-smoothing: antialiased are set on html, which is what keeps the 100px headline crisp at that weight.

Layout

One centered column on a 1260px container, sectioned by generous vertical margins.

  • Announcement banner — a full-bleed yellow bar, 17px of padding top and bottom, with its message centered at 16px inside a 1260px/40px container. It animates in over 300ms.
  • Header — indigo, no border, no shadow. The Website Carbon wordmark left at weight 700 on a 1.16 line height capped at 6em, and How does it work? / FAQ / Get the badge! / Consultancy right at 20px with 1rem between items. A 2px indigo rule... no — the header has no rule at all; the separation is pure space.
  • Hero — the 100px headline in two lines, then the calculator. The h1 sits 3em above everything and 10px below nothing.
  • Calculator card — a cream block, max-width: 730px, 15px of padding, with a 24px field label, a cream input at 65px tall, and a mint Calculate button at 30% width beside it. The card is the only light surface on the page and it is the conversion object.
  • Sections — 50px of margin by default, stepping to 100px on larger breakpoints. --outline sections add 55–75px of block padding and 32–60px inline; --background sections add 50–100px block and 60–140px inline, with a decorative SVG asset absolutely positioned behind them at right: -20px and width: calc(100% + 40px).
  • Showcase grid — repeat(3, minmax(0, 1fr)) with a 35px column gap and a 70px row gap, holding six screenshot cards at 276px wide on mobile. Each card's media is 184px tall with a 7px inner radius and 15px below.
  • Client logo row — a single centered row of white wordmarks (LAVAZZA, Volkswagen, Unilever, Good Energy, BBC) with 40px of padding above and below.
  • Footer — 70px of bottom padding on a 1260px container, laid out row-reverse with the attribution text on one side and the menu on the other; the legal address is 14px and the menu links are 20px with an underline on hover.

Elevation & Depth

One shadow, one ring, and a hard-edged aesthetic.

  • The showcase card shadow is 0 9px 11px #0a0c7a — a large, offset, completely hard shadow in the page's own indigo, with no blur radius at all. Six cards carry it, and on hover it collapses to 0 3px 5px #0a0c7a over 200ms ease-in, so the card appears to press toward the page rather than lift away from it. Using the ground color as the shadow is what makes it read as a cut-out rather than as a drop shadow.
  • The focus ring is 0 0 0 4px rgba(0, 255, 188, .5) — a 4px mint halo at half opacity, on every button, input and select. It replaces the default outline entirely (outline: none), and it is the only place mint appears at partial opacity.
  • Buttons have no shadow at all, and neither does the calculator card — it is separated from the indigo purely by being cream.
  • The loading modal is the only other depth: a fixed #0a0c7a scrim at 80% opacity over the whole viewport.

Shapes

One radius value, and it is small.

  • 7px is the entire radius vocabulary — 10 uses, on buttons, inputs, and the showcase cards' media containers. At a 64px button height that is roughly 11%, so controls read as soft-cornered rectangles rather than as pills.
  • Everything else is square: the sections, the grid cells, the footer, the banner. No pills, no circles in the UI (the A+ grading marker is a 44px circle, but that lives on the report page), no asymmetric corners.
  • The marker highlight is the one shape that is not a rectangle: an inline SVG swipe, fill: #f5faf9, positioned absolutely behind the text at inset: -.1em with z-index: -1, so it bleeds slightly past the line box on all four sides. It is drawn, not styled.

Motion & Micro-interaction

Short, standard, and staggered by column.

  • 300ms ease-in-out on color, background-color, border-color, box-shadow and transform — the button and link interaction, on four elements.
  • 200ms ease-in on box-shadow — the showcase card hover, the only transition tied to a single property.
  • 300ms linear on opacity and transform with 100ms, 150ms and 200ms delays assigned by nth-child — the showcase cards reveal in a wave across the three columns (3n-2 → .1s, 3n-1 → .15s, 3n → .2s). The stagger is the system's only choreography.
  • 400ms ease-in for the fade-up on the home search section (delayed 600ms) and the 300ms banner-in on the announcement bar.
  • scroll-behavior: smooth on html, so every in-page anchor glides.
  • The loading modal runs a linePulse/lineFade pair at 1.1s ease-in-out on an SVG stroke with a 1000-unit dash array — the one piece of drawn animation, and it lives on the report page.

Voice & Content Strategy

The voice is a scientist with a sense of humor, and it leads with a number.

  • "The original Website Carbon calculator"
  • "The internet consumes a lot of electricity. 1021 TWh per year to be precise. To give you some perspective, that's more than the entire United Kingdom."
  • "From data centres to transmission networks to the billions of connected devices that we hold in our hands, it is all consuming electricity, and in turn producing carbon emissions equal to or greater than the global aviation industry. Yikes!"
  • "We developed the first methodology for estimating the carbon emissions attributed to a website."

The headline claims priority rather than benefit — the original — and the body immediately supplies the precision that backs it up (1021 TWh per year to be precise), then a comparison a reader can hold (more than the entire United Kingdom), then a second comparison that escalates (equal to or greater than the global aviation industry). The one exclamation in the copy is Yikes!, set as its own paragraph, and it is the only emotional beat on the page. Trust is established by methodology (We developed the first methodology) and by the showcase section, which is explicitly a leaderboard: Here are some of the most efficient sites as tested by the Website Carbon™ calculator, followed by the reason each one is fast (compressed images, efficient file formats and lightweight fonts, avoiding bloated frameworks). The global average is stated as a single line with the two key figures highlighted by the marker swipe. The page never oversells — the CTA is Test Your web page, not Get started.

Components

Announcement banner

A full-bleed #ffec29 bar with 17px of block padding and a 16px centered message inside the 1260px container. It carries one line — Website Carbon™ is now using V4 of the Sustainable Web Design Model — with the link in the same indigo. It is the only yellow on the site and the only full-bleed colored band.

Header

Indigo, 1260px container, 40px inline padding. Left: the Website Carbon wordmark at weight 700 on a 1.16 line height, capped at 6em. Right: four nav items at 20px/400 with 1rem between them, no hover fill and no underline. There is no border, no shadow and no background change on scroll — the header is simply the top of the indigo.

Display headline

The h1 — Inter UI at 100px/700 on a 130px line height, off-white, set as two plain lines (The original Website / Carbon calculator) with no tracking adjustment. It inherits the 3em top margin that every heading on the site carries, which puts 300px of indigo above it.

Marker highlight

.highlight — an inline element with an SVG swipe behind it (fill: #f5faf9, inset: -.1em, z-index: -1) and indigo text on top, with .3em of inline padding so the swipe extends past the words. It is used to mark the two figures that matter in the global-average line (0.36 grams and 43 kg) and the Beautiful, low carbon websites heading. It is the system's only ornament and the only place a background sits behind body type.

Calculator card

.new-test__inner — a cream block, max-width: 730px, 15px padding, indigo text at 19.2px/400. Inside it a 24px field label (Your web page address), a cream input at 65px tall with 19px 22px padding and 7px radius, and a mint Calculate button at 30% width. It is the only light surface on the page and the only form.

Input

#f5faf9 fill, indigo text at 20px/400, 7px radius, 19px 22px padding, 65px tall, with a placeholder at 70% opacity in the same indigo. On focus or hover it takes the 4px mint ring at 50% — the only state change the field has.

Primary button

.button — mint fill with a 1px mint border, indigo text at 20px/700, 7px radius, 20px 50px padding, 64px tall, no shadow. Hover removes the shadow entirely (there is none to remove) and focus adds the mint ring; the compact variant drops to 19px 22px. Every button on the site is this one object.

Showcase card

A 276px-wide card whose media is a 184px-tall screenshot with a 7px inner radius and overflow: hidden, carrying the hard 0 9px 11px #0a0c7a shadow and 15px below. The heading sits at 1.5em with z-index: 1 so it overlaps the media, and the whole card is wrapped in an absolutely-positioned stretched link. On hover the shadow shrinks to 0 3px 5px over 200ms.

Stat / carbon amount

.carbon__amount and .stat p — the per-site figures (0.07g CO2/page view) at 16px/400 beneath a 24px/700 card heading, and the large stat figures at the h4 fluid size in weight 700. Numbers are always 700; labels are always 400.

Client logo row

A single centered row of white client wordmarks with 40px of block padding, set at body size with no boxes, borders or hover states. The logos supply their own color; the system supplies only the indigo behind them.

Footer

70px of bottom padding on the 1260px container, row-reverse and space-between: the Wholegrain Digital attribution and its explanatory paragraph on one side, the How does it work? / Privacy Policy menu on the other, and the legal address at 14px. Menu links are 20px and underline on hover — the only underline in the system.

Do's and Don'ts

  • Do keep #0a0c7a as both the ground and the ink — the page is one color with type cut out of it.
  • Do keep #f5faf9 as the only light surface: the calculator card, the inputs, the selection and the marker swipe.
  • Do spend #00ffbc only on interaction — button fills and borders, focus rings, the link color inside action blocks, and the loading stroke.
  • Do keep the yellow #ffec29 to exactly one full-bleed band at the top of the page.
  • Do set everything in Inter UI at 400 or 700, and keep every heading at 700.
  • Do build the display scale from calc(rem + vw) and let it run to 100px on the h1.
  • Do keep margin-top: 3em on every heading — it is the page's entire vertical rhythm.
  • Do use one radius, 7px, on buttons, inputs and card media only.
  • Do use the hard indigo shadow 0 9px 11px #0a0c7a on showcase media, collapsing to 0 3px 5px on hover over 200ms.
  • Do use the 4px mint ring at 50% for every focus state, and remove the default outline.
  • Do stagger the showcase reveals by column with 100/150/200ms delays.
  • Do keep the decorative illustrations a step off the ground in #1519d3, never in text or UI.
  • Don't introduce a second typeface, a third weight, an italic or a monospace.
  • Don't add a second radius, a pill, a circle or an asymmetric corner.
  • Don't add blur to any shadow — every shadow in the system is hard-edged and indigo.
  • Don't put mint on anything that is not interactive, and don't use it at full opacity for a focus ring.
  • Don't add a second full-bleed colored band; the announcement bar is the only one.
  • Don't flatten the fluid scale to fixed sizes — the calc(rem + vw) construction is what lets the 100px headline scale down without a breakpoint.
  • Don't put a border, shadow or fill on the header or footer; separation is space alone.
  • Don't slow the timings past 400ms, and don't animate anything that is not a button, a card, a section entrance or the banner.

Comment utiliser le DESIGN.md de Website Carbon avec un agent IA

  1. Récupérer le DESIGN.md de Website Carbon

    Récupérez https://www.designmdpro.app/websites/website-carbon.md ou appelez l'outil get_design_md avec le slug "website-carbon" depuis le serveur MCP DesignMD Pro pour obtenir la version publique. Le jeu complet de tokens nécessite Pro.

  2. Enregistrez-le en tant que DESIGN.md à la racine de votre projet

    Placez le fichier à côté d'AGENTS.md ou CLAUDE.md afin que Claude Code, Cursor, Codex et les autres agents de code puissent le trouver.

  3. Demandez à votre agent de le suivre

    Par exemple : « Construis la page de paramètres en suivant le design system de Website Carbon dans DESIGN.md — utilise ses tokens de couleurs, de typographie et d'espacement. »

Prompt IA style Website Carbon

Construis une landing page responsive dans le style visuel de Website Carbon (websitecarbon.com), en suivant son design system DESIGN.md.

## Couleurs
- accent: #00FFBC
- signal: #FFEC29
- primary: #0A0C7A
- secondary: #1519D3
- on-primary: #F5FAF9

## Typographie
- label: "interui", 24px, weight 400, line-height 1.35
- body-lg: "interui", 20px, weight 400, line-height 1.25

## Rayons de bordure
- sm: 7px
- none: 0px

## Règles
- Utilise uniquement les couleurs ci-dessus pour les arrière-plans, textes, bordures et accents ; n'invente pas de nouvelles couleurs.
- Applique les styles typographiques ci-dessus à tout le texte en respectant leur hiérarchie de tailles et de graisses.
- Reprends les rayons de bordure et les espacements des échelles ci-dessus afin que les composants restent cohérents.

DESIGN.md complet : https://www.designmdpro.app/websites/website-carbon.md
Personnaliser dans le générateur de prompt v0 →

Questions fréquentes

Quelle est la couleur principale de Website Carbon ?

La couleur principale de la marque Website Carbon est Bleu marine (#0A0C7A). Son DESIGN.md définit 5 color tokens au total.

Quelle police utilise Website Carbon ?

Website Carbon utilise interui comme police principale.

Comment utiliser les design tokens de Website Carbon dans Tailwind CSS ou shadcn/ui ?

La couleur principale de Website Carbon (#0A0C7A) est publique sur cette page. Générer un thème Tailwind ou shadcn complet nécessite le DESIGN.md intégral, disponible avec DesignMD Pro.

Ce DESIGN.md de Website Carbon est-il officiel ?

Non. DesignMD Pro l'a extrait du site public websitecarbon.com. Il n'a aucune affiliation avec Website Carbon et n'est pas approuvé par cette marque.

Quand le DESIGN.md de Website Carbon a-t-il été mis à jour pour la dernière fois ?

La version 1.0.0 a été capturée le 26 novembre 2026.

Website Carbon et ses marques appartiennent à leurs propriétaires respectifs. DesignMD Pro est un projet indépendant, sans affiliation ni approbation de Website Carbon ; ce DESIGN.md est extrait du site public à titre de référence uniquement.