Palette Library

Mint Wallet

A pastel palette for finance with a teal primary and a teal accent. Text reaches 14.79:1 in light mode and 18.10:1 in dark mode.

How to use it

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

  • Light mode: page #f5f6f6, cards #e3efed, and text #102523 at 14.79:1; buttons #0f766e with #f5f6f6 labels at 5.05:1; highlights #99f6e4 with #102523 text at 12.70:1.
  • Dark mode: page #080b0a, cards #081614, and text #e2faf6 at 18.10:1; buttons #5db5ac with #080b0a labels at 8.16:1; highlights #99f6e4 with #080b0a text at 15.67:1.
  • Links: #0f766e reaches 5.05:1 on the light page, and #5db5ac reaches 8.16:1 on the dark page.
  • The accent as text: In light mode, keep #99f6e4 for fills and badges, not text: it reaches only 1.16: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
#f5f6f6
#080b0a
Surface
#e3efed
#081614
Text
#102523
#e2faf6
Primary
#0f766e
#5db5ac
Primary Foreground
#f5f6f6
#080b0a
Accent
#99f6e4
#99f6e4
Accent Foreground
#102523
#080b0a

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
Text14.79:1AAArequired13.60:1AAArequired2.92:1Fail12.70:1AAA
Primary5.05:1AArequired4.64:1AA1.00:1Fail4.34:1AA large
Accent1.16:1Fail1.07:1Fail4.34:1AA large1.00:1Fail
Primary Foreground1.00:1Fail1.08:1Fail5.05:1AArequired1.16:1Fail
Accent Foreground14.79:1AAA13.60:1AAA2.92:1Fail12.70:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text18.10:1AAArequired16.94:1AAArequired2.21:1Fail1.15:1Fail
Primary8.16:1AAArequired7.63:1AAA1.00:1Fail1.92:1Fail
Accent15.67:1AAA14.67:1AAA1.92:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.06:1Fail8.16:1AAArequired15.67:1AAA
Accent Foreground1.00:1Fail1.06:1Fail8.16:1AAA15.67: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: #f5f6f6;
  --surface: #e3efed;
  --text: #102523;
  --primary: #0f766e;
  --primary-foreground: #f5f6f6;
  --accent: #99f6e4;
  --accent-foreground: #102523;
}

.dark {
  --background: #080b0a;
  --surface: #081614;
  --text: #e2faf6;
  --primary: #5db5ac;
  --primary-foreground: #080b0a;
  --accent: #99f6e4;
  --accent-foreground: #080b0a;
}

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: #f5f6f6;
  --surface: #e3efed;
  --text: #102523;
  --primary: #0f766e;
  --primary-foreground: #f5f6f6;
  --accent: #99f6e4;
  --accent-foreground: #102523;
}

.dark {
  color-scheme: dark;
  --background: #080b0a;
  --surface: #081614;
  --text: #e2faf6;
  --primary: #5db5ac;
  --primary-foreground: #080b0a;
  --accent: #99f6e4;
  --accent-foreground: #080b0a;
}

@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 Candy Shop, which shares the pastel style: text reaches 14.79:1 in light mode against 14.59:1, the primary is teal where Candy Shop's is pink, and both use a teal accent.
  • Compared with Cloud Nine, which shares the pastel style: text reaches 14.79:1 in light mode against 15.63:1, the primary is teal where Cloud Nine's is blue, and both use a teal accent.