#5F400F#5F400F

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

Color values

HEX#5F400F
RGBrgb(95, 64, 15)
HSLhsl(37, 73%, 22%)
HSVhsv(37, 84%, 37%)
CMYKcmyk(0%, 32.6%, 84.2%, 62.7%)
CIE-LABlab(29.75, 8.72, 33.33)
CIE-LCHlch(29.75, 34.45, 75.33°)
OKLaboklab(39.76% 0.021 0.0725)
OKLCHoklch(39.76% 0.076 73.9)
XYZxyz(6.6394, 6.1348, 1.2863)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F400F #0F2E5F
analogous
#5F180F #5F400F #565F0F
triadic
#5F400F #0F5F40 #400F5F
tetradic
#5F400F #0F5F18 #0F2E5F #5F0F56
square
#5F400F #0F5F18 #0F2E5F #5F0F56
split-complementary
#5F400F #0F565F #180F5F
monochromatic
#1A1204 #2A1C07 #5F400F #946417 #C98720

Accessibility & contrast

On white

9.43
#5F400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F400F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F400F#FFFFFF#000000##FFFFFF
##5F400F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4207
Deuteranopia (green-blind)
#524911
Tritanopia (blue-blind)
#683836
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5f400f;
/* rgb */ color: rgb(95, 64, 15);
/* oklch */ color: oklch(39.8% 0.075 73.9);
Tailwind
colors: {
  custom: {
    50: '#907452',
    500: '#5f400f',
    950: '#000000',
  },
}
SCSS
$custom: #5f400f;
$custom-light: #907452;
$custom-dark: #000000;
JSON
{
  "hex": "#5f400f",
  "rgb": {
    "r": 95,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 36.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.0755,
    "h": 73.9
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#5F400F
secondary
#325998
accent
#7FEF38
background
#F9F7F4
surface
#F2EDE7
border
#CCC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5F400F

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

Preview Lab → · Contrast checker → · Palette generator →

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