#5F4017#5F4017

#5F4017 is a dark, moderate orange. Relative luminance 0.062; OKLCH L 39.8% C 0.070 H 70.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#5F4017
RGBrgb(95, 64, 23)
HSLhsl(34, 61%, 23%)
HSVhsv(34, 76%, 37%)
CMYKcmyk(0%, 32.6%, 75.8%, 62.7%)
CIE-LABlab(29.82, 9.13, 29.54)
CIE-LCHlch(29.82, 30.92, 72.82°)
OKLaboklab(39.83% 0.0234 0.0664)
OKLCHoklch(39.83% 0.07 70.6)
XYZxyz(6.7078, 6.1621, 1.6466)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4017 #17365F
analogous
#5F1C17 #5F4017 #5A5F17
triadic
#5F4017 #175F40 #40175F
tetradic
#5F4017 #175F1C #17365F #5F175A
square
#5F4017 #175F1C #17365F #5F175A
split-complementary
#5F4017 #175A5F #1C175F
monochromatic
#191106 #2E1F0B #5F4017 #906123 #C2822F

Accessibility & contrast

On white

9.41
#5F4017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5F4017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4017
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4017#FFFFFF#000000##FFFFFF
##5F40171.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4212
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#683837
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5f4017;
/* rgb */ color: rgb(95, 64, 23);
/* oklch */ color: oklch(39.8% 0.070 70.6);
Tailwind
colors: {
  custom: {
    50: '#907456',
    500: '#5f4017',
    950: '#000000',
  },
}
SCSS
$custom: #5f4017;
$custom-light: #907456;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4017",
  "rgb": {
    "r": 95,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 34.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39834,
    "c": 0.07036,
    "h": 70.6
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#5F4017
secondary
#3C6396
accent
#89E444
background
#F9F7F5
surface
#F1EDE9
border
#CBC8C5
text
#0D0803
muted
#7E7B78

Preview Lab

Preview with #5F4017

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

Preview Lab → · Contrast checker → · Palette generator →

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