W3C Design Tokens
3 filesCross-tool design-token spec (DTCG/W3C). Light + dark mode siblings.
Python is a high-level, general-purpose, dynamically-typed programming language that emphasizes readability and the Zen of Python ("explicit is better than implicit; readability counts"). The brand voice is welcoming, pedagogical, and community-first — Python's growth has been carried by tutorials, scientific computing, and an inclusive Python Software Foundation (PSF) governance model. Visually, the brand pairs Python Blue (#3776AB) with Python Yellow (#FFD43B) in the two-snake logo, the equal-weight pairing being load-bearing.
Use the [email protected] brand from brand-atoms.com.
Fetch https://brand-atoms.com/dist/brands/python/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/python/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.
Python is a high-level, general-purpose, dynamically-typed programming language that emphasizes readability and the Zen of Python ("explicit is better than implicit; readability counts"). The brand voice is welcoming, pedagogical, and community-first — Python's growth has been carried by tutorials, scientific computing, and an inclusive Python Software Foundation (PSF) governance model. Visually, the brand pairs Python Blue (#3776AB) with Python Yellow (#FFD43B) in the two-snake logo, the equal-weight pairing being load-bearing.
Tags: python, programming-language, psf, open-source, brand, education
Python · [email protected] · Proprietary — All Rights Reserved
Python language brand palette anchored on the two-snake logo's canonical pairing: Python Blue (#3776AB) and Python Yellow (#FFD43B). The PSF logo combines them at equal weight; consumer surfaces typically use blue as the primary identity and yellow as the high-energy accent. A neutral set rounds out the page-level light and dark canvases.
| Role | Font | License | Classification |
|---|---|---|---|
heading |
Inter ([email protected]) |
OFL-1.1 | sans-serif |
body |
Inter ([email protected]) |
OFL-1.1 | sans-serif |
mono |
Source Code Pro ([email protected]) |
OFL-1.1 | monospace |
| ID | Name | Value |
|---|---|---|
python-blue |
Python Blue | #3776AB |
python-yellow |
Python Yellow | #FFD43B |
python-dark-blue |
Python Dark Blue | #1E415E |
python-dark-yellow |
Python Dark Yellow | #FFC331 |
python-black |
Python Black | #0E1217 |
python-charcoal |
Python Charcoal | #1C232C |
python-gray |
Python Gray | #646464 |
python-light-gray |
Python Light Gray | #D5D5D5 |
python-off-white |
Python Off-White | #F4F4F4 |
python-white |
Python White | #FFFFFF |
python-success |
Python Success Green | #3F924B |
| Role | Swatch | Hex |
|---|---|---|
background |
python-white |
#FFFFFF |
surface |
python-off-white |
#F4F4F4 |
surface-elevated |
python-white |
#FFFFFF |
text-primary |
python-dark-blue |
#1E415E |
text-secondary |
python-gray |
#646464 |
text-tertiary |
python-blue |
#3776AB |
primary |
python-blue |
#3776AB |
primary-hover |
python-dark-blue |
#1E415E |
accent |
python-yellow |
#FFD43B |
accent-hover |
python-dark-yellow |
#FFC331 |
warning |
python-yellow |
#FFD43B |
warning-hover |
python-dark-yellow |
#FFC331 |
error |
python-dark-yellow |
#FFC331 |
success |
python-success |
#3F924B |
| Role | Swatch | Hex |
|---|---|---|
background |
python-black |
#0E1217 |
surface |
python-charcoal |
#1C232C |
surface-elevated |
python-charcoal |
#1C232C |
text-primary |
python-white |
#FFFFFF |
text-secondary |
python-light-gray |
#D5D5D5 |
text-tertiary |
python-yellow |
#FFD43B |
primary |
python-yellow |
#FFD43B |
primary-hover |
python-dark-yellow |
#FFC331 |
accent |
python-blue |
#3776AB |
accent-hover |
python-dark-blue |
#1E415E |
warning |
python-yellow |
#FFD43B |
warning-hover |
python-dark-yellow |
#FFC331 |
error |
python-dark-yellow |
#FFC331 |
success |
python-success |
#3F924B |
| Role | Swatch | Hex |
|---|---|---|
identity |
python-blue |
#3776AB |
on-identity |
python-white |
#FFFFFF |
primary |
python-blue |
#3776AB |
primary-hover |
python-dark-blue |
#1E415E |
accent |
python-yellow |
#FFD43B |
accent-hover |
python-dark-yellow |
#FFC331 |
background |
python-white |
#FFFFFF |
surface |
python-off-white |
#F4F4F4 |
text-primary |
python-dark-blue |
#1E415E |
text-secondary |
python-gray |
#646464 |
| Role | Font role key |
|---|---|
display |
heading |
prose |
body |
code |
mono |
compositionConstraint → logoThe PSF two-snake logo is defined by the equal-weight pairing of Python Blue and Python Yellow. Reproducing only one snake or substituting other hues breaks the Foundation's mark identity.
forbiddenTreatment → logoThe PSF Trademark Usage Policy requires that the Python logo be reproduced "with the right colors and fonts" and that derived versions require PSF approval before use. Recoloring, rotating, or otherwise altering the mark violates the policy.
colorChoice → roles.colors.identityPython Blue and Python Yellow are the two canonical identity colors. Other neutrals in this palette are supporting tones only.
contrastRatio → text-primarybackground4.5WCAG-AAPython Dark Blue (#1E415E) on Python White exceeds 9:1 — well above the WCAG AA threshold for body text.
contextRestriction → trademark.useThe PSF Trademark Usage Policy requires permission before selling Python-branded merchandise and prohibits uses that imply official PSF endorsement.
accessibilityRequirement → *WCAG-AA1.4.3WCAG 2.1 Success Criterion 1.4.3 (Contrast Minimum) — Level AA. The Python brand uses Blue as its AA-compliant interactive color; Yellow is reserved for large display and accent use only.
contrastRatio → roles.colors.primarybackground4.5WCAG-AAPython Blue (#3776AB) on White sits around 5.4:1 — clears AA for body text. Python Yellow (#FFD43B) on White does NOT clear AA; reserve yellow for large surfaces or pair with a dark canvas for legibility.
fontPairing → typography.headingbody1.5Python.org and PSF surfaces use a single humanist sans for heading and body. Maintain at least a 1.5× heading-to-body ratio to preserve hierarchy.
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 |
Brand-level role overrides on top of palette-default mappings. Each role resolves to a concrete swatch or font reference.
→ python-yellow #FFD43B → python-dark-yellow #FFC331 → python-white #FFFFFF → python-blue #3776AB → python-white #FFFFFF → python-blue #3776AB → python-dark-blue #1E415E → python-off-white #F4F4F4 → python-dark-blue #1E415E → python-gray #646464 → mono Source Code Pro → heading Inter → body Inter → python-yellow → python-dark-yellow → python-white → python-dark-yellow → python-blue → python-dark-blue → python-success → python-off-white → python-white → python-dark-blue → python-gray → python-blue → python-yellow → python-dark-yellow → python-blue → python-dark-blue → python-black → python-dark-yellow → python-yellow → python-dark-yellow → python-success → python-charcoal → python-charcoal → python-white → python-light-gray → python-yellow → python-yellow → python-dark-yellow compositionConstraint logo pairsWith python-blue, python-yellow The PSF two-snake logo is defined by the equal-weight pairing of Python Blue and Python Yellow. Reproducing only one snake or substituting other hues breaks the Foundation's mark identity.
forbiddenTreatment logo treatments recolored, rotated, skewed, stretched, derived-without-approval, drop-shadow The PSF Trademark Usage Policy requires that the Python logo be reproduced "with the right colors and fonts" and that derived versions require PSF approval before use. Recoloring, rotating, or otherwise altering the mark violates the policy.
colorChoice roles.colors.identity allowed python-blue, python-yellow Python Blue and Python Yellow are the two canonical identity colors. Other neutrals in this palette are supporting tones only.
contrastRatio text-primary against background minRatio 4.5 standard WCAG-AA Python Dark Blue (#1E415E) on Python White exceeds 9:1 — well above the WCAG AA threshold for body text.
contextRestriction trademark.use forbiddenContexts implied-endorsement, paid-merchandise-without-approval The PSF Trademark Usage Policy requires permission before selling Python-branded merchandise and prohibits uses that imply official PSF endorsement.
accessibilityRequirement * standard WCAG-AA criterion 1.4.3 WCAG 2.1 Success Criterion 1.4.3 (Contrast Minimum) — Level AA. The Python brand uses Blue as its AA-compliant interactive color; Yellow is reserved for large display and accent use only.
contrastRatio roles.colors.primary against background minRatio 4.5 standard WCAG-AA Python Blue (#3776AB) on White sits around 5.4:1 — clears AA for body text. Python Yellow (#FFD43B) on White does NOT clear AA; reserve yellow for large surfaces or pair with a dark canvas for legibility.
fontPairing typography.heading requires body minSizeRatio 1.5 Python.org and PSF surfaces use a single humanist sans for heading and body. Maintain at least a 1.5× heading-to-body ratio to preserve hierarchy.
Proprietary — All Rights Reserved2026-05-18