#5D420F#5D420F

#5D420F is a dark, moderate orange. Relative luminance 0.063; OKLCH L 39.9% C 0.074 H 78.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#5D420F
RGBrgb(93, 66, 15)
HSLhsl(39, 72%, 21%)
HSVhsv(39, 84%, 36%)
CMYKcmyk(0%, 29%, 83.9%, 63.5%)
CIE-LABlab(30.06, 6.47, 33.52)
CIE-LCHlch(30.06, 34.14, 79.08°)
OKLaboklab(39.94% 0.0146 0.0731)
OKLCHoklch(39.94% 0.075 78.7)
XYZxyz(6.5491, 6.2586, 1.3149)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D420F #0F2A5D
analogous
#5D1B0F #5D420F #515D0F
triadic
#5D420F #0F5D42 #420F5D
tetradic
#5D420F #0F5D1B #0F2A5D #5D0F51
square
#5D420F #0F5D1B #0F2A5D #5D0F51
split-complementary
#5D420F #0F515D #1B0F5D
monochromatic
#1A1304 #281D06 #5D420F #926717 #C68D20

Accessibility & contrast

On white

9.33
#5D420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5D420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D420F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D420F#FFFFFF#000000##FFFFFF
##5D420F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4307
Deuteranopia (green-blind)
#534911
Tritanopia (blue-blind)
#663A38
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5d420f;
/* rgb */ color: rgb(93, 66, 15);
/* oklch */ color: oklch(39.9% 0.074 78.7);
Tailwind
colors: {
  custom: {
    50: '#8f7652',
    500: '#5d420f',
    950: '#000000',
  },
}
SCSS
$custom: #5d420f;
$custom-light: #8f7652;
$custom-dark: #000000;
JSON
{
  "hex": "#5d420f",
  "rgb": {
    "r": 93,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 39.231,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39941,
    "c": 0.0745,
    "h": 78.7
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#5D420F
secondary
#315496
accent
#78EF39
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5D420F

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

Preview Lab → · Contrast checker → · Palette generator →

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