#5F2E1B#5F2E1B

#5F2E1B is a dark, moderate orange. Relative luminance 0.045; OKLCH L 36.3% C 0.077 H 41.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#5F2E1B
RGBrgb(95, 46, 27)
HSLhsl(17, 56%, 24%)
HSVhsv(17, 72%, 37%)
CMYKcmyk(0%, 51.6%, 71.6%, 62.7%)
CIE-LABlab(25.16, 20.51, 22.09)
CIE-LCHlch(25.16, 30.15, 47.13°)
OKLaboklab(36.25% 0.0582 0.0511)
OKLCHoklch(36.25% 0.077 41.3)
XYZxyz(5.8947, 4.4667, 1.5884)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2E1B #1B4C5F
analogous
#5F1B2A #5F2E1B #5F501B
triadic
#5F2E1B #1B5F2E #2E1B5F
tetradic
#5F2E1B #2A5F1B #1B4C5F #501B5F
square
#5F2E1B #2A5F1B #1B4C5F #501B5F
split-complementary
#5F2E1B #1B5F50 #1B2A5F
monochromatic
#180C07 #2F170D #5F2E1B #8F4529 #BE5C36

Accessibility & contrast

On white

11.09
#5F2E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5F2E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2E1B
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2E1B#FFFFFF#000000##FFFFFF
##5F2E1B1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3519
Deuteranopia (green-blind)
#47401A
Tritanopia (blue-blind)
#68252A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5f2e1b;
/* rgb */ color: rgb(95, 46, 27);
/* oklch */ color: oklch(36.3% 0.077 41.3);
Tailwind
colors: {
  custom: {
    50: '#916858',
    500: '#5f2e1b',
    950: '#000000',
  },
}
SCSS
$custom: #5f2e1b;
$custom-light: #916858;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2e1b",
  "rgb": {
    "r": 95,
    "g": 46,
    "b": 27
  },
  "hsl": {
    "h": 16.765,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.36251,
    "c": 0.07748,
    "h": 41.3
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#5F2E1B
secondary
#417D95
accent
#B5DF49
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5F2E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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