Palette Library

Vault Green

An elegant palette for finance with a green primary and a yellow accent. Text reaches 18.60:1 in light mode and 16.32:1 in dark mode.

How to use it

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

  • Light mode: page #fafffd, cards #e8f3ee, and text #08140f at 18.60:1; buttons #065f46 with #fafffd labels at 7.60:1; highlights #d4af37 with #08140f text at 8.93:1.
  • Dark mode: page #0b110f, cards #131816, and text #def2e9 at 16.32:1; buttons #75bfa1 with #0b110f labels at 8.82:1; highlights #d4af37 with #0b110f text at 9.06:1.
  • Links: #065f46 reaches 7.60:1 on the light page, and #75bfa1 reaches 8.82:1 on the dark page.
  • The accent as text: In light mode, keep #d4af37 for fills and badges, not text: it reaches only 2.08: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
#fafffd
#0b110f
Surface
#e8f3ee
#131816
Text
#08140f
#def2e9
Primary
#065f46
#75bfa1
Primary Foreground
#fafffd
#0b110f
Accent
#d4af37
#d4af37
Accent Foreground
#08140f
#0b110f

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
Text18.60:1AAArequired16.54:1AAArequired2.44:1Fail8.93:1AAA
Primary7.60:1AAArequired6.76:1AA1.00:1Fail3.65:1AA large
Accent2.08:1Fail1.85:1Fail3.65:1AA large1.00:1Fail
Primary Foreground1.00:1Fail1.12:1Fail7.60:1AAArequired2.08:1Fail
Accent Foreground18.60:1AAA16.54:1AAA2.44:1Fail8.93:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text16.32:1AAArequired15.37:1AAArequired1.84:1Fail1.80:1Fail
Primary8.82:1AAArequired8.31:1AAA1.00:1Fail1.02:1Fail
Accent9.06:1AAA8.53:1AAA1.02:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.06:1Fail8.82:1AAArequired9.06:1AAA
Accent Foreground1.00:1Fail1.06:1Fail8.82:1AAA9.06: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: #fafffd;
  --surface: #e8f3ee;
  --text: #08140f;
  --primary: #065f46;
  --primary-foreground: #fafffd;
  --accent: #d4af37;
  --accent-foreground: #08140f;
}

.dark {
  --background: #0b110f;
  --surface: #131816;
  --text: #def2e9;
  --primary: #75bfa1;
  --primary-foreground: #0b110f;
  --accent: #d4af37;
  --accent-foreground: #0b110f;
}

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: #fafffd;
  --surface: #e8f3ee;
  --text: #08140f;
  --primary: #065f46;
  --primary-foreground: #fafffd;
  --accent: #d4af37;
  --accent-foreground: #08140f;
}

.dark {
  color-scheme: dark;
  --background: #0b110f;
  --surface: #131816;
  --text: #def2e9;
  --primary: #75bfa1;
  --primary-foreground: #0b110f;
  --accent: #d4af37;
  --accent-foreground: #0b110f;
}

@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 Savings Jar, which shares the Finance topic: text reaches 18.60:1 in light mode against 16.35:1, both use a green primary, and both use a yellow accent.
  • Compared with Steady Ledger, which shares the Finance topic: text reaches 18.60:1 in light mode against 16.94:1, both use a green primary, and the accent is yellow where Steady Ledger's is blue.