#5F4E16#5F4E16

#5F4E16 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 43.0% C 0.076 H 91.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#5F4E16
RGBrgb(95, 78, 22)
HSLhsl(46, 62%, 23%)
HSVhsv(46, 77%, 37%)
CMYKcmyk(0%, 17.9%, 76.8%, 62.7%)
CIE-LABlab(33.86, 0.40, 34.16)
CIE-LCHlch(33.86, 34.16, 89.33°)
OKLaboklab(43% -0.0021 0.076)
OKLCHoklch(43% 0.076 91.6)
XYZxyz(7.5889, 7.9401, 1.8918)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E16 #16275F
analogous
#5F2916 #5F4E16 #4B5F16
triadic
#5F4E16 #165F4E #4E165F
tetradic
#5F4E16 #165F29 #16275F #5F164B
square
#5F4E16 #165F29 #16275F #5F164B
split-complementary
#5F4E16 #164B5F #29165F
monochromatic
#191406 #2D250A #5F4E16 #917722 #C2A02D

Accessibility & contrast

On white

8.11
#5F4E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5F4E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4E16
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4E16#FFFFFF#000000##FFFFFF
##5F4E161.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0E
Deuteranopia (green-blind)
#5B5219
Tritanopia (blue-blind)
#674743
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5f4e16;
/* rgb */ color: rgb(95, 78, 22);
/* oklch */ color: oklch(43.0% 0.076 91.6);
Tailwind
colors: {
  custom: {
    50: '#8f7f57',
    500: '#5f4e16',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e16;
$custom-light: #8f7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e16",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 46.027,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43,
    "c": 0.076,
    "h": 91.6
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#5F4E16
secondary
#3B5096
accent
#68E542
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F4E16

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

Preview Lab → · Contrast checker → · Palette generator →

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