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": "moccasin-vs-navajo-white",
"type": "nearest",
"name": "Moccasin vs Navajo White",
"verdict": "Moccasin and Navajo White are very close colors. Moccasin is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.04:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Moccasin and Navajo White are different orange colors with HEX values #FFE4B5 and #FFDEAD. According to Colors Encyclopedia, their RGB distance is 10, their contrast ratio is 1.04:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 10,
"contrastRatio": 1.04,
"colors": [
{
"slug": "moccasin",
"name": "Moccasin",
"hex": "#FFE4B5",
"rgb": [
255,
228,
181
],
"hsl": [
38,
100,
85
],
"cmyk": [
0,
11,
29,
0
],
"family": "orange",
"temperature": "warm",
"tone": [
"pastel"
],
"luminance": 0.8008,
"contrast": {
"black": 17.02,
"white": 1.23
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 17.02
},
"description": "Moccasin is #FFE4B5, a warm orange color with pastel character. Compared with Navajo White, it is lighter and similar in saturation. Use it for web design, css color systems, and ui prototyping, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/moccasin/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/moccasin.json"
},
{
"slug": "navajo-white",
"name": "Navajo White",
"hex": "#FFDEAD",
"rgb": [
255,
222,
173
],
"hsl": [
36,
100,
84
],
"cmyk": [
0,
13,
32,
0
],
"family": "orange",
"temperature": "warm",
"tone": [
"pastel"
],
"luminance": 0.7652,
"contrast": {
"black": 16.3,
"white": 1.29
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 16.3
},
"description": "Navajo White is #FFDEAD, a warm orange color with pastel character. Compared with Moccasin, it is darker and similar in saturation. Use it for web design, css color systems, and ui prototyping, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/navajo-white/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/navajo-white.json"
}
],
"differences": {
"rgbDistance": 10,
"contrastRatio": 1.04,
"hslDelta": {
"hue": 2,
"saturation": 0,
"lightness": 1
},
"luminanceDelta": 0.0356,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"pastel"
],
"lighterColor": "Moccasin",
"moreSaturatedColor": "Moccasin"
},
"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": "Moccasin",
"background": "#FFE4B5",
"foreground": "#000000",
"label": "black text",
"ratio": 17.02
},
{
"color": "Navajo White",
"background": "#FFDEAD",
"foreground": "#000000",
"label": "black text",
"ratio": 16.3
}
]
},
"useCases": {
"chooseFirstWhen": "Moccasin is better when the design needs pastel orange character, warm temperature, and the specific HEX value #FFE4B5.",
"chooseSecondWhen": "Navajo White is better when the design needs pastel orange character, warm temperature, and the specific HEX value #FFDEAD.",
"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/moccasin-vs-navajo-white.json",
"https://www.colorsencyclopedia.com/api/colors/moccasin.json",
"https://www.colorsencyclopedia.com/api/colors/navajo-white.json"
],
"url": "https://www.colorsencyclopedia.com/compare/moccasin-vs-navajo-white/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/moccasin-vs-navajo-white.json"
}