A yellow site with 33 colors in use, no framework found, 99.9% of its text at WCAG AA
The colors of cnbc.com
The main color of cnbc.com is #fcb700, a yellow, and its home page uses 33 colors, 18 of them more than a gray, in 4 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 150 distinct color values in 740.7 KB of CSS, half of its text at 17.93:1 or better against what it sits on.
Measured
| Measure | cnbc.com |
|---|---|
| Main color | #fcb700, a yellow near orange |
| Five heaviest colors | #ffffff #fcb700 #000000 #005594 #747474 |
| Colors in use | 33, 18 more than a gray; 150 distinct values in the CSS |
| Hue families | 4; yellow, blue and green hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | Yes: prefers-color-scheme: dark and a dark theme's class or attribute |
| Notations | hex codes 99.2%, named colors 0.5%, rgb() 0.3%, hsl() under 0.1% |
Colors through var() | under 0.1% of its color declarations; 3 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 17.93:1; under 0.1% of its text under 4.5:1 |
| Page measured | https://www.cnbc.com/, 740.7 KB of CSS |
The palette of cnbc.com
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 cnbc.com that is #fcb700, #005594, #047e2e, #ffffff and #171717. Open cnbc.com in Recolor in its own colors, or try another palette on cnbc.com.
CSS variables
:root {
--color-1: #fcb700;
--color-2: #005594;
--color-3: #047e2e;
--color-4: #ffffff;
--color-5: #171717;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #fcb700;
--color-2: #005594;
--color-3: #047e2e;
--color-4: #ffffff;
--color-5: #171717;
--color-primary: #fcb700;
--color-secondary: #005594;
--color-accent: #047e2e;
}Text contrast on cnbc.com
Half of the text on cnbc.com reads at 17.93:1 or better against what it sits on. Under 0.1% of it falls under 4.5:1, the WCAG AA line for body text, and under 0.1% under 3:1, the line for large text; judged as AA judges each piece of text, under 0.1% fails. On the average studied site 6% of the text fails. 14% of its text sits on a dark ground. Black or white text on a color shows how to fix a pair.
How cnbc.com writes its colors
Its CSS writes 2,483 color values: 99.2% hex codes, 0.5% named colors, 0.3% in rgb() and under 0.1% in hsl(). Under 0.1% of its color declarations read a CSS variable through var(), and it defines 3 variables that hold a 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 a prefers-color-scheme: dark media query and a dark theme's class or attribute, like 406 sites of the 1,000.
Sites with a similar main color
Other yellow sites whose main color is about as light as cnbc.com's. All 31 are on the yellow page, and colors that go with yellow shows what they pair it with. cnbc.com is also listed under sites with a dark mode.
Common questions
Is the main color of cnbc.com blue?
No. Its main color is #fcb700, a yellow near the CSS color orange; blue leads on 49% of the 1,000 sites the study read.
Does cnbc.com use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is cnbc.com a dark site?
No. The color behind its home page is #ffffff, a light canvas, though its CSS declares a dark mode for readers who ask for one.
Does the text on cnbc.com pass WCAG AA?
No. Under 0.1% of its text fails AA, though half of it reads at 17.93:1 or better.
Can I see cnbc.com in another palette?
Yes. Load cnbc.com in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.
Sources
- The colors of the web 2026, Recolor recolor.page
- How the study was measured recolor.page
- dataset.csv, the row of rank 167 recolor.page
- cnbc.com, the page measured cnbc.com
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com