#8A6038
Closest named color: Cocoa (#875F42). oklch(52.5% 0.078 63.3), rgb(138, 96, 56).
Aa
White text reads best on this color (5.51:1).
About this color
#8A6038 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 52%, its chroma 0.078 and its hue 63°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.014 away. White text reads best on it, at 5.51:1.
| Hue family | Browns |
| Lightness | medium-dark (52%) |
| Chroma | moderately saturated (0.078) |
| Temperature | warm |
| Nearest name | Cocoa (#875F42) |
| Black text | 3.81:1 |
| White text | 5.51:1 |
Values
| HEX | #8A6038 |
| RGB | rgb(138, 96, 56) |
| HSL | hsl(29, 42%, 38%) |
| OKLCH | oklch(52.5% 0.078 63.3) |
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 #8A6038 | 5.51:1 | AA | Lc -82.7 | Fine for body text |
| Black text on #8A6038 | 3.81:1 | AA large text | Lc 26.7 | Dividers and decoration only |
| #8A6038 text on white | 5.51:1 | AA | Lc 77.4 | Fine for body text |
| #8A6038 text on black | 3.81:1 | AA large text | Lc -24.4 | 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
#F8F5F2
oklch(97.2% 0.005 67.8)
-
Step 100
100
#EFE9E3
oklch(93.7% 0.01 67.7)
-
Step 200
200
#E3D7CC
oklch(88.6% 0.02 65.1)
-
Step 300
300
#D1BCAA
oklch(80.8% 0.034 62.9)
-
Step 400
400
#BA9A7D
oklch(70.8% 0.056 63.9)
-
Step 500
500
#A9805B
oklch(63.1% 0.072 63)
-
Step 600
600 (this color)
#8A6038
oklch(52.5% 0.078 63.3)
-
Step 700
700
#7E5733
oklch(49.1% 0.073 62.5)
-
Step 800
800
#66482B
oklch(42.8% 0.059 64.1)
-
Step 900
900
#533C27
oklch(37.6% 0.046 63.1)
-
Step 950
950
#312317
oklch(26.9% 0.03 61.6)
#8A6038 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) | #6D6335 | 0.051 |
| Deuteranopia (no green cones) | #776D39 | 0.047 |
| Tritanopia (no blue cones) | #965756 | 0.059 |
| Achromatopsia (no color) | #696969 | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A6038
#8A6038
oklch(52.5% 0.078 63.3)
- #406F94
#406F94
oklch(52.4% 0.078 243.8)
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 #8A6038, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cocoa #875F42 ΔE 0.014
- Dirt Brown #836539 ΔE 0.017
- Sepia #985E2B ΔE 0.026
- Dark Taupe #7F684E ΔE 0.032
- Dirt #8A6E45 ΔE 0.037
- Dull Brown #876E4B ΔE 0.038
- Raw Sienna #9A6200 ΔE 0.046
- Grey Brown #7F7053 ΔE 0.047
Use #8A6038 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.