#5F421A#5F421A

#5F421A is a dark, moderate orange. Relative luminance 0.064; OKLCH L 40.3% C 0.068 H 72.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#5F421A
RGBrgb(95, 66, 26)
HSLhsl(35, 57%, 24%)
HSVhsv(35, 73%, 37%)
CMYKcmyk(0%, 30.5%, 72.6%, 62.7%)
CIE-LABlab(30.41, 8.07, 28.58)
CIE-LCHlch(30.41, 29.70, 74.23°)
OKLaboklab(40.31% 0.0207 0.0649)
OKLCHoklch(40.31% 0.068 72.3)
XYZxyz(6.8544, 6.4045, 1.8523)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F421A #1A375F
analogous
#5F1F1A #5F421A #595F1A
triadic
#5F421A #1A5F42 #421A5F
tetradic
#5F421A #1A5F1F #1A375F #5F1A59
square
#5F421A #1A5F1F #1A375F #5F1A59
split-complementary
#5F421A #1A595F #1F1A5F
monochromatic
#181107 #2F210D #5F421A #8F6327 #BF8534

Accessibility & contrast

On white

9.21
#5F421A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5F421A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F421A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F421A#FFFFFF#000000##FFFFFF
##5F421A1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4416
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#683B39
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5f421a;
/* rgb */ color: rgb(95, 66, 26);
/* oklch */ color: oklch(40.3% 0.068 72.3);
Tailwind
colors: {
  custom: {
    50: '#907658',
    500: '#5f421a',
    950: '#000000',
  },
}
SCSS
$custom: #5f421a;
$custom-light: #907658;
$custom-dark: #000000;
JSON
{
  "hex": "#5f421a",
  "rgb": {
    "r": 95,
    "g": 66,
    "b": 26
  },
  "hsl": {
    "h": 34.783,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.06816,
    "h": 72.3
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#5F421A
secondary
#406495
accent
#88E048
background
#F9F7F5
surface
#F1EDE9
border
#CBC8C5
text
#0D0803
muted
#7E7B78

Preview Lab

Preview with #5F421A

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

Preview Lab → · Contrast checker → · Palette generator →

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