Medium brown Color — HEX, RGB, HSL & CMYK Codes

#7f5112
Format Value
HEX #7f5112
RGB rgb(127, 81, 18)
HSL hsl(34.7, 75.2%, 28.4%)
CMYK cmyk(0%, 36.2%, 85.8%, 50.2%)
HSV hsv(34.7, 85.8%, 49.8%)

medium brown color harmonies

Tints & shades of medium brown

Tints (lighter)

#8b6128 #96713d #a28053 #ae9068 #b9a07e #c5b093 #d0c0a9 #dcd0be #e8dfd4 #f3efe9

Shades (darker)

#734a10 #68420f #5c3b0d #51340b #452c0a #3a2508 #2e1d07 #231605 #170f03 #0c0702

Contrast & accessibility

The quick brown fox

On white · 6.8:1 · AA

The quick brown fox

On black · 3.09:1 · AA Large

Recommended text color: #ffffff

Use medium brown in code

CSS color: #7f5112;
SCSS $color: #7f5112;
Tailwind bg-[#7f5112]
Swift UIColor(red: 0.498, green: 0.318, blue: 0.071, alpha: 1)
Android Color.parseColor("#7f5112")
Flutter Color(0xFF7F5112)

Colors similar to medium brown

Browse all Orange colors →

What is the HEX code for medium brown?

The CSS color medium brown in HEX format is #7f5112. Use this value directly in CSS, SVG, and most design tools.

How do I use medium brown in CSS?

To apply medium brown in CSS:

  • Text color: color: #7f5112;
  • Background: background-color: #7f5112;
  • Border: border-color: #7f5112;

What are all the color format values for medium brown?

FormatValue
HEX#7f5112
RGBrgb(127, 81, 18)
HSLhsl(34.7, 75.2%, 28.4%)
CMYKcmyk(0%, 36.2%, 85.8%, 50.2%)

How do I convert medium brown to HEX?

Select medium brown from the color name list in our color converter. The HEX value — #7f5112 — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does medium brown belong to?

medium brown belongs to the orange color family. It is a dark, vivid color with HSL values: hue 34.7°, saturation 75.2%, lightness 28.4%.

How do I create lighter and darker shades of medium brown?

Lighter variant (lightness 43.4%): #c27c1b. Darker variant (lightness 13.399999999999999%): #3c2608. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.