#8A6040
Closest named color: Cocoa (#875F42). oklch(52.6% 0.072 57.7), rgb(138, 96, 64).
Aa
White text reads best on this color (5.48:1).
About this color
#8A6040 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 53%, its chroma 0.072 and its hue 58°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.007 away. White text reads best on it, at 5.48:1.
| Hue family | Browns |
| Lightness | medium-dark (53%) |
| Chroma | moderately saturated (0.072) |
| Temperature | warm |
| Nearest name | Cocoa (#875F42) |
| Black text | 3.82:1 |
| White text | 5.48:1 |
Values
| HEX | #8A6040 |
| RGB | rgb(138, 96, 64) |
| HSL | hsl(26, 37%, 40%) |
| OKLCH | oklch(52.6% 0.072 57.7) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #8A6040 | 5.48:1 | AA | Lc -82.6 | Fine for body text |
| Black text on #8A6040 | 3.82:1 | AA large text | Lc 26.8 | Dividers and decoration only |
| #8A6040 text on white | 5.48:1 | AA | Lc 77.3 | Fine for body text |
| #8A6040 text on black | 3.82:1 | AA large text | Lc -24.5 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F8F5F3
oklch(97.2% 0.004 56.4)
-
Step 100
100
#EFE8E4
oklch(93.5% 0.009 52.1)
-
Step 200
200
#E3D6CE
oklch(88.4% 0.018 54)
-
Step 300
300
#D1BCAD
oklch(80.9% 0.032 57.8)
-
Step 400
400
#BA9981
oklch(70.7% 0.052 57.8)
-
Step 500
500
#A88062
oklch(63.1% 0.065 58.1)
-
Step 600
600 (this color)
#8A6040
oklch(52.6% 0.072 57.7)
-
Step 700
700
#7D573A
oklch(49.1% 0.066 57.8)
-
Step 800
800
#664730
oklch(42.6% 0.055 57.2)
-
Step 900
900
#533C2B
oklch(37.7% 0.042 57.5)
-
Step 950
950
#312319
oklch(27% 0.028 56.8)
#8A6040 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #6C643D | 0.053 |
| Deuteranopia (no green cones) | #766D40 | 0.048 |
| Tritanopia (no blue cones) | #955858 | 0.050 |
| Achromatopsia (no color) | #696969 | 0.072 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A6040
#8A6040
oklch(52.6% 0.072 57.7)
- #40718F
#40718F
oklch(52.7% 0.071 237.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #8A6040, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cocoa #875F42 ΔE 0.007
- Dirt Brown #836539 ΔE 0.022
- Dark Taupe #7F684E ΔE 0.027
- Sepia #985E2B ΔE 0.031
- Dull Brown #876E4B ΔE 0.037
- Dirt #8A6E45 ΔE 0.038
- Grey Brown #7F7053 ΔE 0.044
- Earth #A2653E ΔE 0.047
Use #8A6040 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.