colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and links
differencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributes
accessibilityPair contrast and safer text choices for each color
useCasesWhen to choose each color and when to use them together
relatedApiMachine-readable comparison and color endpoints
Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "mercury-vs-marble-white",
"type": "nearest",
"name": "Mercury vs Marble White",
"verdict": "Mercury and Marble White are very close colors. Marble White is the lighter option. Marble White reads warmer. Their mutual contrast is 1.04:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Mercury and Marble White are different gray and yellow colors with HEX values #EBEBEB and #F2F0E6. According to Colors Encyclopedia, their RGB distance is 9.9, their contrast ratio is 1.04:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 9.9,
"contrastRatio": 1.04,
"colors": [
{
"slug": "mercury",
"name": "Mercury",
"hex": "#EBEBEB",
"rgb": [
235,
235,
235
],
"hsl": [
0,
0,
92
],
"cmyk": [
0,
0,
0,
8
],
"family": "gray",
"temperature": "neutral",
"tone": [
"light"
],
"luminance": 0.8308,
"contrast": {
"black": 17.62,
"white": 1.19
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 17.62
},
"description": "Mercury is #EBEBEB, a neutral gray color with light character. Compared with Marble White, it is darker and less saturated. Use it for metallic palettes, product finishes, and premium packaging, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/mercury/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/mercury.json"
},
{
"slug": "marble-white",
"name": "Marble White",
"hex": "#F2F0E6",
"rgb": [
242,
240,
230
],
"hsl": [
50,
32,
93
],
"cmyk": [
0,
1,
5,
5
],
"family": "yellow",
"temperature": "warm",
"tone": [
"light"
],
"luminance": 0.8691,
"contrast": {
"black": 18.38,
"white": 1.14
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 18.38
},
"description": "Marble White is #F2F0E6, a warm yellow color with light character. Compared with Mercury, it is lighter and more saturated. Use it for earth-tone palettes, interior design, and material-inspired branding, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/marble-white/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/marble-white.json"
}
],
"differences": {
"rgbDistance": 9.9,
"contrastRatio": 1.04,
"hslDelta": {
"hue": 50,
"saturation": 32,
"lightness": 1
},
"luminanceDelta": 0.0383,
"sameFamily": false,
"sameTemperature": false,
"sharedTones": [
"light"
],
"lighterColor": "Marble White",
"moreSaturatedColor": "Marble White"
},
"accessibility": {
"pairContrastRatio": 1.04,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Mercury",
"background": "#EBEBEB",
"foreground": "#000000",
"label": "black text",
"ratio": 17.62
},
{
"color": "Marble White",
"background": "#F2F0E6",
"foreground": "#000000",
"label": "black text",
"ratio": 18.38
}
]
},
"useCases": {
"chooseFirstWhen": "Mercury is better when the design needs light gray character, neutral temperature, and the specific HEX value #EBEBEB.",
"chooseSecondWhen": "Marble White is better when the design needs light yellow character, warm temperature, and the specific HEX value #F2F0E6.",
"useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
},
"relatedApi": [
"https://www.colorsencyclopedia.com/api/compare/mercury-vs-marble-white.json",
"https://www.colorsencyclopedia.com/api/colors/mercury.json",
"https://www.colorsencyclopedia.com/api/colors/marble-white.json"
],
"url": "https://www.colorsencyclopedia.com/compare/mercury-vs-marble-white/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/mercury-vs-marble-white.json"
}