#5B220F#5B220F

#5B220F is a dark, moderate orange. Relative luminance 0.034; OKLCH L 33.4% C 0.089 H 38.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#5B220F
RGBrgb(91, 34, 15)
HSLhsl(15, 72%, 21%)
HSVhsv(15, 84%, 36%)
CMYKcmyk(0%, 62.6%, 83.5%, 64.3%)
CIE-LABlab(21.59, 24.98, 25.11)
CIE-LCHlch(21.59, 35.42, 45.16°)
OKLaboklab(33.35% 0.0699 0.0553)
OKLCHoklch(33.35% 0.089 38.3)
XYZxyz(4.9732, 3.4034, 0.8469)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B220F #0F485B
analogous
#5B0F22 #5B220F #5B480F
triadic
#5B220F #0F5B22 #220F5B
tetradic
#5B220F #225B0F #0F485B #480F5B
square
#5B220F #225B0F #0F485B #480F5B
split-complementary
#5B220F #0F5B48 #0F225B
monochromatic
#1A0A04 #260E06 #5B220F #903618 #C44920

Accessibility & contrast

On white

12.50
#5B220F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5B220F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B220F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B220F#FFFFFF#000000##FFFFFF
##5B220F1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0D
Deuteranopia (green-blind)
#40390D
Tritanopia (blue-blind)
#65151E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5b220f;
/* rgb */ color: rgb(91, 34, 15);
/* oklch */ color: oklch(33.4% 0.089 38.3);
Tailwind
colors: {
  custom: {
    50: '#8f5f4e',
    500: '#5b220f',
    950: '#000000',
  },
}
SCSS
$custom: #5b220f;
$custom-light: #8f5f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b220f",
  "rgb": {
    "r": 91,
    "g": 34,
    "b": 15
  },
  "hsl": {
    "h": 15,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3335,
    "c": 0.08911,
    "h": 38.3
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#5B220F
secondary
#317C95
accent
#C1EE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0501
muted
#7E7977

Preview Lab

Preview with #5B220F

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

Preview Lab → · Contrast checker → · Palette generator →

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