{"id":676,"date":"2018-07-23T22:28:31","date_gmt":"2018-07-23T22:28:31","guid":{"rendered":"http:\/\/www.aeoneal.com\/blog\/?p=676"},"modified":"2020-09-07T15:55:15","modified_gmt":"2020-09-07T15:55:15","slug":"beautiful-accessible-traffic-light-colors","status":"publish","type":"post","link":"https:\/\/www.aeoneal.com\/blog\/beautiful-accessible-traffic-light-colors\/","title":{"rendered":"Beautiful, accessible traffic light colors"},"content":{"rendered":"<p><em>Cross-posted from my <a title=\"\" href=\"https:\/\/medium.com\/@aeoneal.com\">Medium blog<\/a>.<\/em><\/p>\n<p class=\"caption\"><img decoding=\"async\" src=\"..\/..\/..\/imagery\/blog\/traffic-light-leaves.jpg\" alt=\"Gorgeous red, yellow, and green autumn leaves from enneafive of Flickr\" \/><br \/>\nAutumn leaves showing off a glorious red\/yellow\/green palette. Photo by enneafive of Flickr, under Creative Commons by 4.0 license. Links below.<\/p>\n<p>Everyone uses them: Green, yellow (or orange), and red. We use them in data visualization, we use them in buttons, we color text and icons with them and put them into alerts. They are often used in crucial moments, when we are announcing success, or breaking bad news. We abuse them, too, using them to draw attention where they aren\u2019t relevant. What we don\u2019t do, far too often, is make them accessible.<\/p>\n<p>A significant minority of people are color blind, and most of those have red-green color blindness. Since 2011 I\u2019ve had to solve for color accessibility in important interactions, such as alerts for patient vitals, quality of patient care, cloud server status, or executive sales analytics. Here are some accessibility tips I\u2019ve picked up along the way, as well as my personal template for a usable, accessible traffic color palette.<!--more--><\/p>\n<h2>Use icons as well as color<\/h2>\n<p>You may design a beautiful, color blind-friendly palette, but it never hurts to reinforce the message. Instead of changing text to red or green, put a differently shaped red or green icon next to the text. That way, even if you have no control over your color palette, or the chart has been printed in black and white, or your user sees only in grays, you\u2019ve made your point.<\/p>\n<p>Case in point: Excel. Excel offers icons in traffic light colors to help tell your data story. Make sure you use differently shaped icons as well as different colors! Here\u2019s why:<\/p>\n<p class=\"caption\"><img decoding=\"async\" src=\"..\/..\/..\/imagery\/blog\/traffic-light-excel-icons.png\" alt=\"Normal and colorblind comparison of cons from Excel, Office 2013\" \/><br \/>\nDesktop Excel, Office 2013. Pay attention to the red and green circles\u200a\u2014\u200acould you tell them apart easily? Microsoft resolved this issue in later versions.<\/p>\n<p>Deuteranopia and protanopia are two common types of red-green color blindness. Testing your colors against them will optimize for most of your users, but icons help seal the deal.<\/p>\n<h2>Don\u2019t trust preset color palettes<\/h2>\n<p>There are many extremely useful frameworks and boilerplates online. Each meets many needs, but not all have had the time to optimize their colors for color blindness.<\/p>\n<p class=\"caption\"><img decoding=\"async\" src=\"..\/..\/..\/imagery\/blog\/traffic-light-frameworks-colorblindness.png\" alt=\"Popular present color themes that fail colorblindness accessibility\" \/><br \/>\nExamples of popular preset color themes that didn\u2019t check for accessibility in color usage. (Or, \u201cWhy not to use orange.\u201d)<\/p>\n<p>The most important question when looking at your reds, greens, oranges, and yellows is, \u201c<strong>Will my users recognize this color when they see it by itself?<\/strong>\u201d Don\u2019t trust the people who created your framework to have thought of this. Check it out for yourself.<\/p>\n<h3>Common colorblindness checking with Adobe<\/h3>\n<p>How do you do that, you ask? For many years the only solution I found for testing was Adobe\u2019s PhotoShop, which offered protanopia and deuteranopia views of whatever I was creating. The options are under View \u2192 Proof Setup (see image below).<\/p>\n<p class=\"caption\"><img decoding=\"async\" src=\"..\/..\/..\/imagery\/blog\/traffic-light-adobe-colorblindness-check.png\" alt=\"Path to colorblindness previews in Adobe Photoshop\" \/><br \/>\nScreenshot: finding the colorblindness previews in Adobe Photoshop.<\/p>\n<h3>Recommended online colorblindness checker<\/h3>\n<p>The <a title=\"Corblindor Color Blindness Simulator\" href=\"http:\/\/www.color-blindness.com\/coblis-color-blindness-simulator\/\" target=\"_blank\" rel=\"noopener noreferrer\">Corblindor Coblis (<strong class=\"markup--strong markup--p-strong\">Co<\/strong>lor <strong class=\"markup--strong markup--p-strong\">Bli<\/strong>nd <strong class=\"markup--strong markup--p-strong\">S<\/strong>imulator)<\/a> is now my go-to tool. Just do a quick screen shot of your work, and see how it looks for many different types of colorblindness.<\/p>\n<h2>Plan ahead with a color template<\/h2>\n<p>I\u2019ve done a lot of data visualization color work over the years, and a pattern has emerged that I find helpful. I\u2019m offering it here, in the interests of making data more usable. I strongly recommend considering this approach when you\u2019re developing a brand color palette.<\/p>\n<p class=\"caption\"><img decoding=\"async\" src=\"..\/..\/..\/imagery\/blog\/traffic-light-accessible-colors.png\" alt=\"Example of an optimized set of traffic colors, with colorblind views.\" \/><br \/>\nNotice how light vs. dark and warm vs. cool differentiate the red and green. Your yellow should be significantly lighter than either your red or green!<\/p>\n<p>Here are the key guidelines:<\/p>\n<ul>\n<li><strong>Use a light, medium, and dark shade<\/strong>. Your yellow should be your light shade.<\/li>\n<li>Use a warm green and a cool red, or a cool green and a warm red. Just <strong>don\u2019t have both cool or both warm<\/strong>.<\/li>\n<li><strong>No orange<\/strong>. Because it\u2019s so much lighter, using yellow instead of orange makes it much less likely your \u201cwarning\u201d color will conflict with your \u201csuccess\u201d green to color blind users, or look too much like your \u201cserious problem\u201d (errors, e.g.) red.<\/li>\n<\/ul>\n<p>That\u2019s it! Thanks for reading. Go forth and have fun telling good stories with your data.<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-676\" class=\"share-facebook sd-button share-icon no-text\" href=\"https:\/\/www.aeoneal.com\/blog\/beautiful-accessible-traffic-light-colors\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Facebook (Opens in new window)<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-676\" class=\"share-linkedin sd-button share-icon no-text\" href=\"https:\/\/www.aeoneal.com\/blog\/beautiful-accessible-traffic-light-colors\/?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on LinkedIn (Opens in new window)<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-676\" class=\"share-twitter sd-button share-icon no-text\" href=\"https:\/\/www.aeoneal.com\/blog\/beautiful-accessible-traffic-light-colors\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Twitter (Opens in new window)<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Cross-posted from my Medium blog. Autumn leaves showing off a glorious red\/yellow\/green palette. Photo by enneafive of Flickr, under Creative Commons by 4.0 license. Links below. Everyone uses them: Green, yellow (or orange), and red. We use them in data visualization, we use them in buttons, we color text and icons with them and put&hellip;<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-676\" class=\"share-facebook sd-button share-icon no-text\" href=\"https:\/\/www.aeoneal.com\/blog\/beautiful-accessible-traffic-light-colors\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Facebook (Opens in new window)<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-676\" class=\"share-linkedin sd-button share-icon no-text\" href=\"https:\/\/www.aeoneal.com\/blog\/beautiful-accessible-traffic-light-colors\/?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on LinkedIn (Opens in new window)<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-676\" class=\"share-twitter sd-button share-icon no-text\" href=\"https:\/\/www.aeoneal.com\/blog\/beautiful-accessible-traffic-light-colors\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Twitter (Opens in new window)<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[12],"tags":[102,67,101,28,3],"class_list":["post-676","post","type-post","status-publish","format-standard","hentry","category-design","tag-accessibility","tag-color","tag-colorblind","tag-data-visualization","tag-perception"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9aciW-aU","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":733,"url":"https:\/\/www.aeoneal.com\/blog\/ux-collective-published-my-article\/","url_meta":{"origin":676,"position":0},"title":"UX Collective published my article!","date":"September 26, 2018","format":false,"excerpt":"Even better, they tweeted it! Screen capture, UX Collective's tweet. See the article on UX Collective (or here).","rel":"","context":"In &quot;design&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":590,"url":"https:\/\/www.aeoneal.com\/blog\/nightingale-on-perception\/","url_meta":{"origin":676,"position":1},"title":"Nightingale on perception","date":"August 11, 2018","format":false,"excerpt":"...The diagram which is to affect thro\u2019 the Eyes what we fail to convey to the public through their word-proof ears. \u2014 Florence Nightingale","rel":"","context":"In &quot;inspiration&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":661,"url":"https:\/\/www.aeoneal.com\/blog\/context-the-writers-con\/","url_meta":{"origin":676,"position":2},"title":"Context, the writer&#8217;s con","date":"July 15, 2006","format":false,"excerpt":"Program cover for a writer's conference: a dragon, captivated by a book to the exclusion of the alien invasion and vampire drama raging around her.","rel":"","context":"In &quot;design&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.aeoneal.com\/blog\/wp-content\/uploads\/2018\/08\/context-xix.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":327,"url":"https:\/\/www.aeoneal.com\/blog\/venn-pieagram\/","url_meta":{"origin":676,"position":3},"title":"Venn pie-agram","date":"November 29, 2013","format":false,"excerpt":"Love data visualization? Love pies? So do I. Pumpkin + pecan + apple pie crumble = Venn pie-agram Last Tuesday we had a Thanksgiving potluck at work, and at the instigation of a coworker I made a Venn diagram pie. Here's how I did it, if you want to try\u2026","rel":"","context":"In &quot;fun&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":806,"url":"https:\/\/www.aeoneal.com\/blog\/smart-because-im-stupid-stupid-because-im-smart\/","url_meta":{"origin":676,"position":4},"title":"Smart because I&#8217;m stupid, stupid because I&#8217;m smart","date":"August 2, 2007","format":false,"excerpt":"Smart because I'm stupid Some people are smart because understanding comes easily to them. I, on the other hand, might argue that what smarts I have come from what I don't understand. Take, for example, mirrors. There is a basic rule about mirrors that many take for granted, and that\u2026","rel":"","context":"In &quot;psychology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":944,"url":"https:\/\/www.aeoneal.com\/blog\/anti-fragile-ux\/","url_meta":{"origin":676,"position":5},"title":"Anti-fragile UX","date":"June 22, 2020","format":false,"excerpt":"This is a repost of an idea I've dreamt of for nearly a decade (and leveraged to help improve design thinking and approaches, though not to the extent described below). Now, in this time of AI, global audiences, and awareness of accessibility, it seems this could be possible. (Please note:\u2026","rel":"","context":"In &quot;cognitions&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.aeoneal.com\/blog\/wp-json\/wp\/v2\/posts\/676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aeoneal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aeoneal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aeoneal.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aeoneal.com\/blog\/wp-json\/wp\/v2\/comments?post=676"}],"version-history":[{"count":10,"href":"https:\/\/www.aeoneal.com\/blog\/wp-json\/wp\/v2\/posts\/676\/revisions"}],"predecessor-version":[{"id":921,"href":"https:\/\/www.aeoneal.com\/blog\/wp-json\/wp\/v2\/posts\/676\/revisions\/921"}],"wp:attachment":[{"href":"https:\/\/www.aeoneal.com\/blog\/wp-json\/wp\/v2\/media?parent=676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aeoneal.com\/blog\/wp-json\/wp\/v2\/categories?post=676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aeoneal.com\/blog\/wp-json\/wp\/v2\/tags?post=676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}