#5F421F#5F421F

#5F421F is a dark, moderate orange. Relative luminance 0.064; OKLCH L 40.4% C 0.064 H 69.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#5F421F
RGBrgb(95, 66, 31)
HSLhsl(33, 51%, 25%)
HSVhsv(33, 67%, 37%)
CMYKcmyk(0%, 30.5%, 67.4%, 62.7%)
CIE-LABlab(30.47, 8.43, 25.87)
CIE-LCHlch(30.47, 27.21, 71.94°)
OKLaboklab(40.37% 0.0226 0.06)
OKLCHoklch(40.37% 0.064 69.4)
XYZxyz(6.9153, 6.4288, 2.1727)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F421F #1F3C5F
analogous
#5F221F #5F421F #5C5F1F
triadic
#5F421F #1F5F42 #421F5F
tetradic
#5F421F #1F5F22 #1F3C5F #5F1F5C
square
#5F421F #1F5F22 #1F3C5F #5F1F5C
split-complementary
#5F421F #1F5C5F #221F5F
monochromatic
#171008 #312210 #5F421F #8D622E #BB823D

Accessibility & contrast

On white

9.19
#5F421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5F421F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F421F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F421F#FFFFFF#000000##FFFFFF
##5F421F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441C
Deuteranopia (green-blind)
#534A20
Tritanopia (blue-blind)
#683B3A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5f421f;
/* rgb */ color: rgb(95, 66, 31);
/* oklch */ color: oklch(40.4% 0.064 69.4);
Tailwind
colors: {
  custom: {
    50: '#8f765c',
    500: '#5f421f',
    950: '#000000',
  },
}
SCSS
$custom: #5f421f;
$custom-light: #8f765c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f421f",
  "rgb": {
    "r": 95,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 32.813,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.40371,
    "c": 0.0641,
    "h": 69.4
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#5F421F
secondary
#466994
accent
#8DDA4E
background
#F9F7F5
surface
#F1EDE9
border
#CBC8C5
text
#0D0804
muted
#7E7B79

Preview Lab

Preview with #5F421F

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

Preview Lab → · Contrast checker → · Palette generator →

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