#5F371C#5F371C

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

Color values

HEX#5F371C
RGBrgb(95, 55, 28)
HSLhsl(24, 54%, 24%)
HSVhsv(24, 71%, 37%)
CMYKcmyk(0%, 42.1%, 70.5%, 62.7%)
CIE-LABlab(27.43, 15.09, 24.13)
CIE-LCHlch(27.43, 28.45, 57.98°)
OKLaboklab(38% 0.0419 0.0557)
OKLCHoklch(38% 0.07 53)
XYZxyz(6.2956, 5.2497, 1.7801)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F371C #1C445F
analogous
#5F1C23 #5F371C #5F591C
triadic
#5F371C #1C5F37 #371C5F
tetradic
#5F371C #235F1C #1C445F #591C5F
square
#5F371C #235F1C #1C445F #591C5F
split-complementary
#5F371C #1C5F59 #1C235F
monochromatic
#180E07 #301C0E #5F371C #8E522A #BE6E38

Accessibility & contrast

On white

10.24
#5F371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F371C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F371C#FFFFFF#000000##FFFFFF
##5F371C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f371c;
/* rgb */ color: rgb(95, 55, 28);
/* oklch */ color: oklch(38.0% 0.070 53.0);
Tailwind
colors: {
  custom: {
    50: '#906e59',
    500: '#5f371c',
    950: '#000000',
  },
}
SCSS
$custom: #5f371c;
$custom-light: #906e59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f371c",
  "rgb": {
    "r": 95,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 24.179,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.38004,
    "c": 0.06974,
    "h": 53
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#5F371C
secondary
#427394
accent
#A2DE4A
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0703
muted
#7E7A78

Preview Lab

Preview with #5F371C

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

Preview Lab → · Contrast checker → · Palette generator →

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