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": "butter-vs-vanilla",
"type": "nearest",
"name": "Butter vs Vanilla",
"verdict": "Butter and Vanilla are very close colors. Butter is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.11:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Butter and Vanilla are different yellow colors with HEX values #FFF1A8 and #F3E5AB. According to Colors Encyclopedia, their RGB distance is 17.2, their contrast ratio is 1.11:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 17.2,
"contrastRatio": 1.11,
"colors": [
{
"slug": "butter",
"name": "Butter",
"hex": "#FFF1A8",
"rgb": [
255,
241,
168
],
"hsl": [
50,
100,
83
],
"cmyk": [
0,
5,
34,
0
],
"family": "yellow",
"temperature": "warm",
"tone": [
"pastel"
],
"luminance": 0.87,
"contrast": {
"black": 18.4,
"white": 1.14
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 18.4
},
"description": "Butter is #FFF1A8, a warm yellow color with pastel character. Compared with Vanilla, it is lighter and more saturated. Use it for highlight colors, editorial accents, and warm backgrounds, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/butter/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/butter.json"
},
{
"slug": "vanilla",
"name": "Vanilla",
"hex": "#F3E5AB",
"rgb": [
243,
229,
171
],
"hsl": [
48,
75,
81
],
"cmyk": [
0,
6,
30,
5
],
"family": "yellow",
"temperature": "warm",
"tone": [
"pastel"
],
"luminance": 0.7803,
"contrast": {
"black": 16.61,
"white": 1.26
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 16.61
},
"description": "Vanilla is #F3E5AB, a warm yellow color with pastel character. Compared with Butter, it is darker and less saturated. Use it for highlight colors, editorial accents, and warm backgrounds, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/vanilla/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/vanilla.json"
}
],
"differences": {
"rgbDistance": 17.2,
"contrastRatio": 1.11,
"hslDelta": {
"hue": 2,
"saturation": 25,
"lightness": 2
},
"luminanceDelta": 0.0897,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"pastel"
],
"lighterColor": "Butter",
"moreSaturatedColor": "Butter"
},
"accessibility": {
"pairContrastRatio": 1.11,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Butter",
"background": "#FFF1A8",
"foreground": "#000000",
"label": "black text",
"ratio": 18.4
},
{
"color": "Vanilla",
"background": "#F3E5AB",
"foreground": "#000000",
"label": "black text",
"ratio": 16.61
}
]
},
"useCases": {
"chooseFirstWhen": "Butter is better when the design needs pastel yellow character, warm temperature, and the specific HEX value #FFF1A8.",
"chooseSecondWhen": "Vanilla is better when the design needs pastel yellow character, warm temperature, and the specific HEX value #F3E5AB.",
"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/butter-vs-vanilla.json",
"https://www.colorsencyclopedia.com/api/colors/butter.json",
"https://www.colorsencyclopedia.com/api/colors/vanilla.json"
],
"url": "https://www.colorsencyclopedia.com/compare/butter-vs-vanilla/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/butter-vs-vanilla.json"
}