#987938
Closest named color: Hazel (#8E7618). oklch(59.3% 0.092 83.7), rgb(152, 121, 56).
Aa
Black text reads best on this color (5.12:1).
About this color
#987938 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 59%, its chroma 0.092 and its hue 84°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.032 away. Black text reads best on it, at 5.12:1.
| Hue family | Browns |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.092) |
| Temperature | warm |
| Nearest name | Hazel (#8E7618) |
| Black text | 5.12:1 |
| White text | 4.09:1 |
Values
| HEX | #987938 |
| RGB | rgb(152, 121, 56) |
| HSL | hsl(41, 46%, 41%) |
| OKLCH | oklch(59.3% 0.092 83.7) |
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 #987938 | 4.09:1 | AA large text | Lc -73.5 | Content text, not long reading |
| Black text on #987938 | 5.12:1 | AA | Lc 36.1 | Non-text elements, placeholder text |
| #987938 text on white | 4.09:1 | AA large text | Lc 68.0 | Content text, not long reading |
| #987938 text on black | 5.12:1 | AA | Lc -33.6 | 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 600.
-
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
#CDBFA3
oklch(80.9% 0.041 84.6)
-
Step 400
400
#B49E71
oklch(70.8% 0.066 84.7)
-
Step 500
500
#A2854B
oklch(63.1% 0.084 83.4)
-
Step 600
600 (this color)
#987938
oklch(59.3% 0.092 83.7)
-
Step 700
700
#785C1F
oklch(49.1% 0.085 83.4)
-
Step 800
800
#614B1C
oklch(42.6% 0.07 83.6)
-
Step 900
900
#4F3F1D
oklch(37.7% 0.055 84.4)
-
Step 950
950
#2F2512
oklch(27.1% 0.035 82.4)
#987938 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) | #877931 | 0.030 |
| Deuteranopia (no green cones) | #8E813A | 0.026 |
| Tritanopia (no blue cones) | #A46F6B | 0.082 |
| Achromatopsia (no color) | #7D7D7D | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987938
#987938
oklch(59.3% 0.092 83.7)
- #627DB5
#627DB5
oklch(59.2% 0.092 264.1)
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 #987938, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hazel #8E7618 ΔE 0.032
- Mocha #9D7651 ΔE 0.034
- Leather #AC7434 ΔE 0.035
- Bronze #A87900 ΔE 0.037
- Coffee #A6814C ΔE 0.038
- Puce #A57E52 ΔE 0.038
- Drab #828344 ΔE 0.040
- Tan Brown #AB7E4C ΔE 0.042
Use #987938 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.