#5F371A#5F371A

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

Color values

HEX#5F371A
RGBrgb(95, 55, 26)
HSLhsl(25, 57%, 24%)
HSVhsv(25, 73%, 37%)
CMYKcmyk(0%, 42.1%, 72.6%, 62.7%)
CIE-LABlab(27.41, 14.95, 25.27)
CIE-LCHlch(27.41, 29.36, 59.40°)
OKLaboklab(37.98% 0.0412 0.0578)
OKLCHoklch(37.98% 0.071 54.6)
XYZxyz(6.2724, 5.2405, 1.6583)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F371A #1A425F
analogous
#5F1A1F #5F371A #5F591A
triadic
#5F371A #1A5F37 #371A5F
tetradic
#5F371A #1F5F1A #1A425F #591A5F
square
#5F371A #1F5F1A #1A425F #591A5F
split-complementary
#5F371A #1A5F59 #1A1F5F
monochromatic
#180E07 #2F1B0D #5F371A #8F5327 #BF6F34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F371A#FFFFFF#000000##FFFFFF
##5F371A1.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)
#433B17
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#682F30
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5f371a;
/* rgb */ color: rgb(95, 55, 26);
/* oklch */ color: oklch(38.0% 0.071 54.6);
Tailwind
colors: {
  custom: {
    50: '#906e58',
    500: '#5f371a',
    950: '#000000',
  },
}
SCSS
$custom: #5f371a;
$custom-light: #906e58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f371a",
  "rgb": {
    "r": 95,
    "g": 55,
    "b": 26
  },
  "hsl": {
    "h": 25.217,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.37976,
    "c": 0.07099,
    "h": 54.6
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#5F371A
secondary
#407195
accent
#A0E048
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0703
muted
#7E7A78

Preview Lab

Preview with #5F371A

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

Preview Lab → · Contrast checker → · Palette generator →

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