#5F2F17#5F2F17

#5F2F17 is a dark, moderate orange. Relative luminance 0.045; OKLCH L 36.4% C 0.078 H 45.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#5F2F17
RGBrgb(95, 47, 23)
HSLhsl(20, 61%, 23%)
HSVhsv(20, 76%, 37%)
CMYKcmyk(0%, 50.5%, 75.8%, 62.7%)
CIE-LABlab(25.35, 19.65, 24.72)
CIE-LCHlch(25.35, 31.58, 51.52°)
OKLaboklab(36.38% 0.0548 0.0561)
OKLCHoklch(36.38% 0.078 45.6)
XYZxyz(5.8910, 4.5285, 1.3743)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2F17 #17475F
analogous
#5F1723 #5F2F17 #5F5317
triadic
#5F2F17 #175F2F #2F175F
tetradic
#5F2F17 #235F17 #17475F #53175F
square
#5F2F17 #235F17 #17475F #53175F
split-complementary
#5F2F17 #175F53 #17235F
monochromatic
#190C06 #2E170B #5F2F17 #904723 #C2602F

Accessibility & contrast

On white

11.02
#5F2F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5F2F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2F17
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2F17#FFFFFF#000000##FFFFFF
##5F2F171.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3614
Deuteranopia (green-blind)
#484016
Tritanopia (blue-blind)
#69252A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5f2f17;
/* rgb */ color: rgb(95, 47, 23);
/* oklch */ color: oklch(36.4% 0.078 45.6);
Tailwind
colors: {
  custom: {
    50: '#916855',
    500: '#5f2f17',
    950: '#000000',
  },
}
SCSS
$custom: #5f2f17;
$custom-light: #916855;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2f17",
  "rgb": {
    "r": 95,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 20,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36378,
    "c": 0.07841,
    "h": 45.6
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#5F2F17
secondary
#3C7896
accent
#AFE444
background
#F9F6F4
surface
#F2EBE8
border
#CCC6C4
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5F2F17

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

Preview Lab → · Contrast checker → · Palette generator →

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