#987A20
Closest named color: Hazel (#8E7618). oklch(59.2% 0.11 89.3), rgb(152, 122, 32).
Aa
Black text reads best on this color (5.13:1).
About this color
#987A20 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 59%, its chroma 0.110 and its hue 89°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.021 away. Black text reads best on it, at 5.13:1.
| Hue family | Browns |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.110) |
| Temperature | warm |
| Nearest name | Hazel (#8E7618) |
| Black text | 5.13:1 |
| White text | 4.08:1 |
Values
| HEX | #987A20 |
| RGB | rgb(152, 122, 32) |
| HSL | hsl(45, 65%, 36%) |
| OKLCH | oklch(59.2% 0.11 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 #987A20 | 4.08:1 | AA large text | Lc -73.4 | Content text, not long reading |
| Black text on #987A20 | 5.13:1 | AA | Lc 36.2 | Non-text elements, placeholder text |
| #987A20 text on white | 4.08:1 | AA large text | Lc 67.9 | Content text, not long reading |
| #987A20 text on black | 5.13:1 | AA | Lc -33.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 600.
-
Step 50
50
#F7F5F1
oklch(97.1% 0.006 84.6)
-
Step 100
100
#EEEADF
oklch(93.7% 0.015 90.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
#B49F66
oklch(70.8% 0.079 90)
-
Step 500
500
#A2863A
oklch(63.1% 0.101 88.9)
-
Step 600
600 (this color)
#987A20
oklch(59.2% 0.11 89.3)
-
Step 700
700
#775D00
oklch(49.1% 0.1 89.6)
-
Step 800
800
#614C06
oklch(42.7% 0.084 89.7)
-
Step 900
900
#4F4012
oklch(37.8% 0.066 90.5)
-
Step 950
950
#2F250C
oklch(27% 0.042 87.5)
#987A20 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) | #89790F | 0.028 |
| Deuteranopia (no green cones) | #908125 | 0.021 |
| Tritanopia (no blue cones) | #A56F69 | 0.100 |
| Achromatopsia (no color) | #7E7E7E | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987A20
#987A20
oklch(59.2% 0.11 89.3)
- #647ABF
#647ABF
oklch(59.2% 0.109 269.5)
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 #987A20, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hazel #8E7618 ΔE 0.021
- Bronze #A87900 ΔE 0.027
- Mustard Brown #AC7E04 ΔE 0.037
- Drab #828344 ΔE 0.042
- Golden Brown #B27A01 ΔE 0.044
- Leather #AC7434 ΔE 0.044
- Caramel #AF6F09 ΔE 0.045
- Olive #808000 ΔE 0.047
Use #987A20 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.