{"datasetVersion":"1.0.0","slug":"mocha","name":"Mocha","hex":"#967969","rgb":[150,121,105],"hsl":[21,18,50],"luminance":0.2118,"contrast":{"black":5.24,"white":4.01},"ratings":{"blackText":"AA","whiteText":"large-text-only"},"wcag":{"AA":["#000000"],"AAA":[]},"narrative":"Mocha is AA-safe but not AAA-safe for normal text. Its black contrast is 5.24:1 and its white contrast is 4.01:1, so black text is the stronger option. Use it for readable UI only with checked foreground colors, and avoid tiny text or thin font weights.","warnings":["Does not reach AAA contrast against the standard black or white text options in this dataset.","Avoid placing text over photos, gradients, or translucent overlays without retesting the final composite color."],"safePairings":{"text":[{"label":"Black text","hex":"#000000","ratio":5.24,"rating":"AA"}],"backgrounds":[{"label":"Black","hex":"#000000","ratio":5.24,"rating":"AA"}],"borders":[]},"accessibilityAlternatives":[{"slug":"titanium","name":"Titanium","hex":"#878681","family":"gray","temperature":"neutral","tone":["muted"],"blackContrast":5.76,"whiteContrast":3.65,"maxContrast":5.76,"aaaTextOptions":[],"url":"https://www.colorsencyclopedia.com/wcag/titanium/"},{"slug":"warm-gray","name":"Warm Gray","hex":"#8A8378","family":"gray","temperature":"neutral","tone":["muted"],"blackContrast":5.6,"whiteContrast":3.75,"maxContrast":5.6,"aaaTextOptions":[],"url":"https://www.colorsencyclopedia.com/wcag/warm-gray/"},{"slug":"stone","name":"Stone","hex":"#8A817C","family":"gray","temperature":"neutral","tone":["muted"],"blackContrast":5.51,"whiteContrast":3.81,"maxContrast":5.51,"aaaTextOptions":[],"url":"https://www.colorsencyclopedia.com/wcag/stone/"},{"slug":"oak","name":"Oak","hex":"#A8754F","family":"orange","temperature":"warm","tone":["earth-tone"],"blackContrast":5.32,"whiteContrast":3.95,"maxContrast":5.32,"aaaTextOptions":[],"url":"https://www.colorsencyclopedia.com/wcag/oak/"}],"componentGuidance":[{"component":"Buttons","guidance":"Use only with AA-passing foreground text and visible focus states."},{"component":"Badges","guidance":"Works best with bold labels and enough padding around text."},{"component":"Cards","guidance":"Use as a surface when paired with a tested text color and clear border."},{"component":"Alerts","guidance":"Pair with icons or labels; do not rely on color alone."},{"component":"Form fields","guidance":"Use for borders or focus rings only when contrast remains visible."}],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/wcag/mocha.json","https://www.colorsencyclopedia.com/api/colors/mocha.json"],"url":"https://www.colorsencyclopedia.com/wcag/mocha/","colorUrl":"https://www.colorsencyclopedia.com/colors/mocha/","apiUrl":"https://www.colorsencyclopedia.com/api/wcag/mocha.json","generatedAt":"2026-07-23T19:04:03.410Z"}
