#5B2A0F#5B2A0F

#5B2A0F is a dark, moderate orange. Relative luminance 0.039; OKLCH L 34.7% C 0.081 H 46.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#5B2A0F
RGBrgb(91, 42, 15)
HSLhsl(21, 72%, 21%)
HSVhsv(21, 84%, 36%)
CMYKcmyk(0%, 53.8%, 83.5%, 64.3%)
CIE-LABlab(23.39, 20.39, 26.99)
CIE-LCHlch(23.39, 33.83, 52.94°)
OKLaboklab(34.72% 0.0559 0.0592)
OKLCHoklch(34.72% 0.081 46.6)
XYZxyz(5.2291, 3.9152, 0.9322)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2A0F #0F405B
analogous
#5B0F1A #5B2A0F #5B500F
triadic
#5B2A0F #0F5B2A #2A0F5B
tetradic
#5B2A0F #1A5B0F #0F405B #500F5B
square
#5B2A0F #1A5B0F #0F405B #500F5B
split-complementary
#5B2A0F #0F5B50 #0F1A5B
monochromatic
#1A0C04 #261206 #5B2A0F #904218 #C45A20

Accessibility & contrast

On white

11.78
#5B2A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5B2A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2A0F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2A0F#FFFFFF#000000##FFFFFF
##5B2A0F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310B
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#641F24
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5b2a0f;
/* rgb */ color: rgb(91, 42, 15);
/* oklch */ color: oklch(34.7% 0.081 46.6);
Tailwind
colors: {
  custom: {
    50: '#8f644f',
    500: '#5b2a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b2a0f;
$custom-light: #8f644f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2a0f",
  "rgb": {
    "r": 91,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 21.316,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34718,
    "c": 0.08141,
    "h": 46.6
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#5B2A0F
secondary
#317195
accent
#AEEE39
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0502
muted
#7E7A78

Preview Lab

Preview with #5B2A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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