#987D42
Closest named color: Coffee (#A6814C). oklch(60.2% 0.085 85.2), rgb(152, 125, 66).
Aa
Black text reads best on this color (5.34:1).
About this color
#987D42 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 60%, its chroma 0.085 and its hue 85°. Its hue sits on the warm side of the wheel. The nearest named color is Coffee (#A6814C), ΔE 0.029 away. Black text reads best on it, at 5.34:1.
| Hue family | Browns |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.085) |
| Temperature | warm |
| Nearest name | Coffee (#A6814C) |
| Black text | 5.34:1 |
| White text | 3.92:1 |
Values
| HEX | #987D42 |
| RGB | rgb(152, 125, 66) |
| HSL | hsl(41, 39%, 43%) |
| OKLCH | oklch(60.2% 0.085 85.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 #987D42 | 3.92:1 | AA large text | Lc -72.1 | Content text, not long reading |
| Black text on #987D42 | 5.34:1 | AA | Lc 37.5 | Non-text elements, placeholder text |
| #987D42 text on white | 3.92:1 | AA large text | Lc 66.6 | Content text, not long reading |
| #987D42 text on black | 5.34:1 | AA | Lc -35.1 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F7F5F1
oklch(97.1% 0.006 84.6)
-
Step 100
100
#EDE9E1
oklch(93.5% 0.012 84.6)
-
Step 200
200
#E0D8C8
oklch(88.4% 0.023 84.6)
-
Step 300
300
#CDBFA3
oklch(80.9% 0.041 84.6)
-
Step 400
400
#B39E71
oklch(70.7% 0.066 85.7)
-
Step 500
500 (this color)
#987D42
oklch(60.2% 0.085 85.2)
-
Step 600
600
#8C6F2C
oklch(55.7% 0.092 85.3)
-
Step 700
700
#775C1E
oklch(49% 0.086 84.5)
-
Step 800
800
#614C1B
oklch(42.8% 0.071 85.4)
-
Step 900
900
#4F3F1D
oklch(37.7% 0.055 84.4)
-
Step 950
950
#2E2512
oklch(26.9% 0.034 84.8)
#987D42 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) | #8A7C3D | 0.025 |
| Deuteranopia (no green cones) | #908344 | 0.020 |
| Tritanopia (no blue cones) | #A4746F | 0.075 |
| Achromatopsia (no color) | #808080 | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987D42
#987D42
oklch(60.2% 0.085 85.2)
- #6880B4
#6880B4
oklch(60.2% 0.085 265)
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 #987D42, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Coffee #A6814C ΔE 0.029
- Puce #A57E52 ΔE 0.030
- Mocha #9D7651 ΔE 0.032
- Tan Brown #AB7E4C ΔE 0.035
- Drab #828344 ΔE 0.037
- Leather #AC7434 ΔE 0.037
- Hazel #8E7618 ΔE 0.041
- Light Brown #AD8150 ΔE 0.041
Use #987D42 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.