#5F400D#5F400D

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

Color values

HEX#5F400D
RGBrgb(95, 64, 13)
HSLhsl(37, 76%, 21%)
HSVhsv(37, 86%, 37%)
CMYKcmyk(0%, 32.6%, 86.3%, 62.7%)
CIE-LABlab(29.74, 8.64, 34.17)
CIE-LCHlch(29.74, 35.24, 75.81°)
OKLaboklab(39.75% 0.0205 0.0738)
OKLCHoklch(39.75% 0.077 74.5)
XYZxyz(6.6259, 6.1293, 1.2148)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F400D #0D2C5F
analogous
#5F170D #5F400D #555F0D
triadic
#5F400D #0D5F40 #400D5F
tetradic
#5F400D #0D5F17 #0D2C5F #5F0D55
square
#5F400D #0D5F17 #0D2C5F #5F0D55
split-complementary
#5F400D #0D555F #170D5F
monochromatic
#1B1204 #291C06 #5F400D #956414 #CB891C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F400D#FFFFFF#000000##FFFFFF
##5F400D1.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)
#4B4204
Deuteranopia (green-blind)
#52490F
Tritanopia (blue-blind)
#683836
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5f400d;
/* rgb */ color: rgb(95, 64, 13);
/* oklch */ color: oklch(39.7% 0.077 74.5);
Tailwind
colors: {
  custom: {
    50: '#917450',
    500: '#5f400d',
    950: '#000000',
  },
}
SCSS
$custom: #5f400d;
$custom-light: #917450;
$custom-dark: #000000;
JSON
{
  "hex": "#5f400d",
  "rgb": {
    "r": 95,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 37.317,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.07658,
    "h": 74.5
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#5F400D
secondary
#2F5799
accent
#7DF335
background
#F9F7F4
surface
#F2EDE7
border
#CCC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5F400D

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

Preview Lab → · Contrast checker → · Palette generator →

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