#5B420F#5B420F

#5B420F is a dark, moderate orange. Relative luminance 0.062; OKLCH L 39.7% C 0.073 H 80.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#5B420F
RGBrgb(91, 66, 15)
HSLhsl(40, 72%, 21%)
HSVhsv(40, 84%, 36%)
CMYKcmyk(0%, 27.5%, 83.5%, 64.3%)
CIE-LABlab(29.80, 5.46, 33.19)
CIE-LCHlch(29.80, 33.64, 80.67°)
OKLaboklab(39.68% 0.0118 0.0725)
OKLCHoklch(39.68% 0.073 80.8)
XYZxyz(6.3493, 6.1556, 1.3056)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B420F #0F285B
analogous
#5B1C0F #5B420F #4E5B0F
triadic
#5B420F #0F5B42 #420F5B
tetradic
#5B420F #0F5B1C #0F285B #5B0F4E
square
#5B420F #0F5B1C #0F285B #5B0F4E
split-complementary
#5B420F #0F4E5B #1C0F5B
monochromatic
#1A1304 #261C06 #5B420F #906818 #C48E20

Accessibility & contrast

On white

9.41
#5B420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5B420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B420F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B420F#FFFFFF#000000##FFFFFF
##5B420F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4207
Deuteranopia (green-blind)
#524911
Tritanopia (blue-blind)
#643B38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5b420f;
/* rgb */ color: rgb(91, 66, 15);
/* oklch */ color: oklch(39.7% 0.073 80.8);
Tailwind
colors: {
  custom: {
    50: '#8d7652',
    500: '#5b420f',
    950: '#000000',
  },
}
SCSS
$custom: #5b420f;
$custom-light: #8d7652;
$custom-dark: #000000;
JSON
{
  "hex": "#5b420f",
  "rgb": {
    "r": 91,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 40.263,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39685,
    "c": 0.07343,
    "h": 80.8
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

primary
#5B420F
secondary
#315295
accent
#75EE39
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5B420F

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

Preview Lab → · Contrast checker → · Palette generator →

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