#5A2F19#5A2F19

#5A2F19 is a dark, moderate orange. Relative luminance 0.043; OKLCH L 35.6% C 0.071 H 46.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#5A2F19
RGBrgb(90, 47, 25)
HSLhsl(20, 57%, 23%)
HSVhsv(20, 72%, 35%)
CMYKcmyk(0%, 47.8%, 72.2%, 64.7%)
CIE-LABlab(24.57, 17.46, 22.43)
CIE-LCHlch(24.57, 28.42, 52.10°)
OKLaboklab(35.63% 0.049 0.0517)
OKLCHoklch(35.63% 0.071 46.5)
XYZxyz(5.4089, 4.2775, 1.4603)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2F19 #19445A
analogous
#5A1923 #5A2F19 #5A5019
triadic
#5A2F19 #195A2F #2F195A
tetradic
#5A2F19 #235A19 #19445A #50195A
square
#5A2F19 #235A19 #19445A #50195A
split-complementary
#5A2F19 #195A50 #19235A
monochromatic
#180D07 #2A160C #5A2F19 #8A4826 #BA6134

Accessibility & contrast

On white

11.32
#5A2F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5A2F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2F19
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2F19#FFFFFF#000000##FFFFFF
##5A2F191.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3517
Deuteranopia (green-blind)
#453E19
Tritanopia (blue-blind)
#63272A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5a2f19;
/* rgb */ color: rgb(90, 47, 25);
/* oklch */ color: oklch(35.6% 0.071 46.5);
Tailwind
colors: {
  custom: {
    50: '#8d6856',
    500: '#5a2f19',
    950: '#000000',
  },
}
SCSS
$custom: #5a2f19;
$custom-light: #8d6856;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2f19",
  "rgb": {
    "r": 90,
    "g": 47,
    "b": 25
  },
  "hsl": {
    "h": 20.308,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.35625,
    "c": 0.07128,
    "h": 46.5
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#5A2F19
secondary
#3E7590
accent
#ACE048
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0603
muted
#7E7A78

Preview Lab

Preview with #5A2F19

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

Preview Lab → · Contrast checker → · Palette generator →

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