Export

Code

/* Macaron Box — colorset.net */
:root {
  --color-1: #F5DEB3;
  --color-2: #FFB6C1;
  --color-3: #98FB98;
  --color-4: #87CEFA;
  --color-5: #DDA0DD;

  --color-bg: #FDF6E9;
  --color-surface: #F4EDE0;
  --color-border: #DCD4C4;
  --color-text: #6A3E6B;
  --color-muted: #796478;
  --color-primary: #389C3D;
  --color-on-primary: #000000;
  --color-accent: #AF75B0;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #170A17;
    --color-surface: #221422;
    --color-border: #382738;
    --color-text: #F1DFBC;
    --color-muted: #8F8168;
    --color-primary: #98FB98;
    --color-on-primary: #170A17;
    --color-accent: #DDA0DD;
    --color-on-accent: #170A17;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #F5DEB3adjusted for contrast · from #DDA0DD
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #DDA0DDadjusted for contrast · from #F5DEB3
Muted textderivedderived
Primaryadjusted for contrast · from #87CEFAfrom palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #DDA0DDfrom palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.77:1AAA pass 4.5:1
Text on surface7.17:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary5.99:1AA pass 4.5:1
Label on accent5.99:1AA pass 4.5:1
Primary on background3.26:1AA Large pass 3:1
Accent on background3.26:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.67:1AAA pass 4.5:1
Text on surface13.45:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary15.19:1AAA pass 4.5:1
Label on accent9.29:1AAA pass 4.5:1
Primary on background15.19:1AAA pass 3:1
Accent on background9.29:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#F5DEB3 (Text 1)#FFB6C1 (Text 2)#98FB98 (Text 3)#87CEFA (Text 4)#DDA0DD (Text 5)
#F5DEB3Same color1.26—1.04—1.31—1.58—
#FFB6C11.26—Same color1.30—1.04—1.25—
#98FB981.04—1.30—Same color1.36—1.63—
#87CEFA1.31—1.04—1.36—Same color1.21—
#DDA0DD1.58—1.25—1.63—1.21—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F5DEB3#FFB6C1#98FB98#87CEFA#DDA0DD

Variations

About Macaron Box

Five colors make up Macaron Box, a balanced multi-color set: #F5DEB3, #FFB6C1, #98FB98, #87CEFA, #DDA0DD. Pale green #98FB98 and light pink #DDA0DD sit on nearly opposite sides of the wheel (178° apart), a complementary pairing that makes accents pop. From #DDA0DD to #F5DEB3 the colors share a similar light value (lightness 78%–91%), which suits fills and illustration more than body text. Average chroma is 0.102, medium for a palette, so the colors are clear without being loud; the most saturated color is #98FB98. Text contrast reaches 7.8:1 in light mode and 14.7:1 in dark mode, with #389C3D as primary and #AF75B0 as accent. With #98FB98 leading, good fits include illustration, kids’ apps and e-commerce product pages.

Macaron Box color palette: #F5DEB3, #FFB6C1, #98FB98, #87CEFA, #DDA0DD
Share image for Macaron Box

Gradients in similar colors