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": "ecru-vs-sand",
"type": "nearest",
"name": "Ecru vs Sand",
"verdict": "Ecru and Sand are very close colors. They have nearly identical luminance. They share similar temperature behavior. Their mutual contrast is 1:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Ecru and Sand are different yellow colors with HEX values #C2B280 and #C2B280. According to Colors Encyclopedia, their RGB distance is 0, their contrast ratio is 1:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 0,
"contrastRatio": 1,
"colors": [
{
"slug": "ecru",
"name": "Ecru",
"hex": "#C2B280",
"rgb": [
194,
178,
128
],
"hsl": [
45,
35,
63
],
"cmyk": [
0,
8,
34,
24
],
"family": "yellow",
"temperature": "warm",
"tone": [
"earth-tone"
],
"luminance": 0.4487,
"contrast": {
"black": 9.97,
"white": 2.11
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 9.97
},
"description": "Ecru is #C2B280, a warm yellow color with earth tone character. Compared with Sand, it is similar in luminance and similar in saturation. Use it for backgrounds, typography, and product surfaces, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/ecru/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/ecru.json"
},
{
"slug": "sand",
"name": "Sand",
"hex": "#C2B280",
"rgb": [
194,
178,
128
],
"hsl": [
45,
35,
63
],
"cmyk": [
0,
8,
34,
24
],
"family": "yellow",
"temperature": "warm",
"tone": [
"earth-tone"
],
"luminance": 0.4487,
"contrast": {
"black": 9.97,
"white": 2.11
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 9.97
},
"description": "Sand is #C2B280, a warm yellow color with earth tone character. Compared with Ecru, it is similar in luminance and similar in saturation. Use it for warm accents, food branding, and interior palettes, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/sand/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/sand.json"
}
],
"differences": {
"rgbDistance": 0,
"contrastRatio": 1,
"hslDelta": {
"hue": 0,
"saturation": 0,
"lightness": 0
},
"luminanceDelta": 0,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"earth-tone"
],
"lighterColor": "Ecru",
"moreSaturatedColor": "Ecru"
},
"accessibility": {
"pairContrastRatio": 1,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Ecru",
"background": "#C2B280",
"foreground": "#000000",
"label": "black text",
"ratio": 9.97
},
{
"color": "Sand",
"background": "#C2B280",
"foreground": "#000000",
"label": "black text",
"ratio": 9.97
}
]
},
"useCases": {
"chooseFirstWhen": "Ecru is better when the design needs earth tone yellow character, warm temperature, and the specific HEX value #C2B280.",
"chooseSecondWhen": "Sand is better when the design needs earth tone yellow character, warm temperature, and the specific HEX value #C2B280.",
"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/ecru-vs-sand.json",
"https://www.colorsencyclopedia.com/api/colors/ecru.json",
"https://www.colorsencyclopedia.com/api/colors/sand.json"
],
"url": "https://www.colorsencyclopedia.com/compare/ecru-vs-sand/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/ecru-vs-sand.json"
}