#5F401E#5F401E

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

Color values

HEX#5F401E
RGBrgb(95, 64, 30)
HSLhsl(31, 52%, 25%)
HSVhsv(31, 68%, 37%)
CMYKcmyk(0%, 32.6%, 68.4%, 62.7%)
CIE-LABlab(29.90, 9.61, 25.79)
CIE-LCHlch(29.90, 27.52, 69.56°)
OKLaboklab(39.92% 0.0259 0.0596)
OKLCHoklch(39.92% 0.065 66.5)
XYZxyz(6.7875, 6.1940, 2.0661)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F401E #1E3D5F
analogous
#5F201E #5F401E #5E5F1E
triadic
#5F401E #1E5F40 #401E5F
tetradic
#5F401E #1E5F20 #1E3D5F #5F1E5E
square
#5F401E #1E5F20 #1E3D5F #5F1E5E
split-complementary
#5F401E #1E5E5F #201E5F
monochromatic
#171007 #30210F #5F401E #8E5F2D #BC7F3B

Accessibility & contrast

On white

9.38
#5F401E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F401E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F401E#FFFFFF#000000##FFFFFF
##5F401E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421B
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#683938
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5f401e;
/* rgb */ color: rgb(95, 64, 30);
/* oklch */ color: oklch(39.9% 0.065 66.5);
Tailwind
colors: {
  custom: {
    50: '#8f745b',
    500: '#5f401e',
    950: '#000000',
  },
}
SCSS
$custom: #5f401e;
$custom-light: #8f745b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f401e",
  "rgb": {
    "r": 95,
    "g": 64,
    "b": 30
  },
  "hsl": {
    "h": 31.385,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39921,
    "c": 0.06503,
    "h": 66.5
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#5F401E
secondary
#456B94
accent
#91DB4C
background
#F9F7F5
surface
#F1EDE9
border
#CBC8C5
text
#0D0804
muted
#7E7B79

Preview Lab

Preview with #5F401E

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

Preview Lab → · Contrast checker → · Palette generator →

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