#5B381F#5B381F

#5B381F is a dark, moderate orange. Relative luminance 0.052; OKLCH L 37.7% C 0.063 H 55.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#5B381F
RGBrgb(91, 56, 31)
HSLhsl(25, 49%, 24%)
HSVhsv(25, 66%, 36%)
CMYKcmyk(0%, 38.5%, 65.9%, 64.3%)
CIE-LABlab(27.16, 12.77, 21.86)
CIE-LCHlch(27.16, 25.32, 59.70°)
OKLaboklab(37.68% 0.0359 0.0514)
OKLCHoklch(37.68% 0.063 55.1)
XYZxyz(5.9763, 5.1520, 1.9757)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B381F #1F425B
analogous
#5B1F24 #5B381F #5B561F
triadic
#5B381F #1F5B38 #381F5B
tetradic
#5B381F #245B1F #1F425B #561F5B
square
#5B381F #245B1F #1F425B #561F5B
split-complementary
#5B381F #1F5B56 #1F245B
monochromatic
#170E08 #2D1C0F #5B381F #89542F #B6703E

Accessibility & contrast

On white

10.34
#5B381F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5B381F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B381F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B381F#FFFFFF#000000##FFFFFF
##5B381F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1D
Deuteranopia (green-blind)
#4A431F
Tritanopia (blue-blind)
#633132
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5b381f;
/* rgb */ color: rgb(91, 56, 31);
/* oklch */ color: oklch(37.7% 0.063 55.1);
Tailwind
colors: {
  custom: {
    50: '#8c6e5b',
    500: '#5b381f',
    950: '#000000',
  },
}
SCSS
$custom: #5b381f;
$custom-light: #8c6e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b381f",
  "rgb": {
    "r": 91,
    "g": 56,
    "b": 31
  },
  "hsl": {
    "h": 25,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.37684,
    "c": 0.06267,
    "h": 55.1
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#5B381F
secondary
#467190
accent
#9FD94F
background
#F8F6F5
surface
#F0ECE9
border
#CBC7C5
text
#0C0704
muted
#7D7A79

Preview Lab

Preview with #5B381F

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

Preview Lab → · Contrast checker → · Palette generator →

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