#5F4D13#5F4D13

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

Color values

HEX#5F4D13
RGBrgb(95, 77, 19)
HSLhsl(46, 67%, 22%)
HSVhsv(46, 80%, 37%)
CMYKcmyk(0%, 18.9%, 80%, 62.7%)
CIE-LABlab(33.54, 0.85, 35.18)
CIE-LCHlch(33.54, 35.19, 88.61°)
OKLaboklab(42.74% -0.0012 0.0775)
OKLCHoklch(42.74% 0.077 90.9)
XYZxyz(7.4912, 7.7881, 1.7247)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4D13 #13255F
analogous
#5F2713 #5F4D13 #4B5F13
triadic
#5F4D13 #135F4D #4D135F
tetradic
#5F4D13 #135F27 #13255F #5F134B
square
#5F4D13 #135F27 #13255F #5F134B
split-complementary
#5F4D13 #134B5F #27135F
monochromatic
#1A1505 #2C2409 #5F4D13 #92761D #C5A027

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F4D13#FFFFFF#000000##FFFFFF
##5F4D131.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)
#574C09
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#674642
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5f4d13;
/* rgb */ color: rgb(95, 77, 19);
/* oklch */ color: oklch(42.7% 0.077 90.9);
Tailwind
colors: {
  custom: {
    50: '#907e55',
    500: '#5f4d13',
    950: '#000000',
  },
}
SCSS
$custom: #5f4d13;
$custom-light: #907e55;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4d13",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 45.789,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.07748,
    "h": 90.9
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#5F4D13
secondary
#374E97
accent
#67EA3E
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4D13

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

Preview Lab → · Contrast checker → · Palette generator →

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