#5F4D14#5F4D14

#5F4D14 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.7% C 0.077 H 90.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5F4D14
RGBrgb(95, 77, 20)
HSLhsl(46, 65%, 23%)
HSVhsv(46, 79%, 37%)
CMYKcmyk(0%, 18.9%, 78.9%, 62.7%)
CIE-LABlab(33.55, 0.90, 34.75)
CIE-LCHlch(33.55, 34.76, 88.51°)
OKLaboklab(42.75% -0.001 0.0768)
OKLCHoklch(42.75% 0.077 90.7)
XYZxyz(7.4999, 7.7916, 1.7706)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4D14 #14265F
analogous
#5F2814 #5F4D14 #4B5F14
triadic
#5F4D14 #145F4D #4D145F
tetradic
#5F4D14 #145F28 #14265F #5F144B
square
#5F4D14 #145F28 #14265F #5F144B
split-complementary
#5F4D14 #144B5F #28145F
monochromatic
#191405 #2C2409 #5F4D14 #92761F #C49F29

Accessibility & contrast

On white

8.21
#5F4D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5F4D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4D14
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4D14#FFFFFF#000000##FFFFFF
##5F4D141.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0B
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#674642
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5f4d14;
/* rgb */ color: rgb(95, 77, 20);
/* oklch */ color: oklch(42.7% 0.077 90.7);
Tailwind
colors: {
  custom: {
    50: '#8f7e56',
    500: '#5f4d14',
    950: '#000000',
  },
}
SCSS
$custom: #5f4d14;
$custom-light: #8f7e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4d14",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 45.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.07679,
    "h": 90.7
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#5F4D14
secondary
#384F97
accent
#68E840
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4D14

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

Preview Lab → · Contrast checker → · Palette generator →

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