#5F311A#5F311A

#5F311A is a dark, moderate orange. Relative luminance 0.047; OKLCH L 36.8% C 0.075 H 46.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#5F311A
RGBrgb(95, 49, 26)
HSLhsl(20, 57%, 24%)
HSVhsv(20, 73%, 37%)
CMYKcmyk(0%, 48.4%, 72.6%, 62.7%)
CIE-LABlab(25.88, 18.63, 23.53)
CIE-LCHlch(25.88, 30.02, 51.63°)
OKLaboklab(36.8% 0.0523 0.0541)
OKLCHoklch(36.8% 0.075 46)
XYZxyz(6.0046, 4.7048, 1.5690)
Luminance0.0470 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F311A #1A485F
analogous
#5F1A25 #5F311A #5F531A
triadic
#5F311A #1A5F31 #311A5F
tetradic
#5F311A #255F1A #1A485F #531A5F
square
#5F311A #255F1A #1A485F #531A5F
split-complementary
#5F311A #1A5F53 #1A255F
monochromatic
#180C07 #2F180D #5F311A #8F4A27 #BF6334

Accessibility & contrast

On white

10.82
#5F311A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5F311A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F311A
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F311A#FFFFFF#000000##FFFFFF
##5F311A1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3718
Deuteranopia (green-blind)
#494119
Tritanopia (blue-blind)
#68282C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5f311a;
/* rgb */ color: rgb(95, 49, 26);
/* oklch */ color: oklch(36.8% 0.075 46.0);
Tailwind
colors: {
  custom: {
    50: '#916a57',
    500: '#5f311a',
    950: '#000000',
  },
}
SCSS
$custom: #5f311a;
$custom-light: #916a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f311a",
  "rgb": {
    "r": 95,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 20,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36797,
    "c": 0.07524,
    "h": 46
  },
  "luminance": 0.04704
}

Semantic roles & 50–950 ramp

primary
#5F311A
secondary
#407995
accent
#ADE048
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5F311A

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

Preview Lab → · Contrast checker → · Palette generator →

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