{"datasetVersion":"1.0.0","slug":"olive-vs-avocado","type":"nearest","name":"Olive vs Avocado","verdict":"Olive and Avocado are visually related colors. Olive is the lighter option. Olive reads warmer. Their mutual contrast is 1.09:1, so the pair is too low for text and better treated as a palette relationship.","summary":"Olive and Avocado are different yellow and green colors with HEX values #808000 and #568203. According to Colors Encyclopedia, their RGB distance is 42.2, their contrast ratio is 1.09:1, and the comparison helps choose between tone, temperature, and accessibility behavior.","rgbDistance":42.2,"contrastRatio":1.09,"colors":[{"slug":"olive","name":"Olive","hex":"#808000","rgb":[128,128,0],"hsl":[60,100,25],"cmyk":[0,0,100,50],"family":"yellow","temperature":"warm","tone":["balanced"],"luminance":0.2003,"contrast":{"black":5.01,"white":4.19},"wcag":{"AA":["#000000"],"AAA":[]},"bestText":{"text":"#000000","label":"black text","ratio":5.01},"description":"Olive is #808000, a warm yellow color with balanced character. Compared with Avocado, 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/olive/","apiUrl":"https://www.colorsencyclopedia.com/api/colors/olive.json"},{"slug":"avocado","name":"Avocado","hex":"#568203","rgb":[86,130,3],"hsl":[81,95,26],"cmyk":[34,0,98,49],"family":"green","temperature":"cool","tone":["jewel-tone"],"luminance":0.1795,"contrast":{"black":4.59,"white":4.58},"wcag":{"AA":["#000000","#FFFFFF"],"AAA":[]},"bestText":{"text":"#000000","label":"black text","ratio":4.59},"description":"Avocado is #568203, a cool green color with jewel tone character. Compared with Olive, it is darker and less saturated. Use it for natural palettes, wellness branding, and sustainability design, with black text as the safer foreground option.","url":"https://www.colorsencyclopedia.com/colors/avocado/","apiUrl":"https://www.colorsencyclopedia.com/api/colors/avocado.json"}],"differences":{"rgbDistance":42.2,"contrastRatio":1.09,"hslDelta":{"hue":21,"saturation":5,"lightness":1},"luminanceDelta":0.0208,"sameFamily":false,"sameTemperature":false,"sharedTones":[],"lighterColor":"Olive","moreSaturatedColor":"Olive"},"accessibility":{"pairContrastRatio":1.09,"textRecommendation":"Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.","safeText":[{"color":"Olive","background":"#808000","foreground":"#000000","label":"black text","ratio":5.01},{"color":"Avocado","background":"#568203","foreground":"#000000","label":"black text","ratio":4.59}]},"useCases":{"chooseFirstWhen":"Olive is better when the design needs balanced yellow character, warm temperature, and the specific HEX value #808000.","chooseSecondWhen":"Avocado is better when the design needs jewel tone green character, cool temperature, and the specific HEX value #568203.","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/olive-vs-avocado.json","https://www.colorsencyclopedia.com/api/colors/olive.json","https://www.colorsencyclopedia.com/api/colors/avocado.json"],"url":"https://www.colorsencyclopedia.com/compare/olive-vs-avocado/","apiUrl":"https://www.colorsencyclopedia.com/api/compare/olive-vs-avocado.json"}
