#5F4012#5F4012

#5F4012 is a dark, moderate orange. Relative luminance 0.061; OKLCH L 39.8% C 0.074 H 72.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5F4012
RGBrgb(95, 64, 18)
HSLhsl(36, 68%, 22%)
HSVhsv(36, 81%, 37%)
CMYKcmyk(0%, 32.6%, 81.1%, 62.7%)
CIE-LABlab(29.77, 8.86, 31.98)
CIE-LCHlch(29.77, 33.19, 74.51°)
OKLaboklab(39.78% 0.0218 0.0704)
OKLCHoklch(39.78% 0.074 72.8)
XYZxyz(6.6624, 6.1439, 1.4072)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4012 #12315F
analogous
#5F1912 #5F4012 #585F12
triadic
#5F4012 #125F40 #40125F
tetradic
#5F4012 #125F19 #12315F #5F1258
square
#5F4012 #125F19 #12315F #5F1258
split-complementary
#5F4012 #12585F #19125F
monochromatic
#1A1105 #2C1D08 #5F4012 #92631C #C68525

Accessibility & contrast

On white

9.42
#5F4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5F4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4012
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4012#FFFFFF#000000##FFFFFF
##5F40121.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420B
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#683837
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5f4012;
/* rgb */ color: rgb(95, 64, 18);
/* oklch */ color: oklch(39.8% 0.074 72.8);
Tailwind
colors: {
  custom: {
    50: '#907453',
    500: '#5f4012',
    950: '#000000',
  },
}
SCSS
$custom: #5f4012;
$custom-light: #907453;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4012",
  "rgb": {
    "r": 95,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 35.844,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39784,
    "c": 0.07372,
    "h": 72.8
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#5F4012
secondary
#365D97
accent
#83EB3D
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5F4012

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

Preview Lab → · Contrast checker → · Palette generator →

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