#5F400E#5F400E

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

Color values

HEX#5F400E
RGBrgb(95, 64, 14)
HSLhsl(37, 74%, 21%)
HSVhsv(37, 85%, 37%)
CMYKcmyk(0%, 32.6%, 85.3%, 62.7%)
CIE-LABlab(29.74, 8.68, 33.75)
CIE-LCHlch(29.74, 34.85, 75.58°)
OKLaboklab(39.75% 0.0207 0.0732)
OKLCHoklch(39.75% 0.076 74.2)
XYZxyz(6.6325, 6.1320, 1.2497)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F400E #0E2D5F
analogous
#5F180E #5F400E #565F0E
triadic
#5F400E #0E5F40 #400E5F
tetradic
#5F400E #0E5F18 #0E2D5F #5F0E56
square
#5F400E #0E5F18 #0E2D5F #5F0E56
split-complementary
#5F400E #0E565F #180E5F
monochromatic
#1B1204 #2A1C06 #5F400E #946416 #CA881E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F400E#FFFFFF#000000##FFFFFF
##5F400E1.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)
#4B4206
Deuteranopia (green-blind)
#524910
Tritanopia (blue-blind)
#683836
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5f400e;
/* rgb */ color: rgb(95, 64, 14);
/* oklch */ color: oklch(39.8% 0.076 74.2);
Tailwind
colors: {
  custom: {
    50: '#907451',
    500: '#5f400e',
    950: '#000000',
  },
}
SCSS
$custom: #5f400e;
$custom-light: #907451;
$custom-dark: #000000;
JSON
{
  "hex": "#5f400e",
  "rgb": {
    "r": 95,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 37.037,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39752,
    "c": 0.07605,
    "h": 74.2
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#5F400E
secondary
#305899
accent
#7EF137
background
#F9F7F4
surface
#F2EDE7
border
#CCC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5F400E

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

Preview Lab → · Contrast checker → · Palette generator →

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