#5F401B#5F401B

#5F401B is a dark, moderate orange. Relative luminance 0.062; OKLCH L 39.9% C 0.067 H 68.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#5F401B
RGBrgb(95, 64, 27)
HSLhsl(33, 56%, 24%)
HSVhsv(33, 72%, 37%)
CMYKcmyk(0%, 32.6%, 71.6%, 62.7%)
CIE-LABlab(29.86, 9.39, 27.43)
CIE-LCHlch(29.86, 29.00, 71.10°)
OKLaboklab(39.88% 0.0248 0.0627)
OKLCHoklch(39.88% 0.067 68.4)
XYZxyz(6.7510, 6.1794, 1.8739)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F401B #1B3A5F
analogous
#5F1E1B #5F401B #5C5F1B
triadic
#5F401B #1B5F40 #401B5F
tetradic
#5F401B #1B5F1E #1B3A5F #5F1B5C
square
#5F401B #1B5F1E #1B3A5F #5F1B5C
split-complementary
#5F401B #1B5C5F #1E1B5F
monochromatic
#181007 #2F200D #5F401B #8F6029 #BE8036

Accessibility & contrast

On white

9.39
#5F401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5F401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F401B
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F401B#FFFFFF#000000##FFFFFF
##5F401B1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4217
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#683938
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5f401b;
/* rgb */ color: rgb(95, 64, 27);
/* oklch */ color: oklch(39.9% 0.067 68.4);
Tailwind
colors: {
  custom: {
    50: '#907459',
    500: '#5f401b',
    950: '#000000',
  },
}
SCSS
$custom: #5f401b;
$custom-light: #907459;
$custom-dark: #000000;
JSON
{
  "hex": "#5f401b",
  "rgb": {
    "r": 95,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 32.647,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.39881,
    "c": 0.06739,
    "h": 68.4
  },
  "luminance": 0.06179
}

Semantic roles & 50–950 ramp

primary
#5F401B
secondary
#416795
accent
#8DDF49
background
#F9F7F5
surface
#F1EDE9
border
#CBC8C5
text
#0D0803
muted
#7E7B78

Preview Lab

Preview with #5F401B

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

Preview Lab → · Contrast checker → · Palette generator →

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