#5F420D#5F420D

#5F420D is a dark, moderate orange. Relative luminance 0.064; OKLCH L 40.2% C 0.077 H 77.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#5F420D
RGBrgb(95, 66, 13)
HSLhsl(39, 76%, 21%)
HSVhsv(39, 86%, 37%)
CMYKcmyk(0%, 30.5%, 86.3%, 62.7%)
CIE-LABlab(30.30, 7.39, 34.67)
CIE-LCHlch(30.30, 35.45, 77.97°)
OKLaboklab(40.18% 0.0169 0.0749)
OKLCHoklch(40.18% 0.077 77.3)
XYZxyz(6.7407, 6.3589, 1.2531)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F420D #0D2A5F
analogous
#5F190D #5F420D #535F0D
triadic
#5F420D #0D5F42 #420D5F
tetradic
#5F420D #0D5F19 #0D2A5F #5F0D53
square
#5F420D #0D5F19 #0D2A5F #5F0D53
split-complementary
#5F420D #0D535F #190D5F
monochromatic
#1B1304 #291D06 #5F420D #956714 #CB8D1C

Accessibility & contrast

On white

9.24
#5F420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5F420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F420D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F420D#FFFFFF#000000##FFFFFF
##5F420D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4304
Deuteranopia (green-blind)
#544A0F
Tritanopia (blue-blind)
#683A38
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5f420d;
/* rgb */ color: rgb(95, 66, 13);
/* oklch */ color: oklch(40.2% 0.077 77.3);
Tailwind
colors: {
  custom: {
    50: '#907651',
    500: '#5f420d',
    950: '#000000',
  },
}
SCSS
$custom: #5f420d;
$custom-light: #907651;
$custom-dark: #000000;
JSON
{
  "hex": "#5f420d",
  "rgb": {
    "r": 95,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 38.78,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40185,
    "c": 0.07677,
    "h": 77.3
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#5F420D
secondary
#2F5499
accent
#78F335
background
#F9F7F4
surface
#F2EDE7
border
#CCC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5F420D

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

Preview Lab → · Contrast checker → · Palette generator →

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