#5F420F#5F420F

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

Color values

HEX#5F420F
RGBrgb(95, 66, 15)
HSLhsl(38, 73%, 22%)
HSVhsv(38, 84%, 37%)
CMYKcmyk(0%, 30.5%, 84.2%, 62.7%)
CIE-LABlab(30.31, 7.47, 33.85)
CIE-LCHlch(30.31, 34.67, 77.55°)
OKLaboklab(40.2% 0.0173 0.0736)
OKLCHoklch(40.2% 0.076 76.8)
XYZxyz(6.7542, 6.3644, 1.3246)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F420F #0F2C5F
analogous
#5F1A0F #5F420F #545F0F
triadic
#5F420F #0F5F42 #420F5F
tetradic
#5F420F #0F5F1A #0F2C5F #5F0F54
square
#5F420F #0F5F1A #0F2C5F #5F0F54
split-complementary
#5F420F #0F545F #1A0F5F
monochromatic
#1A1204 #2A1D07 #5F420F #946717 #C98B20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F420F#FFFFFF#000000##FFFFFF
##5F420F1.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)
#4D4306
Deuteranopia (green-blind)
#544A11
Tritanopia (blue-blind)
#683A38
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5f420f;
/* rgb */ color: rgb(95, 66, 15);
/* oklch */ color: oklch(40.2% 0.076 76.8);
Tailwind
colors: {
  custom: {
    50: '#907652',
    500: '#5f420f',
    950: '#000000',
  },
}
SCSS
$custom: #5f420f;
$custom-light: #907652;
$custom-dark: #000000;
JSON
{
  "hex": "#5f420f",
  "rgb": {
    "r": 95,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 38.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.402,
    "c": 0.07566,
    "h": 76.8
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#5F420F
secondary
#325798
accent
#7BEF38
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5F420F

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

Preview Lab → · Contrast checker → · Palette generator →

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