#5F371F#5F371F

#5F371F is a dark, moderate orange. Relative luminance 0.053; OKLCH L 38.0% C 0.068 H 50.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#5F371F
RGBrgb(95, 55, 31)
HSLhsl(23, 51%, 25%)
HSVhsv(23, 67%, 37%)
CMYKcmyk(0%, 42.1%, 67.4%, 62.7%)
CIE-LABlab(27.48, 15.31, 22.38)
CIE-LCHlch(27.48, 27.11, 55.62°)
OKLaboklab(38.05% 0.0432 0.0524)
OKLCHoklch(38.05% 0.068 50.5)
XYZxyz(6.3333, 5.2648, 1.9787)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F371F #1F475F
analogous
#5F1F27 #5F371F #5F571F
triadic
#5F371F #1F5F37 #371F5F
tetradic
#5F371F #275F1F #1F475F #571F5F
square
#5F371F #275F1F #1F475F #571F5F
split-complementary
#5F371F #1F5F57 #1F275F
monochromatic
#170D08 #311C10 #5F371F #8D522E #BB6C3D

Accessibility & contrast

On white

10.23
#5F371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F371F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F371F#FFFFFF#000000##FFFFFF
##5F371F1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1D
Deuteranopia (green-blind)
#4C441F
Tritanopia (blue-blind)
#682F31
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5f371f;
/* rgb */ color: rgb(95, 55, 31);
/* oklch */ color: oklch(38.0% 0.068 50.5);
Tailwind
colors: {
  custom: {
    50: '#906e5b',
    500: '#5f371f',
    950: '#000000',
  },
}
SCSS
$custom: #5f371f;
$custom-light: #906e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f371f",
  "rgb": {
    "r": 95,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 22.5,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3805,
    "c": 0.06786,
    "h": 50.5
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#5F371F
secondary
#467794
accent
#A5DA4E
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0704
muted
#7E7A79

Preview Lab

Preview with #5F371F

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

Preview Lab → · Contrast checker → · Palette generator →

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