Medium Grey #7D7F7C
Medium Grey is a medium-dark close to neutral grey with hex code #7D7F7C and RGB rgb(125, 127, 124).
Aa
Black text reads best on this color (5.19:1).
About this color
#7D7F7C is a medium-dark close to neutral grey. In OKLCH its lightness is 59%, its chroma 0.005. It has too little chroma to lean warm or cool. It is the named color Medium Grey. Black text reads best on it, at 5.19:1.
| Hue family | Neutrals |
| Lightness | medium-dark (59%) |
| Chroma | close to neutral grey (0.005) |
| Temperature | neutral |
| Nearest name | Medium Grey |
| Black text | 5.19:1 |
| White text | 4.03:1 |
Colors that go with Medium Grey
Matches found by rotating Medium Grey around the OKLCH hue wheel, each labelled with the closest name in our list.
Medium Grey is close to neutral, so it has no hue to rotate. It pairs with almost any color; try the palettes below.
Color palettes with Medium Grey
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Medium Grey, closest first.
Similar named colors
The eight named colors closest to Medium Grey, with their ΔE distance.
- Gray #808080 ΔE 0.008
- Steel Grey #6F828A ΔE 0.026
- Battleship Grey #6B7C85 ΔE 0.031
- Slate Gray #708090 ΔE 0.033
- Steel #738595 ΔE 0.037
- Battleship Gray #6C757D ΔE 0.041
- Brown Grey #8D8468 ΔE 0.043
- Light Slate Gray #778899 ΔE 0.043
More about Medium Grey
How to make Medium Grey
A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.
- 4 parts gray
- 1 part green
- 1 part purple
Recipe result: #7E7F81, a difference of ΔE 0.008 from Medium Grey. That is very close: most people will not see the difference.
Codes for Medium Grey in every format
| HEX | #7D7F7C |
| RGB | rgb(125, 127, 124) |
| HSL | hsl(100, 1%, 49%) |
| OKLCH | oklch(59.4% 0.005 134.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 #7D7F7C | 4.03:1 | AA large text | Lc -73.2 | Content text, not long reading |
| Black text on #7D7F7C | 5.19:1 | AA | Lc 36.4 | Non-text elements, placeholder text |
| #7D7F7C text on white | 4.03:1 | AA large text | Lc 67.7 | Content text, not long reading |
| #7D7F7C text on black | 5.19:1 | AA | Lc -34.0 | Non-text elements, placeholder text |
Shades and tints of Medium Grey
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
#F5F5F5
oklch(97% 0 0)
-
Step 100
100
#E9EAE9
oklch(93.6% 0.002 145.6)
-
Step 200
200
#D9D9D8
oklch(88.5% 0.001 106.4)
-
Step 300
300
#C0C1BF
oklch(81% 0.003 128.5)
-
Step 400
400
#9FA19F
oklch(70.7% 0.004 145.5)
-
Step 500
500 (this color)
#7D7F7C
oklch(59.4% 0.005 134.9)
-
Step 600
600
#727471
oklch(55.6% 0.005 134.9)
-
Step 700
700
#5F615E
oklch(49% 0.005 134.9)
-
Step 800
800
#4E4F4D
oklch(42.6% 0.003 128.6)
-
Step 900
900
#414240
oklch(37.7% 0.004 128.6)
-
Step 950
950
#262726
oklch(27.1% 0.002 145.5)
Medium Grey 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) | #7F7E7C | 0.004 |
| Deuteranopia (no green cones) | #7F7E7C | 0.004 |
| Tritanopia (no blue cones) | #7D7F7E | 0.003 |
| Achromatopsia (no color) | #7E7E7E | 0.005 |
Use Medium Grey 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.