#5F4018#5F4018

#5F4018 is a dark, moderate orange. Relative luminance 0.062; OKLCH L 39.8% C 0.070 H 70.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#5F4018
RGBrgb(95, 64, 24)
HSLhsl(34, 60%, 23%)
HSVhsv(34, 75%, 37%)
CMYKcmyk(0%, 32.6%, 74.7%, 62.7%)
CIE-LABlab(29.83, 9.20, 29.02)
CIE-LCHlch(29.83, 30.44, 72.42°)
OKLaboklab(39.85% 0.0237 0.0655)
OKLCHoklch(39.85% 0.07 70.1)
XYZxyz(6.7180, 6.1662, 1.7004)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4018 #18375F
analogous
#5F1C18 #5F4018 #5A5F18
triadic
#5F4018 #185F40 #40185F
tetradic
#5F4018 #185F1C #18375F #5F185A
square
#5F4018 #185F1C #18375F #5F185A
split-complementary
#5F4018 #185A5F #1C185F
monochromatic
#181006 #2E1F0C #5F4018 #906124 #C18231

Accessibility & contrast

On white

9.40
#5F4018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F4018
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4018#FFFFFF#000000##FFFFFF
##5F40181.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f4018;
/* rgb */ color: rgb(95, 64, 24);
/* oklch */ color: oklch(39.8% 0.070 70.1);
Tailwind
colors: {
  custom: {
    50: '#907457',
    500: '#5f4018',
    950: '#000000',
  },
}
SCSS
$custom: #5f4018;
$custom-light: #907457;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4018",
  "rgb": {
    "r": 95,
    "g": 64,
    "b": 24
  },
  "hsl": {
    "h": 33.803,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.06964,
    "h": 70.1
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#5F4018
secondary
#3D6495
accent
#8AE345
background
#F9F7F5
surface
#F1EDE9
border
#CBC8C5
text
#0D0803
muted
#7E7B78

Preview Lab

Preview with #5F4018

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

Preview Lab → · Contrast checker → · Palette generator →

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