#5F4817#5F4817

#5F4817 is a dark, moderate orange. Relative luminance 0.071; OKLCH L 41.6% C 0.072 H 83.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#5F4817
RGBrgb(95, 72, 23)
HSLhsl(41, 61%, 23%)
HSVhsv(41, 76%, 37%)
CMYKcmyk(0%, 24.2%, 75.8%, 62.7%)
CIE-LABlab(32.10, 4.15, 31.91)
CIE-LCHlch(32.10, 32.18, 82.59°)
OKLaboklab(41.62% 0.0088 0.0714)
OKLCHoklch(41.62% 0.072 83)
XYZxyz(7.1918, 7.1300, 1.8079)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4817 #172E5F
analogous
#5F2417 #5F4817 #525F17
triadic
#5F4817 #175F48 #48175F
tetradic
#5F4817 #175F24 #172E5F #5F1752
square
#5F4817 #175F24 #172E5F #5F1752
split-complementary
#5F4817 #17525F #24175F
monochromatic
#191306 #2E230B #5F4817 #906D23 #C2932F

Accessibility & contrast

On white

8.66
#5F4817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5F4817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4817
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4817#FFFFFF#000000##FFFFFF
##5F48171.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524811
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#68413E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5f4817;
/* rgb */ color: rgb(95, 72, 23);
/* oklch */ color: oklch(41.6% 0.072 83.0);
Tailwind
colors: {
  custom: {
    50: '#8f7a57',
    500: '#5f4817',
    950: '#000000',
  },
}
SCSS
$custom: #5f4817;
$custom-light: #8f7a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4817",
  "rgb": {
    "r": 95,
    "g": 72,
    "b": 23
  },
  "hsl": {
    "h": 40.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4162,
    "c": 0.07195,
    "h": 83
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#5F4817
secondary
#3C5996
accent
#77E444
background
#F9F7F5
surface
#F1EDE9
border
#CBC8C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4817

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

Preview Lab → · Contrast checker → · Palette generator →

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