#5A331E#5A331E

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

Color values

HEX#5A331E
RGBrgb(90, 51, 30)
HSLhsl(21, 50%, 24%)
HSVhsv(21, 67%, 35%)
CMYKcmyk(0%, 43.3%, 66.7%, 64.7%)
CIE-LABlab(25.67, 15.35, 20.65)
CIE-LCHlch(25.67, 25.73, 53.38°)
OKLaboklab(36.49% 0.0436 0.0486)
OKLCHoklch(36.49% 0.065 48.1)
XYZxyz(5.6350, 4.6356, 1.8260)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A331E #1E455A
analogous
#5A1E27 #5A331E #5A511E
triadic
#5A331E #1E5A33 #331E5A
tetradic
#5A331E #275A1E #1E455A #511E5A
square
#5A331E #275A1E #1E455A #511E5A
split-complementary
#5A331E #1E5A51 #1E275A
monochromatic
#170D08 #2C190F #5A331E #884D2D #B6673D

Accessibility & contrast

On white

10.90
#5A331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A331E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A331E#FFFFFF#000000##FFFFFF
##5A331E1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381C
Deuteranopia (green-blind)
#47401E
Tritanopia (blue-blind)
#632C2E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5a331e;
/* rgb */ color: rgb(90, 51, 30);
/* oklch */ color: oklch(36.5% 0.065 48.1);
Tailwind
colors: {
  custom: {
    50: '#8c6b5a',
    500: '#5a331e',
    950: '#000000',
  },
}
SCSS
$custom: #5a331e;
$custom-light: #8c6b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a331e",
  "rgb": {
    "r": 90,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 21,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.36495,
    "c": 0.0653,
    "h": 48.1
  },
  "luminance": 0.04635
}

Semantic roles & 50–950 ramp

primary
#5A331E
secondary
#45758F
accent
#A9DA4E
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0604
muted
#7D7A79

Preview Lab

Preview with #5A331E

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

Preview Lab → · Contrast checker → · Palette generator →

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