#5A3A0F#5A3A0F

#5A3A0F is a dark, moderate orange. Relative luminance 0.052; OKLCH L 37.8% C 0.072 H 69.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#5A3A0F
RGBrgb(90, 58, 15)
HSLhsl(34, 71%, 21%)
HSVhsv(34, 83%, 35%)
CMYKcmyk(0%, 35.6%, 83.3%, 64.7%)
CIE-LABlab(27.39, 9.99, 30.86)
CIE-LCHlch(27.39, 32.44, 72.06°)
OKLaboklab(37.78% 0.025 0.0675)
OKLCHoklch(37.78% 0.072 69.7)
XYZxyz(5.8162, 5.2348, 1.1559)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3A0F #0F2F5A
analogous
#5A140F #5A3A0F #545A0F
triadic
#5A3A0F #0F5A3A #3A0F5A
tetradic
#5A3A0F #0F5A14 #0F2F5A #5A0F54
square
#5A3A0F #0F5A14 #0F2F5A #5A0F54
split-complementary
#5A3A0F #0F545A #140F5A
monochromatic
#1A1104 #261806 #5A3A0F #8E5C18 #C37E20

Accessibility & contrast

On white

10.26
#5A3A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5A3A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3A0F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3A0F#FFFFFF#000000##FFFFFF
##5A3A0F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C09
Deuteranopia (green-blind)
#4C4410
Tritanopia (blue-blind)
#633231
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5a3a0f;
/* rgb */ color: rgb(90, 58, 15);
/* oklch */ color: oklch(37.8% 0.072 69.7);
Tailwind
colors: {
  custom: {
    50: '#8d7051',
    500: '#5a3a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5a3a0f;
$custom-light: #8d7051;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3a0f",
  "rgb": {
    "r": 90,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 34.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.37775,
    "c": 0.07203,
    "h": 69.7
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#5A3A0F
secondary
#315B94
accent
#87EE3A
background
#F9F6F4
surface
#F1ECE7
border
#CBC7C3
text
#0D0702
muted
#7E7A78

Preview Lab

Preview with #5A3A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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