#5B270F#5B270F

#5B270F is a dark, moderate orange. Relative luminance 0.037; OKLCH L 34.2% C 0.084 H 43.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#5B270F
RGBrgb(91, 39, 15)
HSLhsl(19, 72%, 21%)
HSVhsv(19, 84%, 36%)
CMYKcmyk(0%, 57.1%, 83.5%, 64.3%)
CIE-LABlab(22.69, 22.15, 26.28)
CIE-LCHlch(22.69, 34.37, 49.87°)
OKLaboklab(34.18% 0.0613 0.0577)
OKLCHoklch(34.18% 0.084 43.3)
XYZxyz(5.1266, 3.7103, 0.8980)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B270F #0F435B
analogous
#5B0F1D #5B270F #5B4D0F
triadic
#5B270F #0F5B27 #270F5B
tetradic
#5B270F #1D5B0F #0F435B #4D0F5B
square
#5B270F #1D5B0F #0F435B #4D0F5B
split-complementary
#5B270F #0F5B4D #0F1D5B
monochromatic
#1A0B04 #261006 #5B270F #903E18 #C45420

Accessibility & contrast

On white

12.06
#5B270F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5B270F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B270F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B270F#FFFFFF#000000##FFFFFF
##5B270F1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0C
Deuteranopia (green-blind)
#423B0E
Tritanopia (blue-blind)
#651C22
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b270f;
/* rgb */ color: rgb(91, 39, 15);
/* oklch */ color: oklch(34.2% 0.084 43.3);
Tailwind
colors: {
  custom: {
    50: '#8f624f',
    500: '#5b270f',
    950: '#000000',
  },
}
SCSS
$custom: #5b270f;
$custom-light: #8f624f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b270f",
  "rgb": {
    "r": 91,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 18.947,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34184,
    "c": 0.08413,
    "h": 43.3
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#5B270F
secondary
#317595
accent
#B5EE39
background
#F9F5F4
surface
#F2EAE7
border
#CCC6C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5B270F

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

Preview Lab → · Contrast checker → · Palette generator →

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