#5F401C#5F401C

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

Color values

HEX#5F401C
RGBrgb(95, 64, 28)
HSLhsl(32, 54%, 24%)
HSVhsv(32, 71%, 37%)
CMYKcmyk(0%, 32.6%, 70.5%, 62.7%)
CIE-LABlab(29.87, 9.46, 26.89)
CIE-LCHlch(29.87, 28.51, 70.61°)
OKLaboklab(39.89% 0.0252 0.0617)
OKLCHoklch(39.89% 0.067 67.8)
XYZxyz(6.7628, 6.1841, 1.9359)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F401C #1C3B5F
analogous
#5F1F1C #5F401C #5D5F1C
triadic
#5F401C #1C5F40 #401C5F
tetradic
#5F401C #1C5F1F #1C3B5F #5F1C5D
square
#5F401C #1C5F1F #1C3B5F #5F1C5D
split-complementary
#5F401C #1C5D5F #1F1C5F
monochromatic
#181007 #30200E #5F401C #8E602A #BE8038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F401C#FFFFFF#000000##FFFFFF
##5F401C1.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)
#4A4218
Deuteranopia (green-blind)
#52491D
Tritanopia (blue-blind)
#683938
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5f401c;
/* rgb */ color: rgb(95, 64, 28);
/* oklch */ color: oklch(39.9% 0.067 67.8);
Tailwind
colors: {
  custom: {
    50: '#8f745a',
    500: '#5f401c',
    950: '#000000',
  },
}
SCSS
$custom: #5f401c;
$custom-light: #8f745a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f401c",
  "rgb": {
    "r": 95,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 32.239,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.39894,
    "c": 0.06661,
    "h": 67.8
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#5F401C
secondary
#426894
accent
#8EDE4A
background
#F9F7F5
surface
#F1EDE9
border
#CBC8C5
text
#0D0804
muted
#7E7B79

Preview Lab

Preview with #5F401C

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

Preview Lab → · Contrast checker → · Palette generator →

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