#5A2F14#5A2F14

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

Color values

HEX#5A2F14
RGBrgb(90, 47, 20)
HSLhsl(23, 64%, 22%)
HSVhsv(23, 78%, 35%)
CMYKcmyk(0%, 47.8%, 77.8%, 64.7%)
CIE-LABlab(24.51, 17.14, 25.31)
CIE-LCHlch(24.51, 30.57, 55.90°)
OKLaboklab(35.56% 0.0471 0.0569)
OKLCHoklch(35.56% 0.074 50.4)
XYZxyz(5.3597, 4.2578, 1.2013)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2F14 #143F5A
analogous
#5A141C #5A2F14 #5A5214
triadic
#5A2F14 #145A2F #2F145A
tetradic
#5A2F14 #1C5A14 #143F5A #52145A
square
#5A2F14 #1C5A14 #143F5A #52145A
split-complementary
#5A2F14 #145A52 #141C5A
monochromatic
#190D06 #281509 #5A2F14 #8C491F #BE632A

Accessibility & contrast

On white

11.34
#5A2F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A2F14
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2F14#FFFFFF#000000##FFFFFF
##5A2F141.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a2f14;
/* rgb */ color: rgb(90, 47, 20);
/* oklch */ color: oklch(35.6% 0.074 50.4);
Tailwind
colors: {
  custom: {
    50: '#8d6853',
    500: '#5a2f14',
    950: '#000000',
  },
}
SCSS
$custom: #5a2f14;
$custom-light: #8d6853;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2f14",
  "rgb": {
    "r": 90,
    "g": 47,
    "b": 20
  },
  "hsl": {
    "h": 23.143,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35557,
    "c": 0.07391,
    "h": 50.4
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#5A2F14
secondary
#386F92
accent
#A7E741
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5A2F14

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

Preview Lab → · Contrast checker → · Palette generator →

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