#5E310F#5E310F

#5E310F is a dark, moderate orange. Relative luminance 0.046; OKLCH L 36.5% C 0.079 H 53.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#5E310F
RGBrgb(94, 49, 15)
HSLhsl(26, 72%, 21%)
HSVhsv(26, 84%, 37%)
CMYKcmyk(0%, 47.9%, 84%, 63.1%)
CIE-LABlab(25.60, 17.56, 29.34)
CIE-LCHlch(25.60, 34.19, 59.09°)
OKLaboklab(36.51% 0.0471 0.064)
OKLCHoklch(36.51% 0.079 53.6)
XYZxyz(5.8012, 4.6115, 1.0364)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E310F #0F3C5E
analogous
#5E0F15 #5E310F #5E590F
triadic
#5E310F #0F5E31 #310F5E
tetradic
#5E310F #155E0F #0F3C5E #590F5E
square
#5E310F #155E0F #0F3C5E #590F5E
split-complementary
#5E310F #0F5E59 #0F155E
monochromatic
#1A0E04 #291507 #5E310F #934D17 #C86820

Accessibility & contrast

On white

10.92
#5E310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5E310F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E310F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E310F#FFFFFF#000000##FFFFFF
##5E310F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e310f;
/* rgb */ color: rgb(94, 49, 15);
/* oklch */ color: oklch(36.5% 0.079 53.6);
Tailwind
colors: {
  custom: {
    50: '#916950',
    500: '#5e310f',
    950: '#000000',
  },
}
SCSS
$custom: #5e310f;
$custom-light: #916950;
$custom-dark: #000000;
JSON
{
  "hex": "#5e310f",
  "rgb": {
    "r": 94,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 25.823,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.36512,
    "c": 0.07947,
    "h": 53.6
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#5E310F
secondary
#316B97
accent
#A1EF39
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5E310F

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

Preview Lab → · Contrast checker → · Palette generator →

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