#5B2F18#5B2F18

#5B2F18 is a dark, moderate orange. Relative luminance 0.043; OKLCH L 35.8% C 0.073 H 46.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#5B2F18
RGBrgb(91, 47, 24)
HSLhsl(21, 58%, 23%)
HSVhsv(21, 74%, 36%)
CMYKcmyk(0%, 48.4%, 73.6%, 64.3%)
CIE-LABlab(24.71, 17.86, 23.24)
CIE-LCHlch(24.71, 29.31, 52.46°)
OKLaboklab(35.77% 0.05 0.0533)
OKLCHoklch(35.77% 0.073 46.8)
XYZxyz(5.4962, 4.3237, 1.4091)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2F18 #18445B
analogous
#5B1822 #5B2F18 #5B5018
triadic
#5B2F18 #185B2F #2F185B
tetradic
#5B2F18 #225B18 #18445B #50185B
square
#5B2F18 #225B18 #18445B #50185B
split-complementary
#5B2F18 #185B50 #18225B
monochromatic
#180D06 #2B160B #5B2F18 #8B4825 #BC6132

Accessibility & contrast

On white

11.26
#5B2F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5B2F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2F18
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2F18#FFFFFF#000000##FFFFFF
##5B2F181.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3516
Deuteranopia (green-blind)
#463E17
Tritanopia (blue-blind)
#64262A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5b2f18;
/* rgb */ color: rgb(91, 47, 24);
/* oklch */ color: oklch(35.8% 0.073 46.8);
Tailwind
colors: {
  custom: {
    50: '#8d6855',
    500: '#5b2f18',
    950: '#000000',
  },
}
SCSS
$custom: #5b2f18;
$custom-light: #8d6855;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2f18",
  "rgb": {
    "r": 91,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 20.597,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.35765,
    "c": 0.07303,
    "h": 46.8
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#5B2F18
secondary
#3D7592
accent
#ACE146
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5B2F18

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

Preview Lab → · Contrast checker → · Palette generator →

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