Pairing 20 of 27

Black, cyan and yellow color palette

A black, cyan and yellow color palette: black #000000, light cyan #7DF9FF (Glitter Shower) and light yellow #FFD479 (Cantaloupe). Below are the hex, RGB and HSL values, the WCAG contrast ratio for each pair, and the palette on example websites.

Passes WCAG AA for normal text (4.5:1): #000000 and #7DF9FF (16.86:1), #000000 and #FFD479 (14.94:1). Does not pass: #7DF9FF and #FFD479 (1.12:1).

Open in generator

Color values

ColorHexRGBHSLBest text on it
Black#000000rgb(0 0 0)hsl(0 0% 0%)White, 21.00:1
Glitter Shower#7DF9FFrgb(125 249 255)hsl(183 100% 75%)Black, 16.86:1
Cantaloupe#FFD479rgb(255 212 121)hsl(41 100% 74%)Black, 14.94:1

Contrast ratios

WCAG 2 contrast between each pair of colors. Normal text needs 4.5:1 for AA and 7:1 for AAA. Large text (18 pt, or 14 pt bold) and UI parts need 3:1 for AA.

PairRatioAA textAAA textAA largeUse
Black and Glitter Shower16.86:1PassPassPassBody text
Black and Cantaloupe14.94:1PassPassPassBody text
Glitter Shower and Cantaloupe1.12:1FailFailFailAccents only

How to use this palette

  • Black and Glitter Shower is the strongest pair at 16.86:1. It passes AAA, so it works for body text.
  • Keep Glitter Shower and Cantaloupe (1.12:1) apart. Use them as neighboring fills or accents, never as text on a background.
  • Black takes white text at 21.00:1; Glitter Shower takes black text at 16.86:1; Cantaloupe takes black text at 14.94:1.
  • Lightness runs from 0% (Black) to 7451% (Glitter Shower), a wide spread. Use Black or Glitter Shower as the page background and the other as text.
  • Glitter Shower is the most saturated (10000%) and very light, so it suits the accent: buttons, links and one-off highlights.

Preview on example websites

The same three colors on made-up sites. The first color is the base, the second supports it in panels and photos, and the third is the accent. Switch the template with the arrows, turn the accent off, or swap the roles.

Product launch