Want to test these colours for contrast?
Open Colour ToolColours
Earl uses a hue-paired token system. Every section opts into a hue (green, pink, purple, blue) and a theme (light or dark) to compose its surface, foreground, highlight, and border.
Brand greens
The default hue. Green is home: backgrounds, surfaces, foreground text, accent, and the only hue that ships out of the box without an opt-in.
--earl-green--earl-green-deep--earl-lime--earl-creamNeutrals
Used for type on light surfaces, print, and any context where the green palette would read too coloured.
--earl-blackPink hue
Used by the What we do section. Apply with data-hue="pink" on the section root, then set data-theme="light" or "dark".
--pink-bg-d--pink-hi-d--pink-bg-lPurple hue
Used by the About section. Apply with data-hue="purple".
--purple-bg-d--purple-hi-d--purple-bg-lBlue hue
Used by the Start / CTA banner. Apply with data-hue="blue".
--blue-bg-d--blue-hi-d--blue-bg-lNews category accents
Single colours used to tag news cards by category. They draw from the hue palettes above so they sit correctly on any surface.
--cat-pr--cat-sport--cat-ai--cat-company--cat-financial