#5F420C#5F420C

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

Color values

HEX#5F420C
RGBrgb(95, 66, 12)
HSLhsl(39, 78%, 21%)
HSVhsv(39, 87%, 37%)
CMYKcmyk(0%, 30.5%, 87.4%, 62.7%)
CIE-LABlab(30.29, 7.35, 35.06)
CIE-LCHlch(30.29, 35.83, 78.16°)
OKLaboklab(40.18% 0.0166 0.0755)
OKLCHoklch(40.18% 0.077 77.6)
XYZxyz(6.7344, 6.3564, 1.2200)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F420C #0C295F
analogous
#5F180C #5F420C #525F0C
triadic
#5F420C #0C5F42 #420C5F
tetradic
#5F420C #0C5F18 #0C295F #5F0C52
square
#5F420C #0C5F18 #0C295F #5F0C52
split-complementary
#5F420C #0C525F #180C5F
monochromatic
#1B1303 #291C05 #5F420C #956813 #CC8D1A

Accessibility & contrast

On white

9.25
#5F420C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F420C
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F420C#FFFFFF#000000##FFFFFF
##5F420C1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4303
Deuteranopia (green-blind)
#544A0E
Tritanopia (blue-blind)
#683A38
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5f420c;
/* rgb */ color: rgb(95, 66, 12);
/* oklch */ color: oklch(40.2% 0.077 77.6);
Tailwind
colors: {
  custom: {
    50: '#907650',
    500: '#5f420c',
    950: '#000000',
  },
}
SCSS
$custom: #5f420c;
$custom-light: #907650;
$custom-dark: #000000;
JSON
{
  "hex": "#5f420c",
  "rgb": {
    "r": 95,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 39.036,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40179,
    "c": 0.07729,
    "h": 77.6
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#5F420C
secondary
#2D5399
accent
#77F434
background
#F9F7F4
surface
#F2EDE7
border
#CCC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5F420C

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

Preview Lab → · Contrast checker → · Palette generator →

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