#5F421B#5F421B

#5F421B is a dark, moderate orange. Relative luminance 0.064; OKLCH L 40.3% C 0.067 H 71.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#5F421B
RGBrgb(95, 66, 27)
HSLhsl(34, 56%, 24%)
HSVhsv(34, 72%, 37%)
CMYKcmyk(0%, 30.5%, 71.6%, 62.7%)
CIE-LABlab(30.42, 8.14, 28.05)
CIE-LCHlch(30.42, 29.21, 73.82°)
OKLaboklab(40.32% 0.0211 0.064)
OKLCHoklch(40.32% 0.067 71.8)
XYZxyz(6.8658, 6.4090, 1.9122)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F421B #1B385F
analogous
#5F201B #5F421B #5A5F1B
triadic
#5F421B #1B5F42 #421B5F
tetradic
#5F421B #1B5F20 #1B385F #5F1B5A
square
#5F421B #1B5F20 #1B385F #5F1B5A
split-complementary
#5F421B #1B5A5F #201B5F
monochromatic
#181107 #2F210D #5F421B #8F6329 #BE8436

Accessibility & contrast

On white

9.20
#5F421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5F421B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F421B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F421B#FFFFFF#000000##FFFFFF
##5F421B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4417
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#683B39
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5f421b;
/* rgb */ color: rgb(95, 66, 27);
/* oklch */ color: oklch(40.3% 0.067 71.8);
Tailwind
colors: {
  custom: {
    50: '#8f7659',
    500: '#5f421b',
    950: '#000000',
  },
}
SCSS
$custom: #5f421b;
$custom-light: #8f7659;
$custom-dark: #000000;
JSON
{
  "hex": "#5f421b",
  "rgb": {
    "r": 95,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 34.412,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.40319,
    "c": 0.06738,
    "h": 71.8
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#5F421B
secondary
#416595
accent
#89DF49
background
#F9F7F5
surface
#F1EDE9
border
#CBC8C5
text
#0D0803
muted
#7E7B78

Preview Lab

Preview with #5F421B

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

Preview Lab → · Contrast checker → · Palette generator →

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