#987D31
Closest named color: Hazel (#8E7618). oklch(60% 0.1 89.3), rgb(152, 125, 49).
Aa
Black text reads best on this color (5.31:1).
About this color
#987D31 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 60%, its chroma 0.100 and its hue 89°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.030 away. Black text reads best on it, at 5.31:1.
| Hue family | Browns |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.100) |
| Temperature | warm |
| Nearest name | Hazel (#8E7618) |
| Black text | 5.31:1 |
| White text | 3.95:1 |
Values
| HEX | #987D31 |
| RGB | rgb(152, 125, 49) |
| HSL | hsl(44, 51%, 39%) |
| OKLCH | oklch(60% 0.1 89.3) |
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 #987D31 | 3.95:1 | AA large text | Lc -72.3 | Content text, not long reading |
| Black text on #987D31 | 5.31:1 | AA | Lc 37.3 | Non-text elements, placeholder text |
| #987D31 text on white | 3.95:1 | AA large text | Lc 66.8 | Content text, not long reading |
| #987D31 text on black | 5.31:1 | AA | Lc -34.9 | 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
#EDEADF
oklch(93.6% 0.015 94.2)
-
Step 200
200
#E0D9C5
oklch(88.5% 0.028 90.9)
-
Step 300
300
#CDC09D
oklch(81% 0.049 90.1)
-
Step 400
400
#B49F67
oklch(70.8% 0.078 89.7)
-
Step 500
500 (this color)
#987D31
oklch(60% 0.1 89.3)
-
Step 600
600
#8D6F11
oklch(55.6% 0.108 88.8)
-
Step 700
700
#775D00
oklch(49.1% 0.1 89.6)
-
Step 800
800
#614C08
oklch(42.7% 0.083 89.4)
-
Step 900
900
#4F4012
oklch(37.8% 0.066 90.5)
-
Step 950
950
#2E250D
oklch(26.9% 0.04 88.9)
#987D31 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) | #8B7C28 | 0.024 |
| Deuteranopia (no green cones) | #918334 | 0.018 |
| Tritanopia (no blue cones) | #A4736D | 0.090 |
| Achromatopsia (no color) | #808080 | 0.100 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987D31
#987D31
oklch(60% 0.1 89.3)
- #687DBC
#687DBC
oklch(60% 0.1 269.2)
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 #987D31, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hazel #8E7618 ΔE 0.030
- Bronze #A87900 ΔE 0.031
- Drab #828344 ΔE 0.036
- Mustard Brown #AC7E04 ΔE 0.037
- Coffee #A6814C ΔE 0.038
- Leather #AC7434 ΔE 0.041
- Puce #A57E52 ΔE 0.043
- Golden Brown #B27A01 ΔE 0.045
Use #987D31 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.