#5F421C#5F421C

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

Color values

HEX#5F421C
RGBrgb(95, 66, 28)
HSLhsl(34, 54%, 24%)
HSVhsv(34, 71%, 37%)
CMYKcmyk(0%, 30.5%, 70.5%, 62.7%)
CIE-LABlab(30.43, 8.21, 27.52)
CIE-LCHlch(30.43, 28.72, 73.38°)
OKLaboklab(40.33% 0.0215 0.063)
OKLCHoklch(40.33% 0.067 71.2)
XYZxyz(6.8776, 6.4137, 1.9741)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F421C #1C395F
analogous
#5F211C #5F421C #5B5F1C
triadic
#5F421C #1C5F42 #421C5F
tetradic
#5F421C #1C5F21 #1C395F #5F1C5B
square
#5F421C #1C5F21 #1C395F #5F1C5B
split-complementary
#5F421C #1C5B5F #211C5F
monochromatic
#181007 #30210E #5F421C #8E632A #BE8438

Accessibility & contrast

On white

9.20
#5F421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F421C
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F421C#FFFFFF#000000##FFFFFF
##5F421C1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f421c;
/* rgb */ color: rgb(95, 66, 28);
/* oklch */ color: oklch(40.3% 0.067 71.2);
Tailwind
colors: {
  custom: {
    50: '#8f765a',
    500: '#5f421c',
    950: '#000000',
  },
}
SCSS
$custom: #5f421c;
$custom-light: #8f765a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f421c",
  "rgb": {
    "r": 95,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 34.03,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.06657,
    "h": 71.2
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#5F421C
secondary
#426694
accent
#8ADE4A
background
#F9F7F5
surface
#F1EDE9
border
#CBC8C5
text
#0D0804
muted
#7E7B79

Preview Lab

Preview with #5F421C

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

Preview Lab → · Contrast checker → · Palette generator →

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