A cyan site with 28 colors in use, no framework found, 54% of its text at WCAG AA

The colors of codepen.io

The main color of codepen.io is #0ebeff, a cyan, and its home page uses 28 colors, 11 of them more than a gray, in 6 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 78 distinct color values in 577.1 KB of CSS, half of its text at 5.84:1 or better against what it sits on.

Measured

#0ebeffDeep Sky Blue
#ae63e4Medium Orchid
#47cf73Lime Green
#291f34Midnight Blue
#010101Black
From the colors of the web 2026 dataset (dataset.csv, rank 1196), measured on October 8, 2026 with scripts off; how it was measured
Measurecodepen.io
Main color#0ebeff, a cyan near deepskyblue
Five heaviest colors#131417 #ffffff #1e1f26 #47cf73 #ae63e4
Colors in use28, 11 more than a gray; 78 distinct values in the CSS
Hue families6; cyan, magenta, green, yellow and red hold 5% or more of its color
Canvas#131417, dark
Dark mode in the CSSYes: light-dark()
Notationsrgb() 45%, hex codes 26%, named colors 17%, bare channels in a variable 12%, hsl() 0.3%, oklch() 0.3%
Colors through var()86% of its color declarations; 61 variables hold a color
FrameworkNone the study looks for
Text contrastMedian 5.84:1; 49% of its text under 4.5:1
Page measuredhttps://codepen.io/, 577.1 KB of CSS

The palette of codepen.io

Recolor reads a page's colors as its Use site colours button does: each hue family's main color in rank order, then its background and text color, black or white for colored text, then grays. For codepen.io that is #0ebeff, #ae63e4, #47cf73, #291f34 and #010101. Open codepen.io in Recolor in its own colors, or try another palette on codepen.io.

CSS variables

CSS
:root {
  --color-1: #0ebeff;
  --color-2: #ae63e4;
  --color-3: #47cf73;
  --color-4: #291f34;
  --color-5: #010101;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #0ebeff;
  --color-2: #ae63e4;
  --color-3: #47cf73;
  --color-4: #291f34;
  --color-5: #010101;
  --color-primary: #0ebeff;
  --color-secondary: #ae63e4;
  --color-accent: #47cf73;
}

Text contrast on codepen.io

Half of the text on codepen.io reads at 5.84:1 or better against what it sits on. 49% of it falls under 4.5:1, the WCAG AA line for body text, and 45% under 3:1, the line for large text; judged as AA judges each piece of text, 46% fails. On the average studied site 6% of the text fails. Most of its text, 91%, sits on a dark ground. Black or white text on a color shows how to fix a pair.

How codepen.io writes its colors

Its CSS writes 387 color values: 45% in rgb(), 26% hex codes, 17% named colors, 12% bare channels in a variable, 0.3% in hsl() and 0.3% in oklch(). It is one of the 59 studied sites that write oklch(). 86% of its color declarations read a CSS variable through var(), and it defines 61 variables that hold a color. It also mixes colors with color-mix() 21 times, uses light-dark() 111 times and writes 1 relative color.

The study found none of the frameworks it looks for in its CSS: no Tailwind CSS, Bootstrap, WordPress or site builder variables. It declares a dark mode, through light-dark(), like 406 sites of the 1,000.

Sites with a similar main color

Other cyan sites whose main color is about as light as codepen.io's. All 56 are on the cyan page, and colors that go with cyan shows what they pair it with. codepen.io is also listed under dark sites, sites that write oklch() and sites with a dark mode.

Common questions

Is the main color of codepen.io blue?

No. Its main color is #0ebeff, a cyan near the CSS color deepskyblue; blue leads on 49% of the 1,000 sites the study read.

Does codepen.io use Tailwind CSS?

No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.

Is codepen.io a dark site?

Yes. The color behind its home page is #131417, a dark canvas, as on 66 of the 1,000 sites; its CSS holds a dark mode as well.

Does the text on codepen.io pass WCAG AA?

No. 46% of its text fails AA, though half of it reads at 5.84:1 or better.

Can I see codepen.io in another palette?

Yes. Load codepen.io in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.

Sources