W3C Design Tokens
3 filesCross-tool design-token spec (DTCG/W3C). Light + dark mode siblings.
X (formerly Twitter) is the real-time, public-square social platform acquired by Elon Musk in 2022 and rebranded from Twitter to X in July 2023. The post-rebrand identity is a deliberate monochrome reduction: a single geometric X mark in white-on-black or black-on-white, with no chromatic accent surviving from the Twitter Blue era. The product surface retains a multi-mode theme (default dark, "Lights Out" pure-black, light), but the brand-mark surface is one of two values — black or white — with the proprietary Chirp typeface carrying the marketing voice.
Use the [email protected] brand from brand-atoms.com.
Fetch https://brand-atoms.com/dist/brands/x-twitter/1.0.0/json/brand.json
and apply its role mappings (primary, accent, identity, etc.),
reference the fonts in references.fonts, and honor every rule where
severity is "error". Surface any deviation you choose to make.
All converter outputs for [email protected]. Served from
/dist/brands/x-twitter/1.0.0/.
Cross-tool design-token spec (DTCG/W3C). Light + dark mode siblings.
Plain JSON mirror of the resolved brand — palette, fonts, roles, rules.
CSS custom properties on :root with prefers-color-scheme dark.
SCSS variables + Sass maps for swatches, roles, and fonts.
Tailwind v3 theme.extend.colors + fontFamily.
Figma Tokens plugin JSON (Tokens Studio compatible).
Swift enums for SwiftUI / UIKit color + font tokens.
Kotlin objects for Jetpack Compose color + typography tokens.
Human-readable brand guide. Same source as the on-page Brand Guide.
Inline rendering of the Markdown brand guide. Same source as the
markdown/brand-guide.md download.
X (formerly Twitter) is the real-time, public-square social platform acquired by Elon Musk in 2022 and rebranded from Twitter to X in July 2023. The post-rebrand identity is a deliberate monochrome reduction: a single geometric X mark in white-on-black or black-on-white, with no chromatic accent surviving from the Twitter Blue era. The product surface retains a multi-mode theme (default dark, "Lights Out" pure-black, light), but the brand-mark surface is one of two values — black or white — with the proprietary Chirp typeface carrying the marketing voice.
Tags: social, x, twitter, monochrome, dark-first, consumer-tech
X (Twitter) · [email protected] · Proprietary — All Rights Reserved
X (formerly Twitter) corporate palette. Following the July 2023 rebrand, the X identity is a monochrome black-and-white system — the X mark sits on either a black or white canvas with no chromatic accent. The platform's product surface remains a multi-mode app (default dark "Dim", "Lights Out" pure-black, and light) and the legacy Twitter Blue (#1DA1F2) is retained only as a deprecated reference for historical applications. The canonical brand surface today is the black mark on white, or the white mark on black.
| Role | Font | License | Classification |
|---|---|---|---|
heading |
Chirp ([email protected]) |
Proprietary — All Rights Reserved | sans-serif |
body |
Chirp ([email protected]) |
Proprietary — All Rights Reserved | sans-serif |
mono |
JetBrainsMono Nerd Font ([email protected]) |
OFL-1.1 | monospace |
| ID | Name | Value |
|---|---|---|
x-black |
X Black | #000000 |
x-white |
X White | #FFFFFF |
x-dim |
X Dim | #15202B |
x-dim-elevated |
X Dim Elevated | #1E2732 |
x-charcoal |
X Charcoal | #16181C |
x-gray |
X Gray | #71767B |
x-gray-light |
X Gray Light | #E7E9EA |
x-gray-border |
X Gray Border | #2F3336 |
twitter-blue-legacy |
Twitter Blue (Legacy) | #1DA1F2 |
| Role | Swatch | Hex |
|---|---|---|
background |
x-white |
#FFFFFF |
surface |
x-white |
#FFFFFF |
surface-elevated |
x-white |
#FFFFFF |
text-primary |
x-black |
#000000 |
text-secondary |
x-gray |
#71767B |
text-tertiary |
x-gray |
#71767B |
primary |
x-black |
#000000 |
primary-hover |
x-charcoal |
#16181C |
accent |
x-black |
#000000 |
accent-hover |
x-charcoal |
#16181C |
warning |
x-black |
#000000 |
warning-hover |
x-charcoal |
#16181C |
error |
x-black |
#000000 |
success |
x-black |
#000000 |
| Role | Swatch | Hex |
|---|---|---|
background |
x-black |
#000000 |
surface |
x-charcoal |
#16181C |
surface-elevated |
x-dim-elevated |
#1E2732 |
text-primary |
x-gray-light |
#E7E9EA |
text-secondary |
x-gray |
#71767B |
text-tertiary |
x-gray |
#71767B |
primary |
x-white |
#FFFFFF |
primary-hover |
x-gray-light |
#E7E9EA |
accent |
x-white |
#FFFFFF |
accent-hover |
x-gray-light |
#E7E9EA |
warning |
x-white |
#FFFFFF |
warning-hover |
x-gray-light |
#E7E9EA |
error |
x-white |
#FFFFFF |
success |
x-white |
#FFFFFF |
| Role | Swatch | Hex |
|---|---|---|
identity |
x-black |
#000000 |
on-identity |
x-white |
#FFFFFF |
background |
x-black |
#000000 |
surface |
x-charcoal |
#16181C |
surface-elevated |
x-dim-elevated |
#1E2732 |
text-primary |
x-gray-light |
#E7E9EA |
text-secondary |
x-gray |
#71767B |
text-tertiary |
x-gray |
#71767B |
primary |
x-white |
#FFFFFF |
primary-hover |
x-gray-light |
#E7E9EA |
accent |
x-white |
#FFFFFF |
accent-hover |
x-gray-light |
#E7E9EA |
mark |
x-white |
#FFFFFF |
text-emphasis |
x-gray-light |
#E7E9EA |
text-muted |
x-gray |
#71767B |
| Role | Font role key |
|---|---|
display |
heading |
prose |
body |
wordmark |
heading |
code |
mono |
colorChoice → logo.markThe post-2023 X mark is monochrome — black on light surfaces or white on dark surfaces. The legacy Twitter Blue is explicitly out of scope for the current identity; mid-grays compromise the high-contrast reading the brand depends on.
forbiddenTreatment → logoThe X brand toolkit prescribes the X mark only in approved black-or-white variants with adequate clearspace. Recoloring the X into Twitter Blue or any other chromatic value violates the deliberate monochrome reduction that defines the post-rebrand identity.
variantSelection → logox-mark-whitebackgroundColorScheme="dark"On dark surfaces (the canonical X.com canvas), the white X mark is required for legibility. Do not invert the mark file on the fly or apply a chromatic fill.
variantSelection → logox-mark-blackbackgroundColorScheme="light"On light surfaces, the black X mark is required. The mark on x.com light mode and on light marketing surfaces is solid black.
contrastRatio → text-primarybackground4.5WCAG-AAWCAG 2.1 Level AA contrast minimum for body text. X Gray Light (#E7E9EA) on X Black (#000000) reads at ~17.4:1 — comfortably above AA. The rule encodes the floor for any new foreground/background pairing introduced on X-skinned surfaces.
contextRestriction → roles.colors.identityThe X brand-use guidance prohibits placement of the X mark in ways that imply endorsement, on competing-product surfaces, or in ways that imply continuity with retired Twitter branding (e.g., pairing the X mark with the bird).
accessibilityRequirement → *WCAG-AA1.4.3WCAG 2.1 Success Criterion 1.4.3 (Contrast Minimum) — Level AA. The dark-first canvas makes contrast checks the default verification on any new role pairing.
enumMembership → typography.heading.fontWeightChirp is distributed with discrete weights Regular (400), Medium (500), Bold (700), and Heavy (800). X's marketing headlines and the wordmark sit in the 500–800 band; lighter cuts compromise the deliberate, declarative voice the post-rebrand identity depends on.
fontPairing → typography.headingbody1.5X's marketing headlines run substantially larger than body copy. A 1.5× minimum size ratio preserves the declarative display-to- prose hierarchy the post-rebrand voice depends on.
Proprietary — All Rights Reserved2026-05-18Generated by the brand-atoms converter. Source: [email protected] from the encyclopedia.
Every block below renders from the resolved palette + font references on this brand. Swap the brand and the same template re-themes — no per-brand component code required.
Body copy renders in the brand's prose font on the brand's background.
Inline links and highlighted phrases pick up
the brand's primary and highlight roles. Code spans like brand.references.palette
fall back to the monospace face.
A blockquote uses the brand's accent color as its rule. Useful for pulling tagline copy out of running prose.
Neutral status — provides supplemental context without urgency. Uses the brand's primary as the rule.
Confirms a completed action — palette role success determines the rule color.
Calls out something that needs attention but isn't an error — palette role warning.
Surfaces a failure that blocks progress — palette role error. Use sparingly.
| Role | Resolves to | Mode |
|---|---|---|
| primary | brand color #1 | light + dark |
| accent | brand color #2 | light + dark |
| warning | brand warning | light + dark |
| error | brand error | light + dark |
[email protected][email protected][email protected][email protected]Brand-level role overrides on top of palette-default mappings. Each role resolves to a concrete swatch or font reference.
→ x-white #FFFFFF → x-gray-light #E7E9EA → x-black #000000 → x-black #000000 → x-white #FFFFFF → x-white #FFFFFF → x-white #FFFFFF → x-gray-light #E7E9EA → x-charcoal #16181C → x-dim-elevated #1E2732 → x-gray-light #E7E9EA → x-gray #71767B → x-gray-light #E7E9EA → x-gray #71767B → x-gray #71767B → mono JetBrainsMono Nerd Font → heading Chirp → body Chirp → heading Chirp → x-black → x-charcoal → x-white → x-black → x-black → x-charcoal → x-black → x-white → x-white → x-black → x-gray → x-gray → x-black → x-charcoal → x-white → x-gray-light → x-black → x-white → x-white → x-gray-light → x-white → x-charcoal → x-dim-elevated → x-gray-light → x-gray → x-gray → x-white → x-gray-light colorChoice logo.mark allowed x-black, x-white forbidden twitter-blue-legacy, x-gray, x-charcoal, x-dim The post-2023 X mark is monochrome — black on light surfaces or white on dark surfaces. The legacy Twitter Blue is explicitly out of scope for the current identity; mid-grays compromise the high-contrast reading the brand depends on.
forbiddenTreatment logo treatments stretched, rotated, recolored, drop-shadow, on-busy-photo, inverted-without-variant, chromatic-accent, twitter-blue-recolor The X brand toolkit prescribes the X mark only in approved black-or-white variants with adequate clearspace. Recoloring the X into Twitter Blue or any other chromatic value violates the deliberate monochrome reduction that defines the post-rebrand identity.
variantSelection logo use x-mark-white when backgroundColorScheme="dark" On dark surfaces (the canonical X.com canvas), the white X mark is required for legibility. Do not invert the mark file on the fly or apply a chromatic fill.
variantSelection logo use x-mark-black when backgroundColorScheme="light" On light surfaces, the black X mark is required. The mark on x.com light mode and on light marketing surfaces is solid black.
contrastRatio text-primary against background minRatio 4.5 standard WCAG-AA WCAG 2.1 Level AA contrast minimum for body text. X Gray Light (#E7E9EA) on X Black (#000000) reads at ~17.4:1 — comfortably above AA. The rule encodes the floor for any new foreground/background pairing introduced on X-skinned surfaces.
contextRestriction roles.colors.identity forbiddenContexts product-of-competitor, endorsement-implication, twitter-era-rebrand-suggestion The X brand-use guidance prohibits placement of the X mark in ways that imply endorsement, on competing-product surfaces, or in ways that imply continuity with retired Twitter branding (e.g., pairing the X mark with the bird).
accessibilityRequirement * standard WCAG-AA criterion 1.4.3 WCAG 2.1 Success Criterion 1.4.3 (Contrast Minimum) — Level AA. The dark-first canvas makes contrast checks the default verification on any new role pairing.
enumMembership typography.heading.fontWeight allowed 500, 700, 800 Chirp is distributed with discrete weights Regular (400), Medium (500), Bold (700), and Heavy (800). X's marketing headlines and the wordmark sit in the 500–800 band; lighter cuts compromise the deliberate, declarative voice the post-rebrand identity depends on.
fontPairing typography.heading requires body minSizeRatio 1.5 X's marketing headlines run substantially larger than body copy. A 1.5× minimum size ratio preserves the declarative display-to- prose hierarchy the post-rebrand voice depends on.
Proprietary — All Rights Reserved2026-05-18