Skip to content

#5F311B Color

#5F311B is rgb(95, 49, 27) in RGB, hsl(19, 56%, 24%) in HSL, and about cmyk(0%, 48%, 72%, 63%) in CMYK. It has no registered color name of its own — the closest is Seal Brown (#59260B), clearly related but distinguishable side by side at ΔE 6.6. White text is the more readable choice on this background.

#5F311B
HEX#5F311B
RGBrgb(95, 49, 27)
HSLhsl(19, 56%, 24%)
HSVhsv(19, 72%, 37%)
CMYKcmyk(0%, 48%, 72%, 63%)
OKLCHoklch(36.8% 0.075 45.2)
LABlab(26.20% 19.80 23.40)
LCHlch(26.20% 30.65 49.76)

What #5F311B Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #5F311B, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every brown in the library.

#5F311B Channel Values

How #5F311B breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 95 · G 49 · B 278-bit channels as sent to the display
HSLH 19° · S 56% · L 24%Easiest model for building lighter and darker variants
HSVH 19° · S 72% · V 37%Matches the picker in most design tools
CMYKC 0% · M 48% · Y 72% · K 63%Approximate ink mix; confirm with an ICC profile before printing
Luminance10.82:1 vs white · 1.94:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #5F311B background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text10.82:1AA normal AA large AAA normal
Fails AABlack text1.94:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #5F311B in the contrast checker.

Colors That Go With #5F311B

Pairings derived from color-wheel relationships. The complementary color sits opposite #5F311B; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #5F311B

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #5F311B.

How #5F311B Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#5F311B
Protanopia#3C3C1A
Protanomaly#4C381B
Deuteranopia#444417
Deuteranomaly#503D19
Tritanopia#602F2F
Tritanomaly#603028
Achromatopsia#3D3D3D

Test a full palette in the color blindness simulator.

Using #5F311B in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-5f311b: #5F311B;
CSS backgroundbackground-color: #5F311B;
Tailwind configcolors: { 'color-5f311b': '#5F311B' }
SwiftUIColor(red: 0.373, green: 0.192, blue: 0.106)
Android XML<color name="color_5f311b">#5F311B</color>
SVG fillfill="#5F311B"

More Brown Colors

#5F311B sits in the brown family. These are its neighbours across that family's full range, each with its own breakdown.

#5F311B Frequently Asked Questions

What color is #5F311B?

#5F311B is a dark brown — rgb(95, 49, 27) in RGB and hsl(19, 56%, 24%) in HSL. It carries no registered color name of its own; the closest named color is Seal Brown (#59260B), which is clearly related but distinguishable side by side at a CIE76 distance of 6.6.

What is the RGB value of #5F311B?

#5F311B is rgb(95, 49, 27) — red 95, green 49, and blue 27 on the 0-255 scale.

What is the CMYK value of #5F311B?

#5F311B converts to approximately cmyk(0%, 48%, 72%, 63%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #5F311B be black or white?

White text is the more readable choice. #5F311B scores 10.82:1 against white and 1.94:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #5F311B as a CSS color keyword?

No. #5F311B is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is saddlebrown (#8B4513) at a CIE76 distance of 23.15, which is visibly different.

Open #5F311B in a Tool

Keep exploring: every brown in the color library, the guide to shades of brown, or the full color library.