#8A5D38
Closest named color: Cocoa (#875F42). oklch(51.9% 0.079 59.2), rgb(138, 93, 56).
Aa
White text reads best on this color (5.67:1).
About this color
#8A5D38 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 52%, its chroma 0.079 and its hue 59°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.012 away. White text reads best on it, at 5.67:1.
| Hue family | Browns |
| Lightness | medium-dark (52%) |
| Chroma | moderately saturated (0.079) |
| Temperature | warm |
| Nearest name | Cocoa (#875F42) |
| Black text | 3.70:1 |
| White text | 5.67:1 |
Values
| HEX | #8A5D38 |
| RGB | rgb(138, 93, 56) |
| HSL | hsl(27, 42%, 38%) |
| OKLCH | oklch(51.9% 0.079 59.2) |
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 #8A5D38 | 5.67:1 | AA | Lc -83.5 | Fine for body text |
| Black text on #8A5D38 | 3.70:1 | AA large text | Lc 25.9 | Dividers and decoration only |
| #8A5D38 text on white | 5.67:1 | AA | Lc 78.2 | Fine for body text |
| #8A5D38 text on black | 3.70:1 | AA large text | Lc -23.6 | 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 700.
-
Step 50
50
#F8F5F2
oklch(97.2% 0.005 67.8)
-
Step 100
100
#F0E8E3
oklch(93.6% 0.011 54.5)
-
Step 200
200
#E4D6CC
oklch(88.5% 0.021 58)
-
Step 300
300
#D4BBA9
oklch(80.9% 0.038 57.9)
-
Step 400
400
#BE987B
oklch(70.7% 0.061 58.9)
-
Step 500
500
#AD7E59
oklch(63.1% 0.078 59)
-
Step 600
600
#98673E
oklch(55.7% 0.085 59.7)
-
Step 700
700 (this color)
#8A5D38
oklch(51.9% 0.079 59.2)
-
Step 800
800
#694629
oklch(42.7% 0.064 59.5)
-
Step 900
900
#563B25
oklch(37.8% 0.051 59.5)
-
Step 950
950
#322316
oklch(27.1% 0.032 61.8)
#8A5D38 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) | #6B6135 | 0.055 |
| Deuteranopia (no green cones) | #756B38 | 0.051 |
| Tritanopia (no blue cones) | #965454 | 0.056 |
| Achromatopsia (no color) | #676767 | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A5D38
#8A5D38
oklch(51.9% 0.079 59.2)
- #3A6F91
#3A6F91
oklch(52% 0.078 238.9)
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 #8A5D38, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cocoa #875F42 ΔE 0.012
- Dirt Brown #836539 ΔE 0.024
- Sepia #985E2B ΔE 0.028
- Dark Taupe #7F684E ΔE 0.036
- Sienna #A0522D ΔE 0.045
- Dirt #8A6E45 ΔE 0.045
- Dull Brown #876E4B ΔE 0.045
- Warm Brown #964E02 ΔE 0.046
Use #8A5D38 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.