#987C45
Closest named color: Mocha (#9D7651). oklch(60.1% 0.081 83), rgb(152, 124, 69).
Aa
Black text reads best on this color (5.30:1).
About this color
#987C45 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 60%, its chroma 0.081 and its hue 83°. Its hue sits on the warm side of the wheel. The nearest named color is Mocha (#9D7651), ΔE 0.027 away. Black text reads best on it, at 5.30:1.
| Hue family | Browns |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.081) |
| Temperature | warm |
| Nearest name | Mocha (#9D7651) |
| Black text | 5.30:1 |
| White text | 3.95:1 |
Values
| HEX | #987C45 |
| RGB | rgb(152, 124, 69) |
| HSL | hsl(40, 38%, 43%) |
| OKLCH | oklch(60.1% 0.081 83) |
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 #987C45 | 3.95:1 | AA large text | Lc -72.4 | Content text, not long reading |
| Black text on #987C45 | 5.30:1 | AA | Lc 37.2 | Non-text elements, placeholder text |
| #987C45 text on white | 3.95:1 | AA large text | Lc 66.9 | Content text, not long reading |
| #987C45 text on black | 5.30:1 | AA | Lc -34.8 | 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
#EEE9E1
oklch(93.6% 0.012 79.8)
-
Step 200
200
#E0D8C9
oklch(88.5% 0.022 83.3)
-
Step 300
300
#CDBFA4
oklch(80.9% 0.04 83.8)
-
Step 400
400
#B49D73
oklch(70.6% 0.063 82.3)
-
Step 500
500 (this color)
#987C45
oklch(60.1% 0.081 83)
-
Step 600
600
#8C6E31
oklch(55.5% 0.087 82.9)
-
Step 700
700
#775C23
oklch(49.1% 0.082 83.2)
-
Step 800
800
#614B1F
oklch(42.6% 0.067 82.4)
-
Step 900
900
#4F3F1F
oklch(37.7% 0.052 83.3)
-
Step 950
950
#2E2513
oklch(27% 0.033 83.8)
#987C45 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) | #887C40 | 0.028 |
| Deuteranopia (no green cones) | #8F8347 | 0.023 |
| Tritanopia (no blue cones) | #A3736F | 0.072 |
| Achromatopsia (no color) | #808080 | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987C45
#987C45
oklch(60.1% 0.081 83)
- #6780B1
#6780B1
oklch(60% 0.081 263.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 #987C45, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mocha #9D7651 ΔE 0.027
- Puce #A57E52 ΔE 0.028
- Coffee #A6814C ΔE 0.029
- Tan Brown #AB7E4C ΔE 0.034
- Leather #AC7434 ΔE 0.037
- Drab #828344 ΔE 0.039
- Light Brown #AD8150 ΔE 0.041
- Brown Grey #8D8468 ΔE 0.043
Use #987C45 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.