Palette Library

Terminal Glow

A bold palette for developer tools with a green primary and a purple accent. Text reaches 13.92:1 in light mode and 16.12:1 in dark mode.

How to use it

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

  • Light mode: page #fffdfb, cards #f4f3f1, and text #2d2b27 at 13.92:1; buttons #15803d with #fffdfb labels at 4.94:1; highlights #c084fc with #2d2b27 text at 5.34:1.
  • Dark mode: page #090908, cards #1c1711, and text #efe6da at 16.12:1; buttons #5ab972 with #090908 labels at 8.17:1; highlights #c084fc with #090908 text at 7.53:1.
  • Links: #15803d reaches 4.94:1 on the light page, and #5ab972 reaches 8.17:1 on the dark page.
  • The accent as text: In light mode, keep #c084fc for fills and badges, not text: it reaches only 2.60: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
#fffdfb
#090908
Surface
#f4f3f1
#1c1711
Text
#2d2b27
#efe6da
Primary
#15803d
#5ab972
Primary Foreground
#fffdfb
#090908
Accent
#c084fc
#c084fc
Accent Foreground
#2d2b27
#090908

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
Text13.92:1AAArequired12.73:1AAArequired2.81:1Fail5.34:1AA
Primary4.94:1AArequired4.52:1AA1.00:1Fail1.89:1Fail
Accent2.60:1Fail2.38:1Fail1.89:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.09:1Fail4.94:1AArequired2.60:1Fail
Accent Foreground13.92:1AAA12.73:1AAA2.81:1Fail5.34:1AArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text16.12:1AAArequired14.40:1AAArequired1.97:1Fail2.13:1Fail
Primary8.17:1AAArequired7.30:1AAA1.00:1Fail1.08:1Fail
Accent7.53:1AAA6.73:1AA1.08:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.11:1Fail8.17:1AAArequired7.53:1AAA
Accent Foreground1.00:1Fail1.11:1Fail8.17:1AAA7.53: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: #fffdfb;
  --surface: #f4f3f1;
  --text: #2d2b27;
  --primary: #15803d;
  --primary-foreground: #fffdfb;
  --accent: #c084fc;
  --accent-foreground: #2d2b27;
}

.dark {
  --background: #090908;
  --surface: #1c1711;
  --text: #efe6da;
  --primary: #5ab972;
  --primary-foreground: #090908;
  --accent: #c084fc;
  --accent-foreground: #090908;
}

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: #fffdfb;
  --surface: #f4f3f1;
  --text: #2d2b27;
  --primary: #15803d;
  --primary-foreground: #fffdfb;
  --accent: #c084fc;
  --accent-foreground: #2d2b27;
}

.dark {
  color-scheme: dark;
  --background: #090908;
  --surface: #1c1711;
  --text: #efe6da;
  --primary: #5ab972;
  --primary-foreground: #090908;
  --accent: #c084fc;
  --accent-foreground: #090908;
}

@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 Night Shift, which shares the bold style: text reaches 13.92:1 in light mode against 13.69:1, the primary is green where Night Shift's is purple, and the accent is purple where Night Shift's is yellow.
  • Compared with Bramble, which shares the bold style: text reaches 13.92:1 in light mode against 16.26:1, the primary is green where Bramble's is purple, and the accent is purple where Bramble's is green.