Palette Library

Clinic Mint

A calm palette for health with a teal primary and a blue accent. Text reaches 13.74:1 in light mode and 15.13:1 in dark mode.

How to use it

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

  • Light mode: page #f9f7f5, cards #eceae6, and text #2a2826 at 13.74:1; buttons #0f766e with #f9f7f5 labels at 5.12:1; highlights #60a5fa with #2a2826 text at 5.77:1.
  • Dark mode: page #181410, cards #262524, and text #ece9e5 at 15.13:1; buttons #5db5ac with #181410 labels at 7.56:1; highlights #60a5fa with #181410 text at 7.20:1.
  • Links: #0f766e reaches 5.12:1 on the light page, and #5db5ac reaches 7.56:1 on the dark page.
  • The accent as text: In light mode, keep #60a5fa for fills and badges, not text: it reaches only 2.37: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
#f9f7f5
#181410
Surface
#eceae6
#262524
Text
#2a2826
#ece9e5
Primary
#0f766e
#5db5ac
Primary Foreground
#f9f7f5
#181410
Accent
#60a5fa
#60a5fa
Accent Foreground
#2a2826
#181410

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.74:1AAArequired12.22:1AAArequired2.68:1Fail5.77:1AA
Primary5.12:1AArequired4.55:1AA1.00:1Fail2.15:1Fail
Accent2.37:1Fail2.11:1Fail2.15:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.12:1Fail5.12:1AArequired2.37:1Fail
Accent Foreground13.74:1AAA12.22:1AAA2.68:1Fail5.77:1AArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text15.13:1AAArequired12.64:1AAArequired2.00:1Fail2.10:1Fail
Primary7.56:1AAArequired6.31:1AA1.00:1Fail1.04:1Fail
Accent7.20:1AAA6.01:1AA1.04:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.19:1Fail7.56:1AAArequired7.20:1AAA
Accent Foreground1.00:1Fail1.19:1Fail7.56:1AAA7.20: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: #f9f7f5;
  --surface: #eceae6;
  --text: #2a2826;
  --primary: #0f766e;
  --primary-foreground: #f9f7f5;
  --accent: #60a5fa;
  --accent-foreground: #2a2826;
}

.dark {
  --background: #181410;
  --surface: #262524;
  --text: #ece9e5;
  --primary: #5db5ac;
  --primary-foreground: #181410;
  --accent: #60a5fa;
  --accent-foreground: #181410;
}

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: #f9f7f5;
  --surface: #eceae6;
  --text: #2a2826;
  --primary: #0f766e;
  --primary-foreground: #f9f7f5;
  --accent: #60a5fa;
  --accent-foreground: #2a2826;
}

.dark {
  color-scheme: dark;
  --background: #181410;
  --surface: #262524;
  --text: #ece9e5;
  --primary: #5db5ac;
  --primary-foreground: #181410;
  --accent: #60a5fa;
  --accent-foreground: #181410;
}

@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 Nurse Station, which shares the calm style: text reaches 13.74:1 in light mode against 12.51:1, the primary is teal where Nurse Station's is blue, and the accent is blue where Nurse Station's is green.
  • Compared with Harbor Light, which shares the calm style: text reaches 13.74:1 in light mode against 13.10:1, the primary is teal where Harbor Light's is blue, and the accent is blue where Harbor Light's is yellow.