colors
Back to gallery

Sure Mocha

#af7b26
Notes

Sure Mocha (#AF7B26) is a true amber with a warm character. It leans warm, pulling light toward red, orange, and yellow. Naturally inviting, it suits editorial and hospitality contexts. Its HSL profile (37°, 64%, 42%) places it in the balanced band at a mid lightness. It works across type, buttons, and borders, saturated enough to feel deliberate but balanced enough to not fight the rest of the palette. For a confident two-color system, pair it with its complementary azure. For something softer, pull in its analogous neighbors on either side of the wheel.

HEX
#af7b26
RGB
rgb(175, 123, 38)
HSL
hsl(37, 64%, 42%)
HWB
hwb(37 15% 31%)
OKLCH
oklch(62.1% 0.116 75.0)
P3
color(display-p3 0.6559 0.4909 0.2189)
HSV
hsv(37, 78%, 69%)
LAB
lab(55.50% 12.64 51.51)
LCH
lch(55.50% 53.04 76.22)
CMYK
cmyk(0%, 30%, 78%, 31%)

Etymology

Sure
adjective

Old French seur, certain — used as a color modifier since the medieval period for hues that read as confident and stable. Sure red, sure blue: moderate saturation combined with optical commitment. Sits at the crisp-bucket center alongside steady and true.

Mocha
noun

A variety of agate from the Yemeni port of al-Mukhā — characterized by tree-like dendritic inclusions in a yellow-tan ground. Also the Yemeni coffee that gave its name to the chocolate-coffee drink. The color refers to a polished mocha-agate cabochon: a soft, slightly muted warm tan with the matte finish of cryptocrystalline silica.

Closest matches

The nearest named color in three reference sources, ranked by perceptual distance (ΔE76 in CIELAB). ΔE < 1 is imperceptible to most viewers; ΔE > 10 is clearly different. When two sources point to the same hex they’re merged into one tile; click any to open that color’s page.

Variations

Click any swatch to explore

Harmonies

Accessibility

Color-vision simulation

How this color appears to viewers with the four major color-vision-deficiency types. Computed via the Machado (2009) physiologically-based model. If a tile matches the original, the color reads the same to that viewer.

#af7b26
Original
#8e7d18
Protanopia
#9a8a29
Deuteranopia
#bf6d6a
Tritanopia
#808080
Achromatopsia
WCAG contrast

The color used as foreground text against pure white and pure black, with the contrast ratio and WCAG 2.1 grade. Aim for AA (4.5:1) for body text and AA Large (3:1) for 18 pt+ headlines; AAA (7:1) is the gold standard for long-form reading surfaces.

The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
AA Largeon White
3.69:1
The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
AAon Black
5.68:1

Wide gamut

Display P3 representation

The CSS Color 4 wide-gamut form of this color. Both swatches render the same color on every display — the P3 form only diverges from sRGB when a designer pushes channels outside sRGB's reach.

sRGB hex
sRGB hex
##AF7B26
Display P3
Display P3
color(display-p3 0.6559 0.4909 0.2189)
P3 has subtle headroomOKLCH chroma 0.116

Moderately saturated colors gain a small bump in P3 — the difference is usually visible side-by-side on wide-gamut hardware but won't change the character of the color.

Related Colors

Canvas