#5F371B#5F371B

#5F371B is a dark, moderate orange. Relative luminance 0.052; OKLCH L 38.0% C 0.070 H 53.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#5F371B
RGBrgb(95, 55, 27)
HSLhsl(25, 56%, 24%)
HSVhsv(25, 72%, 37%)
CMYKcmyk(0%, 42.1%, 71.6%, 62.7%)
CIE-LABlab(27.42, 15.01, 24.70)
CIE-LCHlch(27.42, 28.91, 58.71°)
OKLaboklab(37.99% 0.0415 0.0568)
OKLCHoklch(37.99% 0.07 53.8)
XYZxyz(6.2838, 5.2450, 1.7182)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F371B #1B435F
analogous
#5F1B21 #5F371B #5F591B
triadic
#5F371B #1B5F37 #371B5F
tetradic
#5F371B #215F1B #1B435F #591B5F
square
#5F371B #215F1B #1B435F #591B5F
split-complementary
#5F371B #1B5F59 #1B215F
monochromatic
#180E07 #2F1B0D #5F371B #8F5329 #BE6E36

Accessibility & contrast

On white

10.25
#5F371B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5F371B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F371B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F371B#FFFFFF#000000##FFFFFF
##5F371B1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B18
Deuteranopia (green-blind)
#4C441B
Tritanopia (blue-blind)
#682F31
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5f371b;
/* rgb */ color: rgb(95, 55, 27);
/* oklch */ color: oklch(38.0% 0.070 53.8);
Tailwind
colors: {
  custom: {
    50: '#906e58',
    500: '#5f371b',
    950: '#000000',
  },
}
SCSS
$custom: #5f371b;
$custom-light: #906e58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f371b",
  "rgb": {
    "r": 95,
    "g": 55,
    "b": 27
  },
  "hsl": {
    "h": 24.706,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3799,
    "c": 0.07036,
    "h": 53.8
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#5F371B
secondary
#417295
accent
#A1DF49
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0703
muted
#7E7A78

Preview Lab

Preview with #5F371B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5F371B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva