#8A5218
Closest named color: Medium Brown (#7F5112). oklch(49.3% 0.102 61.5), rgb(138, 82, 24).
Aa
White text reads best on this color (6.36:1).
About this color
#8A5218 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 49%, its chroma 0.102 and its hue 61°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Brown (#7F5112), ΔE 0.022 away. White text reads best on it, at 6.36:1.
| Hue family | Browns |
| Lightness | medium-dark (49%) |
| Chroma | moderately saturated (0.102) |
| Temperature | warm |
| Nearest name | Medium Brown (#7F5112) |
| Black text | 3.30:1 |
| White text | 6.36:1 |
Values
| HEX | #8A5218 |
| RGB | rgb(138, 82, 24) |
| HSL | hsl(31, 70%, 32%) |
| OKLCH | oklch(49.3% 0.102 61.5) |
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 #8A5218 | 6.36:1 | AA | Lc -86.5 | Fine for body text |
| Black text on #8A5218 | 3.30:1 | AA large text | Lc 22.7 | Dividers and decoration only |
| #8A5218 text on white | 6.36:1 | AA | Lc 81.3 | Fine for body text |
| #8A5218 text on black | 3.30:1 | AA large text | Lc -20.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 700.
-
Step 50
50
#F9F4F1
oklch(97% 0.007 53.4)
-
Step 100
100
#F1E8E0
oklch(93.6% 0.015 64.3)
-
Step 200
200
#E7D6C7
oklch(88.6% 0.028 63.9)
-
Step 300
300
#D9BAA1
oklch(80.9% 0.049 60.9)
-
Step 400
400
#C5966D
oklch(70.8% 0.079 62.1)
-
Step 500
500
#B57B45
oklch(63.1% 0.101 62.2)
-
Step 600
600
#A16325
oklch(55.7% 0.11 61.6)
-
Step 700
700 (this color)
#8A5218
oklch(49.3% 0.102 61.5)
-
Step 800
800
#704316
oklch(42.8% 0.085 61.5)
-
Step 900
900
#5A3919
oklch(37.7% 0.066 62.6)
-
Step 950
950
#352110
oklch(26.9% 0.042 60)
#8A5218 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) | #63570E | 0.073 |
| Deuteranopia (no green cones) | #716419 | 0.064 |
| Tritanopia (no blue cones) | #974547 | 0.075 |
| Achromatopsia (no color) | #5F5F5F | 0.102 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A5218
#8A5218
oklch(49.3% 0.102 61.5)
- #1D6796
#1D6796
oklch(49.3% 0.103 241.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 #8A5218, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Brown #7F5112 ΔE 0.022
- Warm Brown #964E02 ΔE 0.023
- Milk Chocolate #7F4E1E ΔE 0.025
- Saddle Brown #8B4513 ΔE 0.032
- Sepia #985E2B ΔE 0.044
- Cocoa #875F42 ΔE 0.045
- Burnt Umber #A0450E ΔE 0.048
- Sienna #A0522D ΔE 0.048
Use #8A5218 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.