#5F331A#5F331A

#5F331A is a dark, moderate orange. Relative luminance 0.049; OKLCH L 37.2% C 0.074 H 48.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#5F331A
RGBrgb(95, 51, 26)
HSLhsl(22, 57%, 24%)
HSVhsv(22, 73%, 37%)
CMYKcmyk(0%, 46.3%, 72.6%, 62.7%)
CIE-LABlab(26.38, 17.41, 24.10)
CIE-LCHlch(26.38, 29.74, 54.15°)
OKLaboklab(37.18% 0.0486 0.0553)
OKLCHoklch(37.18% 0.074 48.7)
XYZxyz(6.0901, 4.8758, 1.5975)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F331A #1A465F
analogous
#5F1A23 #5F331A #5F551A
triadic
#5F331A #1A5F33 #331A5F
tetradic
#5F331A #235F1A #1A465F #551A5F
square
#5F331A #235F1A #1A465F #551A5F
split-complementary
#5F331A #1A5F55 #1A235F
monochromatic
#180D07 #2F190D #5F331A #8F4D27 #BF6734

Accessibility & contrast

On white

10.63
#5F331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5F331A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F331A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F331A#FFFFFF#000000##FFFFFF
##5F331A1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3817
Deuteranopia (green-blind)
#4A421A
Tritanopia (blue-blind)
#682A2D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5f331a;
/* rgb */ color: rgb(95, 51, 26);
/* oklch */ color: oklch(37.2% 0.074 48.7);
Tailwind
colors: {
  custom: {
    50: '#906b57',
    500: '#5f331a',
    950: '#000000',
  },
}
SCSS
$custom: #5f331a;
$custom-light: #906b57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f331a",
  "rgb": {
    "r": 95,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 21.739,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.37182,
    "c": 0.07364,
    "h": 48.7
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#5F331A
secondary
#407695
accent
#A9E048
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5F331A

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

Preview Lab → · Contrast checker → · Palette generator →

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