#845D40
Closest named color: Cocoa (#875F42). oklch(51.3% 0.066 57.2), rgb(132, 93, 64).
Aa
White text reads best on this color (5.79:1).
About this color
#845D40 is a medium-dark, muted brown. In OKLCH its lightness is 51%, its chroma 0.066 and its hue 57°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.008 away. White text reads best on it, at 5.79:1.
| Hue family | Browns |
| Lightness | medium-dark (51%) |
| Chroma | muted (0.066) |
| Temperature | warm |
| Nearest name | Cocoa (#875F42) |
| Black text | 3.62:1 |
| White text | 5.79:1 |
Values
| HEX | #845D40 |
| RGB | rgb(132, 93, 64) |
| HSL | hsl(26, 35%, 38%) |
| OKLCH | oklch(51.3% 0.066 57.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 #845D40 | 5.79:1 | AA | Lc -84.2 | Fine for body text |
| Black text on #845D40 | 3.62:1 | AA large text | Lc 25.2 | Dividers and decoration only |
| #845D40 text on white | 5.79:1 | AA | Lc 78.9 | Fine for body text |
| #845D40 text on black | 3.62:1 | AA large text | Lc -22.9 | 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
#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
#BA9982
oklch(70.7% 0.051 56.6)
-
Step 500
500
#A88062
oklch(63.1% 0.065 58.1)
-
Step 600
600
#936949
oklch(55.6% 0.071 58)
-
Step 700
700 (this color)
#845D40
oklch(51.3% 0.066 57.2)
-
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)
#845D40 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) | #69603E | 0.047 |
| Deuteranopia (no green cones) | #726940 | 0.044 |
| Tritanopia (no blue cones) | #8E5556 | 0.048 |
| Achromatopsia (no color) | #656565 | 0.067 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #845D40
#845D40
oklch(51.3% 0.066 57.2)
- #406D88
#406D88
oklch(51.4% 0.066 236.3)
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 #845D40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cocoa #875F42 ΔE 0.008
- Dirt Brown #836539 ΔE 0.027
- Dark Taupe #7F684E ΔE 0.030
- Sepia #985E2B ΔE 0.042
- Dull Brown #876E4B ΔE 0.046
- Milk Chocolate #7F4E1E ΔE 0.048
- Dirt #8A6E45 ΔE 0.049
- Medium Brown #7F5112 ΔE 0.049
Use #845D40 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.