W3C Design Tokens
3 filesCross-tool design-token spec (DTCG/W3C). Light + dark mode siblings.
Hugging Face is the open community platform for machine-learning models, datasets, and Spaces โ the canonical host for open-source AI artifacts. The brand voice is warm, community-first, and emoji- native: the yellow hug-mark (๐ค) is the identity anchor, a saturated warm orange supports it, and the marketing surface reads as a bright near-white canvas with deep slate text. The brand is light-first and Source Sans Pro carries body and display.
Use the [email protected] brand from brand-atoms.com.
Fetch https://brand-atoms.com/dist/brands/huggingface/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/huggingface/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.
Hugging Face is the open community platform for machine-learning models, datasets, and Spaces โ the canonical host for open-source AI artifacts. The brand voice is warm, community-first, and emoji- native: the yellow hug-mark (๐ค) is the identity anchor, a saturated warm orange supports it, and the marketing surface reads as a bright near-white canvas with deep slate text. The brand is light-first and Source Sans Pro carries body and display.
Tags: huggingface, ai, ml, community, warm, yellow, light-first
Hugging Face ยท [email protected] ยท Proprietary โ All Rights Reserved
Hugging Face's brand palette, captured from the official brand assets page at huggingface.co/brand (Primary Yellow #FFD21E, Secondary Orange #FF9D00, Neutral Gray #6B7280) and supplemented by the live marketing-site surface colors used on huggingface.co. The brand reads as warm, approachable, and emoji-native: the yellow hug-mark is the identity anchor, the orange is the secondary warm, and a near-white canvas with deep slate text carries the long-form model-and-dataset content.
| Role | Font | License | Classification |
|---|---|---|---|
heading |
Source Sans 3 ([email protected]) |
OFL-1.1 | sans-serif |
body |
Source Sans 3 ([email protected]) |
OFL-1.1 | sans-serif |
mono |
JetBrainsMono Nerd Font ([email protected]) |
OFL-1.1 | monospace |
| ID | Name | Value |
|---|---|---|
hug-yellow |
Hug Yellow | #FFD21E |
hug-yellow-deep |
Hug Yellow Deep | #E6B800 |
hug-orange |
Hug Orange | #FF9D00 |
hug-orange-deep |
Hug Orange Deep | #CC7E00 |
hug-neutral |
Hug Neutral | #6B7280 |
hub-canvas |
Hub Canvas | #FFFFFF |
hub-surface |
Hub Surface | #F9FAFB |
hub-surface-elevated |
Hub Surface Elevated | #F3F4F6 |
hub-border |
Hub Border | #E5E7EB |
hub-ink |
Hub Ink | #111827 |
hub-ink-secondary |
Hub Ink Secondary | #374151 |
hub-ink-tertiary |
Hub Ink Tertiary | #6B7280 |
hub-night |
Hub Night | #0B0F19 |
hub-night-surface |
Hub Night Surface | #1F2937 |
hub-night-border |
Hub Night Border | #374151 |
hub-success |
Hub Success | #16A34A |
hub-error |
Hub Error | #DC2626 |
| Role | Swatch | Hex |
|---|---|---|
background |
hub-canvas |
#FFFFFF |
surface |
hub-surface |
#F9FAFB |
surface-elevated |
hub-surface-elevated |
#F3F4F6 |
text-primary |
hub-ink |
#111827 |
text-secondary |
hub-ink-secondary |
#374151 |
text-tertiary |
hub-ink-tertiary |
#6B7280 |
primary |
hug-yellow |
#FFD21E |
primary-hover |
hug-yellow-deep |
#E6B800 |
accent |
hug-orange |
#FF9D00 |
accent-hover |
hug-orange-deep |
#CC7E00 |
success |
hub-success |
#16A34A |
warning |
hug-orange |
#FF9D00 |
error |
hub-error |
#DC2626 |
border |
hub-border |
#E5E7EB |
| Role | Swatch | Hex |
|---|---|---|
background |
hub-night |
#0B0F19 |
surface |
hub-night-surface |
#1F2937 |
surface-elevated |
hub-ink-secondary |
#374151 |
text-primary |
hub-canvas |
#FFFFFF |
text-secondary |
hub-surface-elevated |
#F3F4F6 |
text-tertiary |
hub-ink-tertiary |
#6B7280 |
primary |
hug-yellow |
#FFD21E |
primary-hover |
hug-yellow-deep |
#E6B800 |
accent |
hug-orange |
#FF9D00 |
accent-hover |
hug-orange-deep |
#CC7E00 |
success |
hub-success |
#16A34A |
warning |
hug-orange |
#FF9D00 |
error |
hub-error |
#DC2626 |
border |
hub-night-border |
#374151 |
| Role | Swatch | Hex |
|---|---|---|
identity |
hug-yellow |
#FFD21E |
on-identity |
hub-ink |
#111827 |
primary |
hug-yellow |
#FFD21E |
primary-hover |
hug-yellow-deep |
#E6B800 |
accent |
hug-orange |
#FF9D00 |
accent-hover |
hug-orange-deep |
#CC7E00 |
mark |
hug-yellow |
#FFD21E |
success |
hub-success |
#16A34A |
warning |
hug-orange |
#FF9D00 |
error |
hub-error |
#DC2626 |
text-primary-light |
hub-ink |
#111827 |
text-primary-dark |
hub-canvas |
#FFFFFF |
background-light |
hub-canvas |
#FFFFFF |
background-dark |
hub-night |
#0B0F19 |
surface-light |
hub-surface |
#F9FAFB |
surface-dark |
hub-night-surface |
#1F2937 |
text-secondary-light |
hub-ink-secondary |
#374151 |
text-tertiary-light |
hub-ink-tertiary |
#6B7280 |
border-light |
hub-border |
#E5E7EB |
| Role | Font role key |
|---|---|
display |
heading |
prose |
body |
code |
mono |
colorChoice โ roles.colors.markThe hug-mark renders in its signature Hug Yellow (#FFD21E), in monochrome ink on light surfaces, or in monochrome canvas on dark surfaces โ per the four logo variants published at huggingface.co/brand (HF Logo, HF Logo with Title, HF Logo Monochrome, HF Logo Pirate). The secondary orange is a supporting accent, not a mark fill.
colorChoice โ roles.colors.primaryHugging Face's published brand page names Hug Yellow as the primary and Hug Orange as the secondary. Swapping them inverts the brand hierarchy โ the yellow is the identity, the orange supports it.
forbiddenTreatment โ logoHugging Face publishes specific monochrome and pirate logo variants; consumers must use those variants rather than apply effects to the full-color mark. Stretching, rotating, or drop-shadowing the hug breaks the warm, hand-drawn voice.
contrastRatio โ text-primarybackground4.5WCAG-AAHub Ink (#111827) on Hub Canvas (#FFFFFF) reads at ~17:1 โ well above WCAG AA. Long-form model cards and dataset docs depend on holding that floor.
accessibilityRequirement โ *WCAG-AA1.4.3WCAG 2.1 Success Criterion 1.4.3 (Contrast Minimum) โ Level AA. Hugging Face's Hub canvas pairs deep slate ink with bright surfaces, comfortably clearing AA; consumers must hold this floor across the adapted palette.
contextRestriction โ roles.colors.primaryHug Yellow (#FFD21E) on white reads at ~1.6:1 contrast โ far below the AA 4.5:1 floor for body text. The yellow is for brand-mark surfaces and large emphasis blocks, never for small text or thin iconography on a light canvas.
enumMembership โ typography.heading.fontWeightThe live huggingface.co surface renders display headings at 400 / 600 / 700 on Source Sans Pro. The substitute Source Sans 3 family carries the same weight band; intermediate weights are not part of the published display set.
compositionConstraint โ roles.colors.primaryHug Yellow reads cleanest against deep ink, bright canvas, or alongside its warm secondary orange. Adjacent saturated reds or greens fight the warm-on-bright voice and read as product-state semantics rather than brand identity.
Proprietary โ All Rights Reserved2026-05-19Generated 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.
โ hug-orange #FF9D00 โ hug-orange-deep #CC7E00 โ hub-night #0B0F19 โ hub-canvas #FFFFFF โ hub-border #E5E7EB โ hub-error #DC2626 โ hug-yellow #FFD21E โ hug-yellow #FFD21E โ hub-ink #111827 โ hug-yellow #FFD21E โ hug-yellow-deep #E6B800 โ hub-success #16A34A โ hub-night-surface #1F2937 โ hub-surface #F9FAFB โ hub-canvas #FFFFFF โ hub-ink #111827 โ hub-ink-secondary #374151 โ hub-ink-tertiary #6B7280 โ hug-orange #FF9D00 โ mono JetBrainsMono Nerd Font โ heading Source Sans 3 โ body Source Sans 3 โ hug-orange โ hug-orange-deep โ hub-canvas โ hub-border โ hub-error โ hug-yellow โ hug-yellow-deep โ hub-success โ hub-surface โ hub-surface-elevated โ hub-ink โ hub-ink-secondary โ hub-ink-tertiary โ hug-orange โ hug-orange โ hug-orange-deep โ hub-night โ hub-night-border โ hub-error โ hug-yellow โ hug-yellow-deep โ hub-success โ hub-night-surface โ hub-ink-secondary โ hub-canvas โ hub-surface-elevated โ hub-ink-tertiary โ hug-orange colorChoice roles.colors.mark allowed hug-yellow, hub-ink, hub-canvas forbidden hug-orange, hub-success, hub-error, hub-night The hug-mark renders in its signature Hug Yellow (#FFD21E), in monochrome ink on light surfaces, or in monochrome canvas on dark surfaces โ per the four logo variants published at huggingface.co/brand (HF Logo, HF Logo with Title, HF Logo Monochrome, HF Logo Pirate). The secondary orange is a supporting accent, not a mark fill.
colorChoice roles.colors.primary allowed hug-yellow, hug-yellow-deep forbidden hug-orange, hub-ink, hub-canvas Hugging Face's published brand page names Hug Yellow as the primary and Hug Orange as the secondary. Swapping them inverts the brand hierarchy โ the yellow is the identity, the orange supports it.
forbiddenTreatment logo treatments stretched, rotated, recolored, drop-shadow, gradient-fill, on-busy-photo Hugging Face publishes specific monochrome and pirate logo variants; consumers must use those variants rather than apply effects to the full-color mark. Stretching, rotating, or drop-shadowing the hug breaks the warm, hand-drawn voice.
contrastRatio text-primary against background minRatio 4.5 standard WCAG-AA Hub Ink (#111827) on Hub Canvas (#FFFFFF) reads at ~17:1 โ well above WCAG AA. Long-form model cards and dataset docs depend on holding that floor.
accessibilityRequirement * standard WCAG-AA criterion 1.4.3 WCAG 2.1 Success Criterion 1.4.3 (Contrast Minimum) โ Level AA. Hugging Face's Hub canvas pairs deep slate ink with bright surfaces, comfortably clearing AA; consumers must hold this floor across the adapted palette.
contextRestriction roles.colors.primary forbiddenContexts body-text, small-icon-on-light Hug Yellow (#FFD21E) on white reads at ~1.6:1 contrast โ far below the AA 4.5:1 floor for body text. The yellow is for brand-mark surfaces and large emphasis blocks, never for small text or thin iconography on a light canvas.
enumMembership typography.heading.fontWeight allowed 400, 600, 700 The live huggingface.co surface renders display headings at 400 / 600 / 700 on Source Sans Pro. The substitute Source Sans 3 family carries the same weight band; intermediate weights are not part of the published display set.
compositionConstraint roles.colors.primary pairsWith hub-ink, hub-canvas, hug-orange doesNotPairWith hub-error, hub-success Hug Yellow reads cleanest against deep ink, bright canvas, or alongside its warm secondary orange. Adjacent saturated reds or greens fight the warm-on-bright voice and read as product-state semantics rather than brand identity.
Proprietary โ All Rights Reserved2026-05-19