#5B2F12#5B2F12

#5B2F12 is a dark, moderate orange. Relative luminance 0.043; OKLCH L 35.7% C 0.076 H 51.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#5B2F12
RGBrgb(91, 47, 18)
HSLhsl(24, 67%, 21%)
HSVhsv(24, 80%, 36%)
CMYKcmyk(0%, 48.4%, 80.2%, 64.3%)
CIE-LABlab(24.64, 17.51, 26.63)
CIE-LCHlch(24.64, 31.87, 56.68°)
OKLaboklab(35.69% 0.0478 0.0592)
OKLCHoklch(35.69% 0.076 51.1)
XYZxyz(5.4406, 4.3015, 1.1159)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2F12 #123E5B
analogous
#5B121A #5B2F12 #5B5412
triadic
#5B2F12 #125B2F #2F125B
tetradic
#5B2F12 #1A5B12 #123E5B #54125B
square
#5B2F12 #1A5B12 #123E5B #54125B
split-complementary
#5B2F12 #125B54 #121A5B
monochromatic
#1A0D05 #281508 #5B2F12 #8E491C #C16426

Accessibility & contrast

On white

11.29
#5B2F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B2F12
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2F12#FFFFFF#000000##FFFFFF
##5B2F121.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340F
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#642629
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5b2f12;
/* rgb */ color: rgb(91, 47, 18);
/* oklch */ color: oklch(35.7% 0.076 51.1);
Tailwind
colors: {
  custom: {
    50: '#8e6851',
    500: '#5b2f12',
    950: '#000000',
  },
}
SCSS
$custom: #5b2f12;
$custom-light: #8e6851;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2f12",
  "rgb": {
    "r": 91,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 23.836,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.35689,
    "c": 0.07608,
    "h": 51.1
  },
  "luminance": 0.04301
}

Semantic roles & 50–950 ramp

primary
#5B2F12
secondary
#356E93
accent
#A6EA3E
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5B2F12

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

Preview Lab → · Contrast checker → · Palette generator →

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