#5A310F#5A310F

#5A310F is a dark, moderate orange. Relative luminance 0.044; OKLCH L 35.9% C 0.075 H 56.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#5A310F
RGBrgb(90, 49, 15)
HSLhsl(27, 71%, 21%)
HSVhsv(27, 83%, 35%)
CMYKcmyk(0%, 45.6%, 83.3%, 64.7%)
CIE-LABlab(24.97, 15.64, 28.51)
CIE-LCHlch(24.97, 32.52, 61.24°)
OKLaboklab(35.9% 0.0418 0.0625)
OKLCHoklch(35.9% 0.075 56.3)
XYZxyz(5.4015, 4.4054, 1.0177)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A310F #0F385A
analogous
#5A0F12 #5A310F #5A560F
triadic
#5A310F #0F5A31 #310F5A
tetradic
#5A310F #125A0F #0F385A #560F5A
square
#5A310F #125A0F #0F385A #560F5A
split-complementary
#5A310F #0F5A56 #0F125A
monochromatic
#1A0E04 #261406 #5A310F #8E4E18 #C36A20

Accessibility & contrast

On white

11.16
#5A310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5A310F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A310F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A310F#FFFFFF#000000##FFFFFF
##5A310F1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360A
Deuteranopia (green-blind)
#473F0F
Tritanopia (blue-blind)
#63282A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5a310f;
/* rgb */ color: rgb(90, 49, 15);
/* oklch */ color: oklch(35.9% 0.075 56.3);
Tailwind
colors: {
  custom: {
    50: '#8d6950',
    500: '#5a310f',
    950: '#000000',
  },
}
SCSS
$custom: #5a310f;
$custom-light: #8d6950;
$custom-dark: #000000;
JSON
{
  "hex": "#5a310f",
  "rgb": {
    "r": 90,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 27.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.35897,
    "c": 0.07515,
    "h": 56.3
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#5A310F
secondary
#316794
accent
#9CEE3A
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5A310F

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

Preview Lab → · Contrast checker → · Palette generator →

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