#5F4E1A#5F4E1A

#5F4E1A is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.0% C 0.073 H 90.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5F4E1A
RGBrgb(95, 78, 26)
HSLhsl(45, 57%, 24%)
HSVhsv(45, 73%, 37%)
CMYKcmyk(0%, 17.9%, 72.6%, 62.7%)
CIE-LABlab(33.89, 0.64, 32.29)
CIE-LCHlch(33.89, 32.30, 88.86°)
OKLaboklab(43.04% -0.0009 0.0728)
OKLCHoklch(43.04% 0.073 90.7)
XYZxyz(7.6306, 7.9567, 2.1110)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E1A #1A2B5F
analogous
#5F2B1A #5F4E1A #4D5F1A
triadic
#5F4E1A #1A5F4E #4E1A5F
tetradic
#5F4E1A #1A5F2B #1A2B5F #5F1A4D
square
#5F4E1A #1A5F2B #1A2B5F #5F1A4D
split-complementary
#5F4E1A #1A4D5F #2B1A5F
monochromatic
#181407 #2F270D #5F4E1A #8F7527 #BF9D34

Accessibility & contrast

On white

8.10
#5F4E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F4E1A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4E1A#FFFFFF#000000##FFFFFF
##5F4E1A1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f4e1a;
/* rgb */ color: rgb(95, 78, 26);
/* oklch */ color: oklch(43.0% 0.073 90.7);
Tailwind
colors: {
  custom: {
    50: '#8f7f59',
    500: '#5f4e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e1a;
$custom-light: #8f7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e1a",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 45.217,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43039,
    "c": 0.07283,
    "h": 90.7
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#5F4E1A
secondary
#405595
accent
#6DE048
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #5F4E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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