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": "yellow-vs-lemon",
"type": "nearest",
"name": "Yellow vs Lemon",
"verdict": "Yellow and Lemon are very close colors. Yellow is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.05:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Yellow and Lemon are different yellow colors with HEX values #FFFF00 and #FFF700. According to Colors Encyclopedia, their RGB distance is 8, their contrast ratio is 1.05:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 8,
"contrastRatio": 1.05,
"colors": [
{
"slug": "yellow",
"name": "Yellow",
"hex": "#FFFF00",
"rgb": [
255,
255,
0
],
"hsl": [
60,
100,
50
],
"cmyk": [
0,
0,
100,
0
],
"family": "yellow",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.9278,
"contrast": {
"black": 19.56,
"white": 1.07
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 19.56
},
"description": "Yellow is #FFFF00, a warm yellow color with vibrant character. Compared with Lemon, 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/yellow/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/yellow.json"
},
{
"slug": "lemon",
"name": "Lemon",
"hex": "#FFF700",
"rgb": [
255,
247,
0
],
"hsl": [
58,
100,
50
],
"cmyk": [
0,
3,
100,
0
],
"family": "yellow",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.8778,
"contrast": {
"black": 18.56,
"white": 1.13
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 18.56
},
"description": "Lemon is #FFF700, a warm yellow color with vibrant character. Compared with Yellow, it is darker and similar in saturation. Use it for highlight colors, editorial accents, and warm backgrounds, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/lemon/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/lemon.json"
}
],
"differences": {
"rgbDistance": 8,
"contrastRatio": 1.05,
"hslDelta": {
"hue": 2,
"saturation": 0,
"lightness": 0
},
"luminanceDelta": 0.05,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"vibrant"
],
"lighterColor": "Yellow",
"moreSaturatedColor": "Yellow"
},
"accessibility": {
"pairContrastRatio": 1.05,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Yellow",
"background": "#FFFF00",
"foreground": "#000000",
"label": "black text",
"ratio": 19.56
},
{
"color": "Lemon",
"background": "#FFF700",
"foreground": "#000000",
"label": "black text",
"ratio": 18.56
}
]
},
"useCases": {
"chooseFirstWhen": "Yellow is better when the design needs vibrant yellow character, warm temperature, and the specific HEX value #FFFF00.",
"chooseSecondWhen": "Lemon is better when the design needs vibrant yellow character, warm temperature, and the specific HEX value #FFF700.",
"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/yellow-vs-lemon.json",
"https://www.colorsencyclopedia.com/api/colors/yellow.json",
"https://www.colorsencyclopedia.com/api/colors/lemon.json"
],
"url": "https://www.colorsencyclopedia.com/compare/yellow-vs-lemon/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/yellow-vs-lemon.json"
}