#5F310F#5F310F

#5F310F is a dark, moderate orange. Relative luminance 0.047; OKLCH L 36.7% C 0.081 H 53.0°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#5F310F
RGBrgb(95, 49, 15)
HSLhsl(26, 73%, 22%)
HSVhsv(26, 84%, 37%)
CMYKcmyk(0%, 48.4%, 84.2%, 62.7%)
CIE-LABlab(25.76, 18.03, 29.54)
CIE-LCHlch(25.76, 34.61, 58.60°)
OKLaboklab(36.67% 0.0485 0.0644)
OKLCHoklch(36.67% 0.081 53)
XYZxyz(5.9044, 4.6647, 1.0413)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F310F #0F3D5F
analogous
#5F0F15 #5F310F #5F590F
triadic
#5F310F #0F5F31 #310F5F
tetradic
#5F310F #155F0F #0F3D5F #590F5F
square
#5F310F #155F0F #0F3D5F #590F5F
split-complementary
#5F310F #0F5F59 #0F155F
monochromatic
#1A0E04 #2A1607 #5F310F #944C17 #C96820

Accessibility & contrast

On white

10.87
#5F310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5F310F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F310F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F310F#FFFFFF#000000##FFFFFF
##5F310F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E370A
Deuteranopia (green-blind)
#49410F
Tritanopia (blue-blind)
#69272A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5f310f;
/* rgb */ color: rgb(95, 49, 15);
/* oklch */ color: oklch(36.7% 0.081 53.0);
Tailwind
colors: {
  custom: {
    50: '#916950',
    500: '#5f310f',
    950: '#000000',
  },
}
SCSS
$custom: #5f310f;
$custom-light: #916950;
$custom-dark: #000000;
JSON
{
  "hex": "#5f310f",
  "rgb": {
    "r": 95,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 25.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.36667,
    "c": 0.08058,
    "h": 53
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#5F310F
secondary
#326D98
accent
#A2EF38
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0E0602
muted
#7E7A78

Preview Lab

Preview with #5F310F

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

Preview Lab → · Contrast checker → · Palette generator →

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