#5A331A#5A331A

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

Color values

HEX#5A331A
RGBrgb(90, 51, 26)
HSLhsl(23, 55%, 23%)
HSVhsv(23, 71%, 35%)
CMYKcmyk(0%, 43.3%, 71.1%, 64.7%)
CIE-LABlab(25.61, 15.05, 23.03)
CIE-LCHlch(25.61, 27.51, 56.84°)
OKLaboklab(36.43% 0.0419 0.0532)
OKLCHoklch(36.43% 0.068 51.8)
XYZxyz(5.5872, 4.6165, 1.5739)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A331A #1A415A
analogous
#5A1A21 #5A331A #5A531A
triadic
#5A331A #1A5A33 #331A5A
tetradic
#5A331A #215A1A #1A415A #531A5A
square
#5A331A #215A1A #1A415A #531A5A
split-complementary
#5A331A #1A5A53 #1A215A
monochromatic
#180D07 #2B180C #5A331A #894E28 #B96935

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A331A#FFFFFF#000000##FFFFFF
##5A331A1.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)
#3E3718
Deuteranopia (green-blind)
#47401A
Tritanopia (blue-blind)
#632B2D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5a331a;
/* rgb */ color: rgb(90, 51, 26);
/* oklch */ color: oklch(36.4% 0.068 51.8);
Tailwind
colors: {
  custom: {
    50: '#8c6b57',
    500: '#5a331a',
    950: '#000000',
  },
}
SCSS
$custom: #5a331a;
$custom-light: #8c6b57;
$custom-dark: #000000;
JSON
{
  "hex": "#5a331a",
  "rgb": {
    "r": 90,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 23.438,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.36433,
    "c": 0.06774,
    "h": 51.8
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#5A331A
secondary
#407190
accent
#A4DF49
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0D0603
muted
#7D7A78

Preview Lab

Preview with #5A331A

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

Preview Lab → · Contrast checker → · Palette generator →

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