Kernel Mono’s yellow is #f7d117. On the dark theme’s near-black paper it reads at 12.6:1, so it can do everything: small text, icons, headings and the focus ring. Whole slabs take a deeper gold, #cfac00, so a block of it sits calmer than the type.
On white it reads at 1.5:1. That fails for text, and it fails the 3:1 that a focus ring or an icon needs. So in the light theme the rule is simple: yellow is never text on white. It sits on black, or it carries black text.
- The slab, the hero block on the home page, is black, and the word on it sits on yellow.
- Small headings are yellow type on a black block that hugs the words.
- The primary button is yellow with black text, at 13.2:1, in both themes.
- The open menu turns the screen black, with the current page underlined in yellow.
- The focus ring is black.
In the dark theme the slab turns gold and the word on it turns black. The same rule, reversed: the two colors trade places, and yellow text never meets white.
One color, two jobs: a voice in the dark, a mark in the light.