Export

Code

/* Melon Slice — colorset.net */
:root {
  --color-1: #E4F8E7;
  --color-2: #B4EFBF;
  --color-3: #FFC8C3;
  --color-4: #F3E5B0;
  --color-5: #8DCBA9;

  --color-bg: #E4F8E7;
  --color-surface: #F1FDF3;
  --color-border: #C9E0CD;
  --color-text: #1C5A3E;
  --color-muted: #5A7566;
  --color-primary: #5C9878;
  --color-on-primary: #000000;
  --color-accent: #B07D79;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #03140A;
    --color-surface: #0B1E14;
    --color-border: #1C3427;
    --color-text: #E4F8E7;
    --color-muted: #7C8E7F;
    --color-primary: #8DCBA9;
    --color-on-primary: #03140A;
    --color-accent: #FFC8C3;
    --color-on-accent: #03140A;
  }
}

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
Backgroundfrom palette · color 1adjusted for contrast · from #8DCBA9
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #8DCBA9from palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #8DCBA9from palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #8DCBA9from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.31:1AAA pass 4.5:1
Text on surface7.78:1AAA pass 4.5:1
Muted text on background4.53:1AA pass 4.5:1
Label on primary6.22:1AA pass 4.5:1
Label on accent6.06:1AA pass 4.5:1
Primary on background3.04:1AA Large pass 3:1
Accent on background3.12:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.03:1AAA pass 4.5:1
Text on surface15.60:1AAA pass 4.5:1
Muted text on background5.44:1AA pass 4.5:1
Label on primary10.15:1AAA pass 4.5:1
Label on accent12.90:1AAA pass 4.5:1
Primary on background10.15:1AAA pass 3:1
Accent on background12.90: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#E4F8E7 (Text 1)#B4EFBF (Text 2)#FFC8C3 (Text 3)#F3E5B0 (Text 4)#8DCBA9 (Text 5)
#E4F8E7Same color1.18—1.32—1.13—1.68—
#B4EFBF1.18—Same color1.12—1.04—1.43—
#FFC8C31.32—1.12—Same color1.16—1.27—
#F3E5B01.13—1.04—1.16—Same color1.48—
#8DCBA91.68—1.43—1.27—1.48—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#E4F8E7#B4EFBF#FFC8C3#F3E5B0#8DCBA9

Variations

About Melon Slice

Honeydew and cantaloupe side by side. Melon Slice brings together an off-white, a pale green, a pale pink, a pale yellow and a light green (#E4F8E7, #B4EFBF, #FFC8C3, #F3E5B0, #8DCBA9) in a balanced, multi-color-led scheme. Pale pink #FFC8C3 and light green #8DCBA9 are 135° apart, so the palette has clear hue contrast without clashing. From #8DCBA9 to #E4F8E7 the colors share a similar light value (lightness 79%–96%), which suits fills and illustration more than body text. Average chroma is 0.067, low for a palette, so the colors feel soft and muted; the most saturated color is #B4EFBF. In light mode #E4F8E7 becomes the background with #1C5A3E text at 7.3:1, and #5C9878 takes the primary role. Try it for brand systems with many sub-brands, marketing pages and documentation, letting light green #8DCBA9 carry the key actions.

Melon Slice color palette: #E4F8E7, #B4EFBF, #FFC8C3, #F3E5B0, #8DCBA9
Share image for Melon Slice

Gradients in similar colors