#5B240F#5B240F

#5B240F is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.7% C 0.087 H 40.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#5B240F
RGBrgb(91, 36, 15)
HSLhsl(17, 72%, 21%)
HSVhsv(17, 84%, 36%)
CMYKcmyk(0%, 60.4%, 83.5%, 64.3%)
CIE-LABlab(22.02, 23.86, 25.57)
CIE-LCHlch(22.02, 34.98, 46.98°)
OKLaboklab(33.67% 0.0665 0.0562)
OKLCHoklch(33.67% 0.087 40.2)
XYZxyz(5.0320, 3.5211, 0.8665)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B240F #0F465B
analogous
#5B0F20 #5B240F #5B4A0F
triadic
#5B240F #0F5B24 #240F5B
tetradic
#5B240F #205B0F #0F465B #4A0F5B
square
#5B240F #205B0F #0F465B #4A0F5B
split-complementary
#5B240F #0F5B4A #0F205B
monochromatic
#1A0A04 #260F06 #5B240F #903918 #C44E20

Accessibility & contrast

On white

12.32
#5B240F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5B240F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B240F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B240F#FFFFFF#000000##FFFFFF
##5B240F1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0C
Deuteranopia (green-blind)
#41390D
Tritanopia (blue-blind)
#651820
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5b240f;
/* rgb */ color: rgb(91, 36, 15);
/* oklch */ color: oklch(33.7% 0.087 40.2);
Tailwind
colors: {
  custom: {
    50: '#8f604e',
    500: '#5b240f',
    950: '#000000',
  },
}
SCSS
$custom: #5b240f;
$custom-light: #8f604e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b240f",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 15
  },
  "hsl": {
    "h": 16.579,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33675,
    "c": 0.08707,
    "h": 40.2
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#5B240F
secondary
#317995
accent
#BCEE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5B240F

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

Preview Lab → · Contrast checker → · Palette generator →

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