Sitepeel
CodePen website (codepen.io) as measured on November 4, 2026

Inspiration · DESIGN.md · measured November 4, 2026

CodePen design system

Dark interface · Telefon Black, Lato · 4px corners

  • #131417
  • #1E1F26
  • #FFFFFF
  • #47CF73
Download DESIGN.md

From codepen.io ↗ · 266 elements at 1440×900 and 390×844 Independent analysis, not affiliated with CodePen

CodePen color palette

15 colors with hex codes, grouped by where each one is used on the page.

Surfaces

Charcoal#131417backgroundPage background · 2×
Cool Charcoal#1E1F26surface-container-low · --cp-color-16Raised areas one step from the page · 5×
Near Black#010101surface-containerCards and panels · 2×
Cool Graphite#252830surface-container-high · --cp-modal-content-borderHover and pressed fills · 1×
Cool Graphite 90%#2C303AE6surface-container-highestHighest raised elements · 1×
White 90%#FFFFFFE6inverse-surfaceHigh-contrast fills · 9×

Text

White#FFFFFFon-surface · --cp-input-focus-bgPrimary text and headings · 31×
Cool Silver#B7BBC8on-surface-variantSecondary text · 6×
Cool Gray#9B9DADon-surface-muted · --cp-color-9Muted text and metadata · 29×
Blue#868CA0on-surface-subtle · --cp-control-bar-colorSubtle text and placeholders · 4×
Near Black#000000on-primaryText and icons on primary

Accents

Green#47CF73primary · --cp-color-postsPrimary buttons and calls to action · 21×
Dark Cyan#1F798FsecondaryAccent in text, fills and borders · 28×
Light Cyan#76DAFFtertiaryAccent in text, fills and borders · 6×

Borders

Dark Blue#444857outline · --cp-pen-header-button-hover-bgBorders and dividers · 1×

Gradients

CodePen fonts and type scale

3 families.

AaTelefon BlackWeights 400, 800Telefon Black, sans-serif
AaLatoWeights 400, 700Lato, Lato Fallback, Lucida Grande, Lucida Sans Unicode
AaSFMono-RegularMonospace · Weights 600SFMono-Regular, Consolas, Liberation Mono, Menlo
headline-displayPage title (h1)CodePen90px · 400 · 1.1
mobile 39px
headline-lgSection headings (h2)The quick brown fox jumps over the lazy dog49px · 800 · 1.15
mobile 39px
body-mdBody textThe quick brown fox jumps over the lazy dog15px · 400 · 1.5
body-lgLead paragraphsThe quick brown fox jumps over the lazy dog22.5px · 400 · 1.4
body-smSecondary and small textThe quick brown fox jumps over the lazy dog12px · 400 · 1.5
captionCaptions and fine printThe quick brown fox jumps over the lazy dog11px · 400 · 1.4
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog15px · 700 · 1.2
codeCode and technical valuesconst ready = true;11px · 600 · 1.2 · -0.027em

Contrast

Text on #131417

AaAAA18.4:1
AaAAA9.6:1
AaAA6.8:1
AaAA5.5:1

Spacing

No strict grid · 23% are multiples of 4px

xs3.26px
sm8px
md15px
lg22.5px
gutter11.25px
section150px
margin30px

Breakpoints: 400px 550px 551px 650px 728px 750px 767px 768px 830px 831px 900px 1100px 1101px 1408px

Shapes

Corner radii, most used first.

sm4px · 72×
xs1px · 16×
lg19.5px · 8×
xl26.25px · 8×
md15px · 4×

Depth

Shadow
Shadow
Shadow
Shadow

CodePen UI components

Rebuilt from the measured CSS.

Sign Up
button-primaryFilled button · hover to see the measured hover state
Try The Editor
button-secondaryFilled button · hover to see the measured hover state
Log In
button-outlineOutlined button
Search CodePen...
input-fieldInput field
Inline link
linkInline link

Motion

Interface transitions

0.2s0.125s0.3s0.4s
easeease-in-out

Do’s and don’ts

Rules written from the measurements, so a coding agent stays on style.

  • Use #131417 for the page and lift surfaces in small steps: #1E1F26, #010101, #252830, #2C303AE6.
  • Keep text in 4 levels: #FFFFFF, #B7BBC8, #9B9DAD, #868CA0.
  • Reserve #47CF73 for primary actions and key highlights.
  • Reuse the measured spacing steps (8px, 15px, 22.5px).
  • Use 4px corners on most elements; larger surfaces also use 1px, 19.5px and 26.25px.
  • Introduce new font families beyond Telefon Black, Lato and SFMono-Regular.
  • Use #47CF73 for large backgrounds or body text.
  • Make interface transitions slower than 0.4s.
CodePen DESIGN.md226 lines

Fonts

What font does CodePen use?

CodePen uses Telefon Black (weights 400 and 800) and Lato (weights 400 and 700), with SFMono-Regular for code on codepen.io. Page titles are 90px at weight 400 (39px on phones) and body text is 15px. Measured on November 4, 2026.

  • AaTelefon Black · 400, 800
  • AaLato · 400, 700
  • AaSFMono-Regular · 600
Find every font on codepen.io with Font finder →

Colors

CodePen colors: palette and hex codes

CodePen’s main colors are #131417 (charcoal) for the background, #FFFFFF (white) for text and #47CF73 (green) as the main accent, with #1F798F (dark cyan) and #76DAFF (light cyan) as other accents. Measured on November 4, 2026.

  • #131417 · charcoal
  • #FFFFFF · white
  • #B7BBC8 · cool silver
  • #9B9DAD · cool gray
  • #868CA0 · blue
  • #1E1F26 · cool charcoal
  • #010101 · near black
  • #252830 · cool graphite
Get codepen.io’s palette as CSS or Tailwind with Colors →

Tech stack

What is CodePen built with?

CodePen’s website (codepen.io) is built with Next.js, React, CSS Modules, Cloudflare and GSAP. Measured on November 4, 2026.

JavaScript framework
Next.js 16.4.3, React 19.3.0-canary-278794d7-2
Animation & 3D
GSAP 3.15.0
Hosting & CDN
Cloudflare, Amazon Web Services
UI & CSS
CSS Modules
Check codepen.io live with Tech stack →

What you can build with it

Landing pages, pricing tables, dashboards: your AI coding agent builds them in this style, with these colors, fonts, spacing and buttons instead of its defaults.

Download DESIGN.md, put it in your project’s root folder, then ask your agent for a page.

Prompt · DESIGN.md attached

Build a landing page for my product. Follow for every color, font, spacing value, corner and button.

Need a page behind a login?

The DESIGN.md generator Chrome extension makes one from any page you have open, including dashboards and pages behind a login.

See the Chrome extension

FAQ

CodePen design system questions

What font does CodePen use?

CodePen’s website uses Telefon Black (weights 400 and 800) and Lato (weights 400 and 700), with SFMono-Regular for code. Page titles are 90px at weight 400 (39px on phones) and body text is 15px. Measured on November 4, 2026.

What are the CodePen colors and hex codes?

On codepen.io: #131417 (charcoal) for the background, #FFFFFF (white) for text and #47CF73 (green) as the main accent, with #1F798F (dark cyan) and #76DAFF (light cyan) as other accents. The color palette above lists all 15 colors with their hex codes and where each one is used.

What is the CodePen design system?

The design system on this page is codepen.io’s, as measured on November 4, 2026: Telefon Black type, #47CF73 as the main color and 4px corners, written down as a DESIGN.md. It is not CodePen’s own documentation.

What is CodePen built with?

CodePen’s website (codepen.io) is built with Next.js, React, CSS Modules, Cloudflare and GSAP. The full tech stack Sitepeel found: Next.js, React, GSAP, Cloudflare, CSS Modules and Amazon Web Services. Measured on November 4, 2026.

What is the CodePen DESIGN.md?

A plain-text file with CodePen’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

Is this CodePen’s official design system?

No. Sitepeel measured it from codepen.io’s public page on November 4, 2026. It is an independent analysis, not made or approved by CodePen.

Can I use CodePen’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy CodePen’s logo, name, pictures or text.

How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.