#5B331F#5B331F

#5B331F is a dark, moderate orange. Relative luminance 0.047; OKLCH L 36.7% C 0.066 H 46.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#5B331F
RGBrgb(91, 51, 31)
HSLhsl(20, 49%, 24%)
HSVhsv(20, 66%, 36%)
CMYKcmyk(0%, 44%, 65.9%, 64.3%)
CIE-LABlab(25.84, 15.91, 20.27)
CIE-LCHlch(25.84, 25.76, 51.87°)
OKLaboklab(36.66% 0.0454 0.0479)
OKLCHoklch(36.66% 0.066 46.5)
XYZxyz(5.7460, 4.6913, 1.8990)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B331F #1F475B
analogous
#5B1F29 #5B331F #5B511F
triadic
#5B331F #1F5B33 #331F5B
tetradic
#5B331F #295B1F #1F475B #511F5B
square
#5B331F #295B1F #1F475B #511F5B
split-complementary
#5B331F #1F5B51 #1F295B
monochromatic
#170D08 #2D190F #5B331F #894D2F #B6663E

Accessibility & contrast

On white

10.83
#5B331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5B331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B331F
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B331F#FFFFFF#000000##FFFFFF
##5B331F1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381D
Deuteranopia (green-blind)
#47411F
Tritanopia (blue-blind)
#642B2E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5b331f;
/* rgb */ color: rgb(91, 51, 31);
/* oklch */ color: oklch(36.7% 0.066 46.5);
Tailwind
colors: {
  custom: {
    50: '#8d6b5b',
    500: '#5b331f',
    950: '#000000',
  },
}
SCSS
$custom: #5b331f;
$custom-light: #8d6b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b331f",
  "rgb": {
    "r": 91,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 20,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3666,
    "c": 0.06594,
    "h": 46.5
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

primary
#5B331F
secondary
#467790
accent
#ABD94F
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0D0604
muted
#7D7A79

Preview Lab

Preview with #5B331F

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

Preview Lab → · Contrast checker → · Palette generator →

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