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": "topaz-vs-flax",
"type": "nearest",
"name": "Topaz vs Flax",
"verdict": "Topaz and Flax are visually related colors. Flax is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.1:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Topaz and Flax are different orange and yellow colors with HEX values #FFC87C and #EEDC82. According to Colors Encyclopedia, their RGB distance is 26.9, their contrast ratio is 1.1:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 26.9,
"contrastRatio": 1.1,
"colors": [
{
"slug": "topaz",
"name": "Topaz",
"hex": "#FFC87C",
"rgb": [
255,
200,
124
],
"hsl": [
35,
100,
74
],
"cmyk": [
0,
22,
51,
0
],
"family": "orange",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.6402,
"contrast": {
"black": 13.8,
"white": 1.52
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 13.8
},
"description": "Topaz is #FFC87C, a warm orange color with vibrant character. Compared with Flax, it is darker and more saturated. Use it for jewel-tone palettes, luxury branding, and premium interface accents, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/topaz/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/topaz.json"
},
{
"slug": "flax",
"name": "Flax",
"hex": "#EEDC82",
"rgb": [
238,
220,
130
],
"hsl": [
50,
76,
72
],
"cmyk": [
0,
8,
45,
7
],
"family": "yellow",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.7098,
"contrast": {
"black": 15.2,
"white": 1.38
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 15.2
},
"description": "Flax is #EEDC82, a warm yellow color with vibrant character. Compared with Topaz, it is lighter 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/flax/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/flax.json"
}
],
"differences": {
"rgbDistance": 26.9,
"contrastRatio": 1.1,
"hslDelta": {
"hue": 15,
"saturation": 24,
"lightness": 2
},
"luminanceDelta": 0.0696,
"sameFamily": false,
"sameTemperature": true,
"sharedTones": [
"vibrant"
],
"lighterColor": "Flax",
"moreSaturatedColor": "Topaz"
},
"accessibility": {
"pairContrastRatio": 1.1,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Topaz",
"background": "#FFC87C",
"foreground": "#000000",
"label": "black text",
"ratio": 13.8
},
{
"color": "Flax",
"background": "#EEDC82",
"foreground": "#000000",
"label": "black text",
"ratio": 15.2
}
]
},
"useCases": {
"chooseFirstWhen": "Topaz is better when the design needs vibrant orange character, warm temperature, and the specific HEX value #FFC87C.",
"chooseSecondWhen": "Flax is better when the design needs vibrant yellow character, warm temperature, and the specific HEX value #EEDC82.",
"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/topaz-vs-flax.json",
"https://www.colorsencyclopedia.com/api/colors/topaz.json",
"https://www.colorsencyclopedia.com/api/colors/flax.json"
],
"url": "https://www.colorsencyclopedia.com/compare/topaz-vs-flax/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/topaz-vs-flax.json"
}