{"datasetVersion":"1.0.0","slug":"flax-vs-khaki","type":"nearest","name":"Flax vs Khaki","verdict":"Flax and Khaki are very close colors. Khaki is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.08:1, so the pair is too low for text and better treated as a palette relationship.","summary":"Flax and Khaki are different yellow colors with HEX values #EEDC82 and #F0E68C. According to Colors Encyclopedia, their RGB distance is 14.3, their contrast ratio is 1.08:1, and the comparison helps choose between tone, temperature, and accessibility behavior.","rgbDistance":14.3,"contrastRatio":1.08,"colors":[{"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 Khaki, 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/flax/","apiUrl":"https://www.colorsencyclopedia.com/api/colors/flax.json"},{"slug":"khaki","name":"Khaki","hex":"#F0E68C","rgb":[240,230,140],"hsl":[54,77,75],"cmyk":[0,4,42,6],"family":"yellow","temperature":"warm","tone":["pastel"],"luminance":0.7701,"contrast":{"black":16.4,"white":1.28},"wcag":{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A","#36454F"]},"bestText":{"text":"#000000","label":"black text","ratio":16.4},"description":"Khaki is #F0E68C, a warm yellow color with pastel character. Compared with Flax, it is lighter and more saturated. 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/khaki/","apiUrl":"https://www.colorsencyclopedia.com/api/colors/khaki.json"}],"differences":{"rgbDistance":14.3,"contrastRatio":1.08,"hslDelta":{"hue":4,"saturation":1,"lightness":3},"luminanceDelta":0.0603,"sameFamily":true,"sameTemperature":true,"sharedTones":[],"lighterColor":"Khaki","moreSaturatedColor":"Khaki"},"accessibility":{"pairContrastRatio":1.08,"textRecommendation":"Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.","safeText":[{"color":"Flax","background":"#EEDC82","foreground":"#000000","label":"black text","ratio":15.2},{"color":"Khaki","background":"#F0E68C","foreground":"#000000","label":"black text","ratio":16.4}]},"useCases":{"chooseFirstWhen":"Flax is better when the design needs vibrant yellow character, warm temperature, and the specific HEX value #EEDC82.","chooseSecondWhen":"Khaki is better when the design needs pastel yellow character, warm temperature, and the specific HEX value #F0E68C.","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/flax-vs-khaki.json","https://www.colorsencyclopedia.com/api/colors/flax.json","https://www.colorsencyclopedia.com/api/colors/khaki.json"],"url":"https://www.colorsencyclopedia.com/compare/flax-vs-khaki/","apiUrl":"https://www.colorsencyclopedia.com/api/compare/flax-vs-khaki.json"}
