#5B340F#5B340F

#5B340F is a dark, moderate orange. Relative luminance 0.047; OKLCH L 36.7% C 0.075 H 59.8°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#5B340F
RGBrgb(91, 52, 15)
HSLhsl(29, 72%, 21%)
HSVhsv(29, 84%, 36%)
CMYKcmyk(0%, 42.9%, 83.5%, 64.3%)
CIE-LABlab(25.91, 14.26, 29.48)
CIE-LCHlch(25.91, 32.74, 64.18°)
OKLaboklab(36.65% 0.0376 0.0645)
OKLCHoklch(36.65% 0.075 59.8)
XYZxyz(5.6291, 4.7152, 1.0655)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B340F #0F365B
analogous
#5B0F10 #5B340F #5B5A0F
triadic
#5B340F #0F5B34 #340F5B
tetradic
#5B340F #105B0F #0F365B #5A0F5B
square
#5B340F #105B0F #0F365B #5A0F5B
split-complementary
#5B340F #0F5B5A #0F105B
monochromatic
#1A0F04 #261606 #5B340F #905218 #C47020

Accessibility & contrast

On white

10.81
#5B340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5B340F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B340F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B340F#FFFFFF#000000##FFFFFF
##5B340F1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380A
Deuteranopia (green-blind)
#49410F
Tritanopia (blue-blind)
#642B2C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5b340f;
/* rgb */ color: rgb(91, 52, 15);
/* oklch */ color: oklch(36.7% 0.075 59.8);
Tailwind
colors: {
  custom: {
    50: '#8e6b50',
    500: '#5b340f',
    950: '#000000',
  },
}
SCSS
$custom: #5b340f;
$custom-light: #8e6b50;
$custom-dark: #000000;
JSON
{
  "hex": "#5b340f",
  "rgb": {
    "r": 91,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 29.211,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.36653,
    "c": 0.07463,
    "h": 59.8
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#5B340F
secondary
#316495
accent
#96EE39
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5B340F

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

Preview Lab → · Contrast checker → · Palette generator →

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