#7F8170
Closest named color: Medium Grey (#7D7F7C). oklch(59.7% 0.025 112.6), rgb(127, 129, 112).
Aa
Black text reads best on this color (5.27:1).
About this color
#7F8170 is a medium-dark close to neutral grey. In OKLCH its lightness is 60%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Medium Grey (#7D7F7C), ΔE 0.021 away. Black text reads best on it, at 5.27:1.
| Hue family | Neutrals |
| Lightness | medium-dark (60%) |
| Chroma | close to neutral grey (0.025) |
| Temperature | neutral |
| Nearest name | Medium Grey (#7D7F7C) |
| Black text | 5.27:1 |
| White text | 3.97:1 |
Values
| HEX | #7F8170 |
| RGB | rgb(127, 129, 112) |
| HSL | hsl(67, 7%, 47%) |
| OKLCH | oklch(59.7% 0.025 112.6) |
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 #7F8170 | 3.97:1 | AA large text | Lc -72.7 | Content text, not long reading |
| Black text on #7F8170 | 5.27:1 | AA | Lc 36.9 | Non-text elements, placeholder text |
| #7F8170 text on white | 3.97:1 | AA large text | Lc 67.2 | Content text, not long reading |
| #7F8170 text on black | 5.27:1 | AA | Lc -34.5 | 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
#F5F5F4
oklch(97% 0.001 106.4)
-
Step 100
100
#EAEAE7
oklch(93.6% 0.004 106.5)
-
Step 200
200
#D9DAD4
oklch(88.6% 0.008 114.2)
-
Step 300
300
#C0C1B9
oklch(80.8% 0.011 112.4)
-
Step 400
400
#A0A294
oklch(70.7% 0.02 113.5)
-
Step 500
500 (this color)
#7F8170
oklch(59.7% 0.025 112.6)
-
Step 600
600
#737563
oklch(55.5% 0.027 112.4)
-
Step 700
700
#616252
oklch(49% 0.025 110.2)
-
Step 800
800
#4F5043
oklch(42.6% 0.021 110.8)
-
Step 900
900
#414339
oklch(37.8% 0.017 116.4)
-
Step 950
950
#262721
oklch(27% 0.011 114.8)
#7F8170 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) | #847F6F | 0.009 |
| Deuteranopia (no green cones) | #848071 | 0.008 |
| Tritanopia (no blue cones) | #817F7C | 0.021 |
| Achromatopsia (no color) | #7F7F7F | 0.025 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F8170
#7F8170
oklch(59.7% 0.025 112.6)
- #7F7D8D
#7F7D8D
oklch(59.7% 0.024 291.4)
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 #7F8170, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Grey #7D7F7C ΔE 0.021
- Gray #808080 ΔE 0.025
- Brown Grey #8D8468 ΔE 0.026
- Steel Grey #6F828A ΔE 0.042
- Battleship Grey #6B7C85 ΔE 0.047
- Slate Green #658D6D ΔE 0.049
- Green Grey #77926F ΔE 0.051
- Reddish Grey #997570 ΔE 0.051
Use #7F8170 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.