#5F4E15#5F4E15

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

Color values

HEX#5F4E15
RGBrgb(95, 78, 21)
HSLhsl(46, 64%, 23%)
HSVhsv(46, 78%, 37%)
CMYKcmyk(0%, 17.9%, 77.9%, 62.7%)
CIE-LABlab(33.85, 0.34, 34.61)
CIE-LCHlch(33.85, 34.61, 89.43°)
OKLaboklab(42.99% -0.0024 0.0767)
OKLCHoklch(42.99% 0.077 91.8)
XYZxyz(7.5795, 7.9363, 1.8420)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E15 #15265F
analogous
#5F2915 #5F4E15 #4B5F15
triadic
#5F4E15 #155F4E #4E155F
tetradic
#5F4E15 #155F29 #15265F #5F154B
square
#5F4E15 #155F29 #15265F #5F154B
split-complementary
#5F4E15 #154B5F #29155F
monochromatic
#191506 #2D250A #5F4E15 #917720 #C3A02B

Accessibility & contrast

On white

8.12
#5F4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F4E15
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4E15#FFFFFF#000000##FFFFFF
##5F4E151.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f4e15;
/* rgb */ color: rgb(95, 78, 21);
/* oklch */ color: oklch(43.0% 0.077 91.8);
Tailwind
colors: {
  custom: {
    50: '#8f7f57',
    500: '#5f4e15',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e15;
$custom-light: #8f7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e15",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 46.216,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.07673,
    "h": 91.8
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#5F4E15
secondary
#3A4F96
accent
#67E741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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