Palette Library

Ivy League

An elegant palette for education with a teal primary and a yellow accent. Text reaches 13.94:1 in light mode and 14.70:1 in dark mode.

How to use it

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

  • Light mode: page #f0f6fb, cards #e5e9ec, and text #1b2732 at 13.94:1; buttons #1b4d3e with #f0f6fb labels at 8.85:1; highlights #b8860b with #1b2732 text at 4.66:1.
  • Dark mode: page #0e1419, cards #1c2227, and text #d8e7f4 at 14.70:1; buttons #8dc0ae with #0e1419 labels at 9.07:1; highlights #ba8811 with #0e1419 text at 5.84:1.
  • Links: #1b4d3e reaches 8.85:1 on the light page, and #8dc0ae reaches 9.07:1 on the dark page.
  • The accent as text: In light mode, keep #b8860b for fills and badges, not text: it reaches only 2.98: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
#f0f6fb
#0e1419
Surface
#e5e9ec
#1c2227
Text
#1b2732
#d8e7f4
Primary
#1b4d3e
#8dc0ae
Primary Foreground
#f0f6fb
#0e1419
Accent
#b8860b
#ba8811
Accent Foreground
#1b2732
#0e1419

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.94:1AAArequired12.43:1AAArequired1.57:1Fail4.66:1AA
Primary8.85:1AAArequired7.89:1AAA1.00:1Fail2.96:1Fail
Accent2.98:1Fail2.66:1Fail2.96:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.12:1Fail8.85:1AAArequired2.98:1Fail
Accent Foreground13.94:1AAA12.43:1AAA1.57:1Fail4.66:1AArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text14.70:1AAArequired12.73:1AAArequired1.61:1Fail2.51:1Fail
Primary9.07:1AAArequired7.86:1AAA1.00:1Fail1.55:1Fail
Accent5.84:1AA5.06:1AA1.55:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.15:1Fail9.07:1AAArequired5.84:1AA
Accent Foreground1.00:1Fail1.15:1Fail9.07:1AAA5.84:1AArequired

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: #f0f6fb;
  --surface: #e5e9ec;
  --text: #1b2732;
  --primary: #1b4d3e;
  --primary-foreground: #f0f6fb;
  --accent: #b8860b;
  --accent-foreground: #1b2732;
}

.dark {
  --background: #0e1419;
  --surface: #1c2227;
  --text: #d8e7f4;
  --primary: #8dc0ae;
  --primary-foreground: #0e1419;
  --accent: #ba8811;
  --accent-foreground: #0e1419;
}

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: #f0f6fb;
  --surface: #e5e9ec;
  --text: #1b2732;
  --primary: #1b4d3e;
  --primary-foreground: #f0f6fb;
  --accent: #b8860b;
  --accent-foreground: #1b2732;
}

.dark {
  color-scheme: dark;
  --background: #0e1419;
  --surface: #1c2227;
  --text: #d8e7f4;
  --primary: #8dc0ae;
  --primary-foreground: #0e1419;
  --accent: #ba8811;
  --accent-foreground: #0e1419;
}

@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 Plum Press, which shares the elegant style: text reaches 13.94:1 in light mode against 17.36:1, the primary is teal where Plum Press's is purple, and both use a yellow accent.
  • Compared with Lagoon Resort, which shares the elegant style: text reaches 13.94:1 in light mode against 12.73:1, both use a teal primary, and both use a yellow accent.