#5F331B#5F331B

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

Color values

HEX#5F331B
RGBrgb(95, 51, 27)
HSLhsl(21, 56%, 24%)
HSVhsv(21, 72%, 37%)
CMYKcmyk(0%, 46.3%, 71.6%, 62.7%)
CIE-LABlab(26.39, 17.48, 23.52)
CIE-LCHlch(26.39, 29.31, 53.38°)
OKLaboklab(37.2% 0.049 0.0543)
OKLCHoklch(37.2% 0.073 47.9)
XYZxyz(6.1015, 4.8803, 1.6574)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F331B #1B475F
analogous
#5F1B25 #5F331B #5F551B
triadic
#5F331B #1B5F33 #331B5F
tetradic
#5F331B #255F1B #1B475F #551B5F
square
#5F331B #255F1B #1B475F #551B5F
split-complementary
#5F331B #1B5F55 #1B255F
monochromatic
#180D07 #2F190D #5F331B #8F4D29 #BE6636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F331B#FFFFFF#000000##FFFFFF
##5F331B1.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)
#3F3819
Deuteranopia (green-blind)
#4A421B
Tritanopia (blue-blind)
#682A2D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5f331b;
/* rgb */ color: rgb(95, 51, 27);
/* oklch */ color: oklch(37.2% 0.073 47.9);
Tailwind
colors: {
  custom: {
    50: '#906b58',
    500: '#5f331b',
    950: '#000000',
  },
}
SCSS
$custom: #5f331b;
$custom-light: #906b58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f331b",
  "rgb": {
    "r": 95,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 21.176,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.37196,
    "c": 0.0731,
    "h": 47.9
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#5F331B
secondary
#417795
accent
#AADF49
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5F331B

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

Preview Lab → · Contrast checker → · Palette generator →

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