A black, white and gray site with 5 colors in use, no framework found, all of its text at WCAG AA
The colors of khanacademy.org
The home page of khanacademy.org has no main color: its CSS paints it in black, white and gray, 5 colors in use out of 15 distinct values in 5.9 KB of CSS. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study, half of its text at 10.2:1 or better against what it sits on.
Measured
| Measure | khanacademy.org |
|---|---|
| Main color | None: black, white and gray only |
| Five heaviest colors | #ffffff #3a424a #1b1b1f #dce0e4 #33363b |
| Colors in use | 5, 0 more than a gray; 15 distinct values in the CSS |
| Hue families | None |
| Canvas | #ffffff, light |
| Dark mode in the CSS | Yes: prefers-color-scheme: dark and a dark theme's class or attribute |
| Notations | hex codes 100% |
Colors through var() | 100% of its color declarations; 10 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 10.2:1; 0% of its text under 4.5:1 |
| Page measured | https://www.khanacademy.org/, 5.9 KB of CSS |
The palette of khanacademy.org
With no hue family on its home page, khanacademy.org gives Recolor's Use site colours button the gray behind its text, the text's own color and grays between the two: #ffffff, #3a424a and #dce0e4. Open khanacademy.org in Recolor in its own colors, or try another palette on khanacademy.org.
CSS variables
:root {
--color-1: #ffffff;
--color-2: #3a424a;
--color-3: #dce0e4;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #ffffff;
--color-2: #3a424a;
--color-3: #dce0e4;
--color-primary: #ffffff;
--color-secondary: #3a424a;
--color-accent: #dce0e4;
}Text contrast on khanacademy.org
Half of the text on khanacademy.org reads at 10.2:1 or better against what it sits on, and all of it reaches WCAG AA: 4.5:1 for body text, 3:1 for large text. On the average studied site 6% of the text fails. None of its text sits on a dark ground. Black or white text on a color shows how such contrast is chosen.
How khanacademy.org writes its colors
Its CSS writes 30 color values: 100% hex codes. 100% of its color declarations read a CSS variable through var(), and it defines 10 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.
Other sites with no main color
Other sites with no main color, close to khanacademy.org in rank. All 32 are on the black, white and gray page. khanacademy.org is also listed under sites with a dark mode.
Common questions
Is the main color of khanacademy.org blue?
No. khanacademy.org has no main color: the study found only black, white and gray on its home page, as on 3.2% of the 1,000 sites.
Does khanacademy.org use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is khanacademy.org 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 khanacademy.org pass WCAG AA?
Yes. All of the text the study measured reaches 4.5:1 against what it sits on, or 3:1 where it is large; half of it reads at 10.2:1 or better.
Can I see khanacademy.org in another palette?
Yes. Load khanacademy.org 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 775 recolor.page
- khanacademy.org, the page measured khanacademy.org
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com