#5F3117#5F3117

#5F3117 is a dark, moderate orange. Relative luminance 0.047; OKLCH L 36.8% C 0.077 H 48.2°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#5F3117
RGBrgb(95, 49, 23)
HSLhsl(22, 61%, 23%)
HSVhsv(22, 76%, 37%)
CMYKcmyk(0%, 48.4%, 75.8%, 62.7%)
CIE-LABlab(25.84, 18.45, 25.26)
CIE-LCHlch(25.84, 31.28, 53.86°)
OKLaboklab(36.76% 0.0512 0.0572)
OKLCHoklch(36.76% 0.077 48.2)
XYZxyz(5.9728, 4.6920, 1.4016)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3117 #17455F
analogous
#5F1721 #5F3117 #5F5517
triadic
#5F3117 #175F31 #31175F
tetradic
#5F3117 #215F17 #17455F #55175F
square
#5F3117 #215F17 #17455F #55175F
split-complementary
#5F3117 #175F55 #17215F
monochromatic
#190D06 #2E180B #5F3117 #904A23 #C2642F

Accessibility & contrast

On white

10.83
#5F3117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5F3117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3117
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3117#FFFFFF#000000##FFFFFF
##5F31171.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3714
Deuteranopia (green-blind)
#494116
Tritanopia (blue-blind)
#68282B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5f3117;
/* rgb */ color: rgb(95, 49, 23);
/* oklch */ color: oklch(36.8% 0.077 48.2);
Tailwind
colors: {
  custom: {
    50: '#916a55',
    500: '#5f3117',
    950: '#000000',
  },
}
SCSS
$custom: #5f3117;
$custom-light: #916a55;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3117",
  "rgb": {
    "r": 95,
    "g": 49,
    "b": 23
  },
  "hsl": {
    "h": 21.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36756,
    "c": 0.07676,
    "h": 48.2
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

primary
#5F3117
secondary
#3C7596
accent
#AAE444
background
#F9F6F5
surface
#F2EBE8
border
#CCC6C4
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5F3117

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

Preview Lab → · Contrast checker → · Palette generator →

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