A green site with 73 colors in use, no framework found, 95% of its text at WCAG AA
The colors of w3schools.com
On w3schools.com, #04aa6d leads: a green main color among 73 colors in use, 47 of them more than a gray. Recolor (recolor.page) measured the home page on October 8, 2026 for its study of the colors of the web, reading 341 distinct color values in 506 KB of CSS, half of its text at 10.5:1 or better against what it sits on.
Measured
| Measure | w3schools.com |
|---|---|
| Main color | #04aa6d, a green near mediumseagreen |
| Five heaviest colors | #ffffff #ebedee #04aa6d #16181d #000000 |
| Colors in use | 73, 47 more than a gray; 341 distinct values in the CSS |
| Hue families | 9; green, blue, red, yellow and pink hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | Yes: a dark theme's class or attribute |
| Notations | hex codes 81%, named colors 10%, rgb() 8.6% |
Colors through var() | 6.2% of its color declarations; 14 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 10.5:1; 5.1% of its text under 4.5:1 |
| Page measured | https://www.w3schools.com/, 506 KB of CSS |
The palette of w3schools.com
As a palette, w3schools.com is #04aa6d, #0000cd, #ff0000, #ffffff and #6e6e73: its hue families' main colors first, in the order Recolor ranks them, then its background and text color (black or white for colored text), then its grays. Open w3schools.com in Recolor in its own colors and press Space to see it in others, or start from a new palette.
CSS variables
:root {
--color-1: #04aa6d;
--color-2: #0000cd;
--color-3: #ff0000;
--color-4: #ffffff;
--color-5: #6e6e73;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #04aa6d;
--color-2: #0000cd;
--color-3: #ff0000;
--color-4: #ffffff;
--color-5: #6e6e73;
--color-primary: #04aa6d;
--color-secondary: #0000cd;
--color-accent: #ff0000;
}Text contrast on w3schools.com
On w3schools.com, 4.8% of the text fails WCAG AA once large text is judged at 3:1 and the rest at 4.5:1. 5.1% reads under 4.5:1 and 2% under 3:1, while half of it reaches 10.5:1. On the average studied site 6% of the text fails. 38% of its text sits on a dark ground. Black or white text on a color explains the lines.
How w3schools.com writes its colors
The 2,292 color values in its CSS are written as hex codes (81%), named colors (10%) and rgb() (8.6%). Through var(), 6.2% of its color declarations take their color from a CSS variable; 14 variables hold one.
No framework the study knows by its variables shows in its CSS, neither Tailwind CSS and Bootstrap nor a site builder's. Its CSS holds dark colors under a dark theme's class or attribute: a dark mode, as on 406 sites of the 1,000.
Sites with a similar main color
The green sites nearest w3schools.com in the lightness of their main color. The green page lists all 45; colors that go with green counts the hues beside it. w3schools.com is also listed under sites with a dark mode.
Common questions
Is the main color of w3schools.com blue?
No. Its main color is #04aa6d, a green near the CSS color mediumseagreen; blue leads on 49% of the 1,000 sites the study read.
Does w3schools.com use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is w3schools.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 w3schools.com pass WCAG AA?
No. 4.8% of its text fails AA, though half of it reads at 10.5:1 or better.
Can I see w3schools.com in another palette?
Yes. Load w3schools.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 502 recolor.page
- w3schools.com, the page measured w3schools.com
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com