#5F391B#5F391B

#5F391B is a dark, moderate orange. Relative luminance 0.054; OKLCH L 38.4% C 0.069 H 56.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#5F391B
RGBrgb(95, 57, 27)
HSLhsl(26, 56%, 24%)
HSVhsv(26, 72%, 37%)
CMYKcmyk(0%, 40%, 71.6%, 62.7%)
CIE-LABlab(27.95, 13.77, 25.30)
CIE-LCHlch(27.95, 28.80, 61.44°)
OKLaboklab(38.4% 0.0378 0.0581)
OKLCHoklch(38.4% 0.069 56.9)
XYZxyz(6.3808, 5.4389, 1.7505)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F391B #1B415F
analogous
#5F1B1F #5F391B #5F5B1B
triadic
#5F391B #1B5F39 #391B5F
tetradic
#5F391B #1F5F1B #1B415F #5B1B5F
square
#5F391B #1F5F1B #1B415F #5B1B5F
split-complementary
#5F391B #1B5F5B #1B1F5F
monochromatic
#180E07 #2F1C0D #5F391B #8F5629 #BE7236

Accessibility & contrast

On white

10.06
#5F391B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5F391B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F391B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F391B#FFFFFF#000000##FFFFFF
##5F391B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D18
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#683132
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5f391b;
/* rgb */ color: rgb(95, 57, 27);
/* oklch */ color: oklch(38.4% 0.069 56.9);
Tailwind
colors: {
  custom: {
    50: '#906f58',
    500: '#5f391b',
    950: '#000000',
  },
}
SCSS
$custom: #5f391b;
$custom-light: #906f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f391b",
  "rgb": {
    "r": 95,
    "g": 57,
    "b": 27
  },
  "hsl": {
    "h": 26.471,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.38398,
    "c": 0.0693,
    "h": 56.9
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#5F391B
secondary
#417095
accent
#9DDF49
background
#F9F6F5
surface
#F1ECE9
border
#CBC7C5
text
#0D0703
muted
#7E7A78

Preview Lab

Preview with #5F391B

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

Preview Lab → · Contrast checker → · Palette generator →

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