Charcoal canvas, soft white text and a warm coral spark. The Light palette after sunset.
Pure black is harsh on the eyes, so this palette starts from a deep charcoal and lifts cards one step lighter. Body text is a soft off-white rather than pure white to reduce glare, and a warm coral accent carries the Light palette’s personality into the dark.
Click any swatch to copy its hex code.
Worked out when the site is built, using the WCAG 2 formula.
AAA ≥ 7:1 and AA ≥ 4.5:1 for normal text. AA Large ≥ 3:1 is enough for large headings, icons and button shapes.
Every font is self-hosted, so pages load without calling a third-party font service.
Small rooms full of light
Good body type disappears: you stop noticing letters and start reading the story they carry.
const palette = "dark"; // 0O 1lI =>
Headings, links, quotes, code, buttons and cards together.
Colour is never just decoration. A background sets the temperature of a room before a single word is read, and an accent tells the eye where to go next. Choose them together and a site starts to feel like a place.
A palette is a promise about how a page will feel.
// apply the palette const root = document.querySelector("html"); root.dataset.lbTheme = "dark";
Paste into your own project. The font names match the files listed on the Credits page.
/* Dark: Charcoal canvas, soft white text and a warm coral spark. The Light palette after sunset. */
:root {
--color-bg: #121316;
--color-bg-alt: #1B1C20;
--color-surface: #0D0E10;
--color-text: #E6E6E6;
--color-heading: #FFFFFF;
--color-muted: #A0A0A0;
--color-accent: #FF6A5F;
--color-accent-2: #7FB2FF;
--color-link: #FF8A80;
--color-border: #2C2D32;
--color-on-accent: #121316;
--font-heading: 'Libre Baskerville', Georgia, serif;
--font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: 'Geist Mono', ui-monospace, Consolas, monospace;
}/* Dark for Tailwind CSS 4. Use as bg-canvas, text-ink, border-line, font-heading ... */
@import "tailwindcss";
@theme {
--color-canvas: #121316;
--color-canvas-alt: #1B1C20;
--color-surface: #0D0E10;
--color-ink: #E6E6E6;
--color-heading: #FFFFFF;
--color-muted: #A0A0A0;
--color-accent: #FF6A5F;
--color-accent-2: #7FB2FF;
--color-link: #FF8A80;
--color-line: #2C2D32;
--color-on-accent: #121316;
--font-heading: 'Libre Baskerville', Georgia, serif;
--font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: 'Geist Mono', ui-monospace, Consolas, monospace;
}{
"colors": {
"accent": "#FF6A5F",
"accent2": "#7FB2FF",
"bg": "#121316",
"bgAlt": "#1B1C20",
"border": "#2C2D32",
"heading": "#FFFFFF",
"link": "#FF8A80",
"muted": "#A0A0A0",
"onAccent": "#121316",
"surface": "#0D0E10",
"text": "#E6E6E6"
},
"fonts": {
"body": "Geist",
"heading": "Libre Baskerville",
"mono": "Geist Mono"
},
"mode": "dark",
"name": "Dark"
}<!-- Apply Dark to a Lightbi site -->
<html data-lb-theme="dark">
<!-- Or link to this page wearing it -->
https://lightbi-palettes.netlify.app/?palette=dark