Palette Library

Build Log

A muted palette for developer tools with a blue primary and a yellow accent. Text reaches 12.83:1 in light mode and 17.92:1 in dark mode.

How to use it

Build Log's roles on a real interface, with the ratios stored for this palette.

  • Light mode: page #fefbf5, cards #eeedec, and text #342f29 at 12.83:1; buttons #2f4858 with #fefbf5 labels at 9.28:1; highlights #f6ae2d with #342f29 text at 6.94:1.
  • Dark mode: page #090807, cards #16130f, and text #fcf1e1 at 17.92:1; buttons #9bb7ca with #090807 labels at 9.54:1; highlights #f6ae2d with #090807 text at 10.49:1.
  • Links: #2f4858 reaches 9.28:1 on the light page, and #9bb7ca reaches 9.54:1 on the dark page.
  • The accent as text: In light mode, keep #f6ae2d for fills and badges, not text: it reaches only 1.84:1 on the page.

Preview

The same palette on a small interface in light and dark.

Light mode

A place for your ideas

Start with colors that work together.

Your next project

A surface for the details that matter.

Get startedNew

Explore your palette →

Dark mode

A place for your ideas

Start with colors that work together.

Your next project

A surface for the details that matter.

Get startedNew

Explore your palette →

Roles

Five roles and their two foregrounds. Copy the exact HEX values.

RoleLightDark
Background
#fefbf5
#090807
Surface
#eeedec
#16130f
Text
#342f29
#fcf1e1
Primary
#2f4858
#9bb7ca
Primary Foreground
#fefbf5
#090807
Accent
#f6ae2d
#f6ae2d
Accent Foreground
#342f29
#090807

Contrast matrix

Five required pairs per mode, judged on the final 8-bit colors.

Light mode

Scroll the table sideways on a small screen.

light mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text12.83:1AAArequired11.33:1AAArequired1.38:1Fail6.94:1AA
Primary9.28:1AAArequired8.20:1AAA1.00:1Fail5.03:1AA
Accent1.84:1Fail1.63:1Fail5.03:1AA1.00:1Fail
Primary Foreground1.00:1Fail1.13:1Fail9.28:1AAArequired1.84:1Fail
Accent Foreground12.83:1AAA11.33:1AAA1.38:1Fail6.94:1AArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text17.92:1AAArequired16.58:1AAArequired1.87:1Fail1.70:1Fail
Primary9.54:1AAArequired8.83:1AAA1.00:1Fail1.09:1Fail
Accent10.49:1AAA9.70:1AAA1.09:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.08:1Fail9.54:1AAArequired10.49:1AAA
Accent Foreground1.00:1Fail1.08:1Fail9.54:1AAA10.49:1AAArequired

AAA: normal text ≥ 7:1. AA: normal text ≥ 4.5:1. AA large: large text ≥ 3:1 (24 px, or 18.66 px bold). UI: required component contrast ≥ 3:1. Fail: below 3:1. Required marks the five pairs ColorLint checks in each mode. Other pairs are informational.

ColorLint checks color contrast only. Passing pairs do not mean a page is accessible.

Exports

Both modes, with the exact values the Palette Generator exports.

CSS variables

/* ColorLint palette (v1). Light values in :root; dark values in .dark. */

:root {
  --background: #fefbf5;
  --surface: #eeedec;
  --text: #342f29;
  --primary: #2f4858;
  --primary-foreground: #fefbf5;
  --accent: #f6ae2d;
  --accent-foreground: #342f29;
}

.dark {
  --background: #090807;
  --surface: #16130f;
  --text: #fcf1e1;
  --primary: #9bb7ca;
  --primary-foreground: #090807;
  --accent: #f6ae2d;
  --accent-foreground: #090807;
}

Tailwind v4

/* ColorLint palette for Tailwind CSS v4 (palette v1). */
/* Paste after @import "tailwindcss". Add the "dark" class to <html> for dark mode. */

@custom-variant dark (&:where(.dark, .dark *));

:root {
  color-scheme: light;
  --background: #fefbf5;
  --surface: #eeedec;
  --text: #342f29;
  --primary: #2f4858;
  --primary-foreground: #fefbf5;
  --accent: #f6ae2d;
  --accent-foreground: #342f29;
}

.dark {
  color-scheme: dark;
  --background: #090807;
  --surface: #16130f;
  --text: #fcf1e1;
  --primary: #9bb7ca;
  --primary-foreground: #090807;
  --accent: #f6ae2d;
  --accent-foreground: #090807;
}

@theme inline {
  --color-background: var(--background);
  --color-surface: var(--surface);
  --color-text: var(--text);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
}

Compared with similar palettes

  • Compared with Harbor Light, which shares a color: text reaches 12.83:1 in light mode against 13.10:1, both use a blue primary, and both use a yellow accent.
  • Compared with Chalkboard, which shares a color: text reaches 12.83:1 in light mode against 12.43:1, both use a blue primary, and both use a yellow accent.