#5A2D18#5A2D18

#5A2D18 is a dark, moderate orange. Relative luminance 0.041; OKLCH L 35.2% C 0.074 H 44.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#5A2D18
RGBrgb(90, 45, 24)
HSLhsl(19, 58%, 22%)
HSVhsv(19, 73%, 35%)
CMYKcmyk(0%, 50%, 73.3%, 64.7%)
CIE-LABlab(24.05, 18.62, 22.45)
CIE-LCHlch(24.05, 29.16, 50.33°)
OKLaboklab(35.23% 0.0524 0.0516)
OKLCHoklch(35.23% 0.074 44.6)
XYZxyz(5.3202, 4.1170, 1.3785)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2D18 #18455A
analogous
#5A1824 #5A2D18 #5A4E18
triadic
#5A2D18 #185A2D #2D185A
tetradic
#5A2D18 #245A18 #18455A #4E185A
square
#5A2D18 #245A18 #18455A #4E185A
split-complementary
#5A2D18 #185A4E #18245A
monochromatic
#180C06 #2A150B #5A2D18 #8A4525 #BB5D32

Accessibility & contrast

On white

11.52
#5A2D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5A2D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2D18
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2D18#FFFFFF#000000##FFFFFF
##5A2D181.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393316
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#632428
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5a2d18;
/* rgb */ color: rgb(90, 45, 24);
/* oklch */ color: oklch(35.2% 0.074 44.6);
Tailwind
colors: {
  custom: {
    50: '#8d6655',
    500: '#5a2d18',
    950: '#000000',
  },
}
SCSS
$custom: #5a2d18;
$custom-light: #8d6655;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2d18",
  "rgb": {
    "r": 90,
    "g": 45,
    "b": 24
  },
  "hsl": {
    "h": 19.091,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.35226,
    "c": 0.07351,
    "h": 44.6
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#5A2D18
secondary
#3D7691
accent
#B0E147
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5A2D18

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

Preview Lab → · Contrast checker → · Palette generator →

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