#5A2F13#5A2F13

#5A2F13 is a dark, moderate orange. Relative luminance 0.043; OKLCH L 35.5% C 0.074 H 51.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#5A2F13
RGBrgb(90, 47, 19)
HSLhsl(24, 65%, 21%)
HSVhsv(24, 79%, 35%)
CMYKcmyk(0%, 47.8%, 78.9%, 64.7%)
CIE-LABlab(24.49, 17.09, 25.87)
CIE-LCHlch(24.49, 31.00, 56.56°)
OKLaboklab(35.55% 0.0468 0.0579)
OKLCHoklch(35.55% 0.074 51.1)
XYZxyz(5.3510, 4.2543, 1.1553)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2F13 #133E5A
analogous
#5A131B #5A2F13 #5A5313
triadic
#5A2F13 #135A2F #2F135A
tetradic
#5A2F13 #1B5A13 #133E5A #53135A
square
#5A2F13 #1B5A13 #133E5A #53135A
split-complementary
#5A2F13 #135A53 #131B5A
monochromatic
#190D05 #271508 #5A2F13 #8D491E #BF6428

Accessibility & contrast

On white

11.35
#5A2F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5A2F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2F13
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2F13#FFFFFF#000000##FFFFFF
##5A2F131.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3410
Deuteranopia (green-blind)
#463E13
Tritanopia (blue-blind)
#632629
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5a2f13;
/* rgb */ color: rgb(90, 47, 19);
/* oklch */ color: oklch(35.5% 0.074 51.1);
Tailwind
colors: {
  custom: {
    50: '#8d6852',
    500: '#5a2f13',
    950: '#000000',
  },
}
SCSS
$custom: #5a2f13;
$custom-light: #8d6852;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2f13",
  "rgb": {
    "r": 90,
    "g": 47,
    "b": 19
  },
  "hsl": {
    "h": 23.662,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.35545,
    "c": 0.07443,
    "h": 51.1
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#5A2F13
secondary
#376E92
accent
#A6E840
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5A2F13

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

Preview Lab → · Contrast checker → · Palette generator →

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