#877F52
Closest named color: Drab (#828344). oklch(59.2% 0.064 99.4), rgb(135, 127, 82).
Aa
Black text reads best on this color (5.18:1).
About this color
#877F52 is a medium-dark, muted yellow. In OKLCH its lightness is 59%, its chroma 0.064 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.025 away. Black text reads best on it, at 5.18:1.
| Hue family | Yellows |
| Lightness | medium-dark (59%) |
| Chroma | muted (0.064) |
| Temperature | warm |
| Nearest name | Drab (#828344) |
| Black text | 5.18:1 |
| White text | 4.04:1 |
Values
| HEX | #877F52 |
| RGB | rgb(135, 127, 82) |
| HSL | hsl(51, 24%, 43%) |
| OKLCH | oklch(59.2% 0.064 99.4) |
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 #877F52 | 4.04:1 | AA large text | Lc -73.2 | Content text, not long reading |
| Black text on #877F52 | 5.18:1 | AA | Lc 36.4 | Non-text elements, placeholder text |
| #877F52 text on white | 4.04:1 | AA large text | Lc 67.7 | Content text, not long reading |
| #877F52 text on black | 5.18:1 | AA | Lc -34.0 | 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
#F6F5F3
oklch(97% 0.003 84.6)
-
Step 100
100
#EBEAE4
oklch(93.6% 0.008 98.9)
-
Step 200
200
#DBD9CE
oklch(88.4% 0.015 98.3)
-
Step 300
300
#C5C1AD
oklch(80.9% 0.028 97.7)
-
Step 400
400
#A7A281
oklch(70.8% 0.046 100.3)
-
Step 500
500
#928B61
oklch(63.2% 0.059 99.8)
-
Step 600
600 (this color)
#877F52
oklch(59.2% 0.064 99.4)
-
Step 700
700
#696139
oklch(49% 0.059 98.3)
-
Step 800
800
#55502F
oklch(42.7% 0.05 100.7)
-
Step 900
900
#46422A
oklch(37.6% 0.038 99.9)
-
Step 950
950
#292719
oklch(27% 0.024 101)
#877F52 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) | #877C4F | 0.008 |
| Deuteranopia (no green cones) | #8A8054 | 0.006 |
| Tritanopia (no blue cones) | #8F7974 | 0.059 |
| Achromatopsia (no color) | #7E7E7E | 0.064 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #877F52
#877F52
oklch(59.2% 0.064 99.4)
- #767AA4
#767AA4
oklch(59.2% 0.064 280)
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 #877F52, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Drab #828344 ΔE 0.025
- Brown Grey #8D8468 ΔE 0.031
- Mocha #9D7651 ΔE 0.041
- Dirt #8A6E45 ΔE 0.045
- Dull Brown #876E4B ΔE 0.047
- Grey Brown #7F7053 ΔE 0.047
- Puce #A57E52 ΔE 0.048
- Camo #7F8F4E ΔE 0.049
Use #877F52 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.