#7F875C
Closest named color: Drab (#828344). oklch(60.6% 0.062 116.9), rgb(127, 135, 92).
Aa
Black text reads best on this color (5.52:1).
About this color
#7F875C is a medium-dark, muted yellow. In OKLCH its lightness is 61%, its chroma 0.062 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.027 away. Black text reads best on it, at 5.52:1.
| Hue family | Yellows |
| Lightness | medium-dark (61%) |
| Chroma | muted (0.062) |
| Temperature | in between |
| Nearest name | Drab (#828344) |
| Black text | 5.52:1 |
| White text | 3.80:1 |
Values
| HEX | #7F875C |
| RGB | rgb(127, 135, 92) |
| HSL | hsl(71, 19%, 45%) |
| OKLCH | oklch(60.6% 0.062 116.9) |
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 #7F875C | 3.80:1 | AA large text | Lc -71.0 | Content text, not long reading |
| Black text on #7F875C | 5.52:1 | AA | Lc 38.5 | Non-text elements, placeholder text |
| #7F875C text on white | 3.80:1 | AA large text | Lc 65.5 | Content text, not long reading |
| #7F875C text on black | 5.52:1 | AA | Lc -36.1 | 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
#F5F6F3
oklch(97.2% 0.004 121.6)
-
Step 100
100
#E9EBE4
oklch(93.7% 0.01 119.6)
-
Step 200
200
#D8DBCE
oklch(88.6% 0.018 117.3)
-
Step 300
300
#BFC3AE
oklch(80.8% 0.029 115.8)
-
Step 400
400
#9EA583
oklch(70.7% 0.048 117.1)
-
Step 500
500 (this color)
#7F875C
oklch(60.6% 0.062 116.9)
-
Step 600
600
#70794A
oklch(55.6% 0.068 117.5)
-
Step 700
700
#5E653B
oklch(49% 0.062 116.5)
-
Step 800
800
#4D5331
oklch(42.8% 0.053 116.8)
-
Step 900
900
#40452C
oklch(37.8% 0.041 117.6)
-
Step 950
950
#25281A
oklch(26.9% 0.025 117.9)
#7F875C 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) | #8D8359 | 0.022 |
| Deuteranopia (no green cones) | #8C835E | 0.023 |
| Tritanopia (no blue cones) | #83827C | 0.054 |
| Achromatopsia (no color) | #838383 | 0.062 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F875C
#7F875C
oklch(60.6% 0.062 116.9)
- #857AA3
#857AA3
oklch(60.4% 0.063 296.8)
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 #7F875C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Drab #828344 ΔE 0.027
- Brown Grey #8D8468 ΔE 0.031
- Green Grey #77926F ΔE 0.033
- Camo #7F8F4E ΔE 0.034
- Slate Green #658D6D ΔE 0.037
- Khaki Green #728639 ΔE 0.048
- Drab Green #749551 ΔE 0.049
- Dark Sage #598556 ΔE 0.053
Use #7F875C 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.