Medium Brown #7F5112
Medium Brown is a medium-dark, moderately saturated brown with hex code #7F5112 and RGB rgb(127, 81, 18).
Aa
White text reads best on this color (6.80:1).
About this color
#7F5112 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 48%, its chroma 0.096 and its hue 69°. Its hue sits on the warm side of the wheel. It is the named color Medium Brown. White text reads best on it, at 6.80:1.
| Hue family | Browns |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.096) |
| Temperature | warm |
| Nearest name | Medium Brown |
| Black text | 3.08:1 |
| White text | 6.80:1 |
Colors that go with Medium Brown
Matches found by rotating Medium Brown around the OKLCH hue wheel, each labelled with the closest name in our list.
Complementary
The opposite hue (180°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
Color palettes with Medium Brown
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Medium Brown, closest first.
Similar named colors
The eight named colors closest to Medium Brown, with their ΔE distance.
- Milk Chocolate #7F4E1E ΔE 0.014
- Mud #735C12 ΔE 0.036
- Saddle Brown #8B4513 ΔE 0.037
- Warm Brown #964E02 ΔE 0.043
- Olive Brown #645403 ΔE 0.052
- Cocoa #875F42 ΔE 0.056
- Dirt Brown #836539 ΔE 0.057
- Greeny Brown #696006 ΔE 0.058
More about Medium Brown
How to make Medium Brown
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.
- 3 parts brown
- 1 part orange
Recipe result: #844F27, a difference of ΔE 0.022 from Medium Brown. That is very close: most people will not see the difference.
Codes for Medium Brown in every format
| HEX | #7F5112 |
| RGB | rgb(127, 81, 18) |
| HSL | hsl(35, 75%, 28%) |
| OKLCH | oklch(47.6% 0.096 68.7) |
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 #7F5112 | 6.80:1 | AA | Lc -88.2 | Fine for body text |
| Black text on #7F5112 | 3.08:1 | AA large text | Lc 20.8 | Dividers and decoration only |
| #7F5112 text on white | 6.80:1 | AA | Lc 83.2 | Fine for body text |
| #7F5112 text on black | 3.08:1 | AA large text | Lc -18.7 | Dividers and decoration only |
Shades and tints of Medium Brown
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 700.
-
Step 50
50
#F8F5F1
oklch(97.1% 0.006 75.4)
-
Step 100
100
#F0E8E1
oklch(93.5% 0.013 63.9)
-
Step 200
200
#E5D6C7
oklch(88.4% 0.026 67.5)
-
Step 300
300
#D5BCA1
oklch(80.9% 0.047 69.3)
-
Step 400
400
#BF986E
oklch(70.6% 0.074 68.3)
-
Step 500
500
#AF7E46
oklch(63% 0.095 68.3)
-
Step 600
600
#9A6726
oklch(55.6% 0.103 68.9)
-
Step 700
700 (this color)
#7F5112
oklch(47.6% 0.096 68.7)
-
Step 800
800
#6B4617
oklch(42.7% 0.079 68.7)
-
Step 900
900
#573B1A
oklch(37.7% 0.062 68.4)
-
Step 950
950
#332310
oklch(27.1% 0.039 69.6)
Medium Brown 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) | #605405 | 0.059 |
| Deuteranopia (no green cones) | #6B5F14 | 0.051 |
| Tritanopia (no blue cones) | #8B4645 | 0.075 |
| Achromatopsia (no color) | #5B5B5B | 0.096 |
Use Medium Brown 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.