#5F420E#5F420E

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

Color values

HEX#5F420E
RGBrgb(95, 66, 14)
HSLhsl(39, 74%, 21%)
HSVhsv(39, 85%, 37%)
CMYKcmyk(0%, 30.5%, 85.3%, 62.7%)
CIE-LABlab(30.31, 7.43, 34.27)
CIE-LCHlch(30.31, 35.07, 77.77°)
OKLaboklab(40.19% 0.0171 0.0743)
OKLCHoklch(40.19% 0.076 77)
XYZxyz(6.7473, 6.3616, 1.2879)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F420E #0E2B5F
analogous
#5F1A0E #5F420E #545F0E
triadic
#5F420E #0E5F42 #420E5F
tetradic
#5F420E #0E5F1A #0E2B5F #5F0E54
square
#5F420E #0E5F1A #0E2B5F #5F0E54
split-complementary
#5F420E #0E545F #1A0E5F
monochromatic
#1B1304 #2A1D06 #5F420E #946716 #CA8C1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F420E#FFFFFF#000000##FFFFFF
##5F420E1.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)
#4D4305
Deuteranopia (green-blind)
#544A10
Tritanopia (blue-blind)
#683A38
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5f420e;
/* rgb */ color: rgb(95, 66, 14);
/* oklch */ color: oklch(40.2% 0.076 77.0);
Tailwind
colors: {
  custom: {
    50: '#907651',
    500: '#5f420e',
    950: '#000000',
  },
}
SCSS
$custom: #5f420e;
$custom-light: #907651;
$custom-dark: #000000;
JSON
{
  "hex": "#5f420e",
  "rgb": {
    "r": 95,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 38.519,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.07623,
    "h": 77
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#5F420E
secondary
#305699
accent
#79F137
background
#F9F7F4
surface
#F2EDE7
border
#CCC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5F420E

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

Preview Lab → · Contrast checker → · Palette generator →

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