#5F400C#5F400C

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

Color values

HEX#5F400C
RGBrgb(95, 64, 12)
HSLhsl(38, 78%, 21%)
HSVhsv(38, 87%, 37%)
CMYKcmyk(0%, 32.6%, 87.4%, 62.7%)
CIE-LABlab(29.73, 8.60, 34.56)
CIE-LCHlch(29.73, 35.62, 76.02°)
OKLaboklab(39.74% 0.0202 0.0744)
OKLCHoklch(39.74% 0.077 74.8)
XYZxyz(6.6196, 6.1268, 1.1817)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F400C #0C2B5F
analogous
#5F160C #5F400C #545F0C
triadic
#5F400C #0C5F40 #400C5F
tetradic
#5F400C #0C5F16 #0C2B5F #5F0C54
square
#5F400C #0C5F16 #0C2B5F #5F0C54
split-complementary
#5F400C #0C545F #160C5F
monochromatic
#1B1203 #291B05 #5F400C #956513 #CC891A

Accessibility & contrast

On white

9.44
#5F400C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F400C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F400C#FFFFFF#000000##FFFFFF
##5F400C1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4203
Deuteranopia (green-blind)
#52490E
Tritanopia (blue-blind)
#683836
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5f400c;
/* rgb */ color: rgb(95, 64, 12);
/* oklch */ color: oklch(39.7% 0.077 74.8);
Tailwind
colors: {
  custom: {
    50: '#917450',
    500: '#5f400c',
    950: '#000000',
  },
}
SCSS
$custom: #5f400c;
$custom-light: #917450;
$custom-dark: #000000;
JSON
{
  "hex": "#5f400c",
  "rgb": {
    "r": 95,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 37.59,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39738,
    "c": 0.07709,
    "h": 74.8
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#5F400C
secondary
#2D5699
accent
#7CF434
background
#F9F7F4
surface
#F2EDE7
border
#CCC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5F400C

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

Preview Lab → · Contrast checker → · Palette generator →

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