#5F4F13#5F4F13

#5F4F13 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.2% C 0.079 H 93.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5F4F13
RGBrgb(95, 79, 19)
HSLhsl(47, 67%, 22%)
HSVhsv(47, 80%, 37%)
CMYKcmyk(0%, 16.8%, 80%, 62.7%)
CIE-LABlab(34.13, -0.37, 35.75)
CIE-LCHlch(34.13, 35.75, 90.59°)
OKLaboklab(43.21% -0.0047 0.0787)
OKLCHoklch(43.21% 0.079 93.4)
XYZxyz(7.6333, 8.0723, 1.7720)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4F13 #13235F
analogous
#5F2913 #5F4F13 #495F13
triadic
#5F4F13 #135F4F #4F135F
tetradic
#5F4F13 #135F29 #13235F #5F1349
square
#5F4F13 #135F29 #13235F #5F1349
split-complementary
#5F4F13 #13495F #29135F
monochromatic
#1A1505 #2C2509 #5F4F13 #92791D #C5A427

Accessibility & contrast

On white

8.03
#5F4F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5F4F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4F13
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4F13#FFFFFF#000000##FFFFFF
##5F4F131.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E09
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#674843
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5f4f13;
/* rgb */ color: rgb(95, 79, 19);
/* oklch */ color: oklch(43.2% 0.079 93.4);
Tailwind
colors: {
  custom: {
    50: '#8f8056',
    500: '#5f4f13',
    950: '#000000',
  },
}
SCSS
$custom: #5f4f13;
$custom-light: #8f8056;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4f13",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 47.368,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4321,
    "c": 0.07882,
    "h": 93.4
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#5F4F13
secondary
#374B97
accent
#62EA3E
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F4F13

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

Preview Lab → · Contrast checker → · Palette generator →

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