Medium brown to HSL — Color Code

#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 HSL code for medium brown?

The CSS color medium brown in HSL format is hsl(34.7, 75.2%, 28.4%). 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: hsl(34.7, 75.2%, 28.4%);
  • Background: background-color: hsl(34.7, 75.2%, 28.4%);
  • Border: border-color: hsl(34.7, 75.2%, 28.4%);

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 HSL?

Select medium brown from the color name list in our color converter. The HSL value — hsl(34.7, 75.2%, 28.4%) — 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 HSL used for?

HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.