#5F4D15#5F4D15

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

Color values

HEX#5F4D15
RGBrgb(95, 77, 21)
HSLhsl(45, 64%, 23%)
HSVhsv(45, 78%, 37%)
CMYKcmyk(0%, 18.9%, 77.9%, 62.7%)
CIE-LABlab(33.55, 0.95, 34.31)
CIE-LCHlch(33.55, 34.33, 88.41°)
OKLaboklab(42.76% -0.0007 0.0761)
OKLCHoklch(42.76% 0.076 90.5)
XYZxyz(7.5090, 7.7953, 1.8185)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4D15 #15275F
analogous
#5F2815 #5F4D15 #4C5F15
triadic
#5F4D15 #155F4D #4D155F
tetradic
#5F4D15 #155F28 #15275F #5F154C
square
#5F4D15 #155F28 #15275F #5F154C
split-complementary
#5F4D15 #154C5F #28155F
monochromatic
#191406 #2D240A #5F4D15 #917620 #C39E2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F4D15#FFFFFF#000000##FFFFFF
##5F4D151.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)
#564C0D
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#674642
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5f4d15;
/* rgb */ color: rgb(95, 77, 21);
/* oklch */ color: oklch(42.8% 0.076 90.5);
Tailwind
colors: {
  custom: {
    50: '#8f7e56',
    500: '#5f4d15',
    950: '#000000',
  },
}
SCSS
$custom: #5f4d15;
$custom-light: #8f7e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4d15",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 45.405,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.07607,
    "h": 90.5
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#5F4D15
secondary
#3A5096
accent
#69E741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4D15

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

Preview Lab → · Contrast checker → · Palette generator →

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