#5A340F#5A340F

#5A340F is a dark, moderate orange. Relative luminance 0.047; OKLCH L 36.5% C 0.074 H 60.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#5A340F
RGBrgb(90, 52, 15)
HSLhsl(30, 71%, 21%)
HSVhsv(30, 83%, 35%)
CMYKcmyk(0%, 42.2%, 83.3%, 64.7%)
CIE-LABlab(25.76, 13.77, 29.28)
CIE-LCHlch(25.76, 32.35, 64.81°)
OKLaboklab(36.51% 0.0362 0.0642)
OKLCHoklch(36.51% 0.074 60.6)
XYZxyz(5.5311, 4.6647, 1.0609)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A340F #0F355A
analogous
#5A0F0F #5A340F #5A590F
triadic
#5A340F #0F5A34 #340F5A
tetradic
#5A340F #0F5A0F #0F355A #590F5A
square
#5A340F #0F5A0F #0F355A #590F5A
split-complementary
#5A340F #0F5A59 #0F0F5A
monochromatic
#1A0F04 #261606 #5A340F #8E5218 #C37120

Accessibility & contrast

On white

10.87
#5A340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5A340F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A340F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A340F#FFFFFF#000000##FFFFFF
##5A340F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380A
Deuteranopia (green-blind)
#49400F
Tritanopia (blue-blind)
#632B2C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5a340f;
/* rgb */ color: rgb(90, 52, 15);
/* oklch */ color: oklch(36.5% 0.074 60.6);
Tailwind
colors: {
  custom: {
    50: '#8d6b50',
    500: '#5a340f',
    950: '#000000',
  },
}
SCSS
$custom: #5a340f;
$custom-light: #8d6b50;
$custom-dark: #000000;
JSON
{
  "hex": "#5a340f",
  "rgb": {
    "r": 90,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 29.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.36506,
    "c": 0.07365,
    "h": 60.6
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#5A340F
secondary
#316394
accent
#95EE3A
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5A340F

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

Preview Lab → · Contrast checker → · Palette generator →

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